[Plugin] Cordova PowerManagement

Post your completed addons to share with the community

Post » Sat May 28, 2016 12:37 pm

With my new plugin for Construct 2 you can access to power management options of the device. See the instructions and a demo in the video.

Actions:
Image

Condition:
Image

Demo Video: https://www.youtube.com/watch?v=T50Ys27ifDI

Blog with download links: http://hermitsdevelopment.blogspot.com. ... rdova.html
Last edited by Josek5494 on Sat May 28, 2016 2:31 pm, edited 1 time in total.
B
19
S
6
G
2
Posts: 256
Reputation: 2,640

Post » Sat May 28, 2016 2:20 pm

@Josek5494 - Can you explain the uses of the three actions?
Image



The Things you can create is only limited by your imagination. If you don't have the skills then use your motivation as a natural force to exceed all expectations. Chadori RebornXD
B
55
S
17
G
90
Posts: 1,112
Reputation: 59,151

Post » Sat May 28, 2016 2:30 pm

chadorireborn wrote:@Josek5494 - Can you explain the uses of the three actions?


Set full wake-lock doesn't let the screen be blocked or dimmed.

Set partial wake-lock let the screen be dimmed to save batery, but not blocked.

Release wake-lock sets the power options to default (the screen can be blocked or dimmed again)
B
19
S
6
G
2
Posts: 256
Reputation: 2,640

Post » Sat May 28, 2016 2:38 pm

@josek5494 - Seems similar to the IntelXDK plugin "Insomia" I used or am I just using the wrong plugin.
Image



The Things you can create is only limited by your imagination. If you don't have the skills then use your motivation as a natural force to exceed all expectations. Chadori RebornXD
B
55
S
17
G
90
Posts: 1,112
Reputation: 59,151

Post » Sat May 28, 2016 2:45 pm

chadorireborn wrote:@josek5494 - Seems similar to the IntelXDK plugin "Insomia" I used or am I just using the wrong plugin.


Yeep, exactly, same functionality. But mine has the partial wake-lock, which i dont know if insomnia's plugin has it.
B
19
S
6
G
2
Posts: 256
Reputation: 2,640

Post » Sat May 28, 2016 3:03 pm

@Josek5494 - Your's seems better, the insomia just keeps the screen awake. I hope you don't mind me using this :D
Image



The Things you can create is only limited by your imagination. If you don't have the skills then use your motivation as a natural force to exceed all expectations. Chadori RebornXD
B
55
S
17
G
90
Posts: 1,112
Reputation: 59,151

Post » Sat May 28, 2016 3:11 pm

chadorireborn wrote:@Josek5494 - Your's seems better, the insomia just keeps the screen awake. I hope you don't mind me using this :D


Nice :D
B
19
S
6
G
2
Posts: 256
Reputation: 2,640

Post » Sat May 28, 2016 5:57 pm

Josek5494 Thank you so much
B
245
S
39
G
15
Posts: 1,946
Reputation: 40,276

Post » Mon Jul 04, 2016 6:19 pm

Lordshiva1948 wrote:Josek5494 Thank you so much


Your welcome sir!
B
19
S
6
G
2
Posts: 256
Reputation: 2,640


Return to Completed Addons

Who is online

Users browsing this forum: No registered users and 2 guests