Crosswalk Intel XDK experiences

Discussion and feedback on Construct 2

Post » Tue Oct 14, 2014 12:27 pm

I might be wrong, but I think this prevents sleep, but not dimming. If you explain what you need then @cranberrygame might be able to add that capability.


FredQ wrote:
Shuher wrote:hello there :) is there any way to keep device from dimming the screen? in my app users won't tapping the screen very often


Try this:

Phonegap Powermanagement: prevent or allow device from sleeping.
[android, ios] [phonegap build service] [phonegap cli] [crosswalk]
buy $3, delivery takes < 24 hours

https://www.scirra.com/forum/plugin-phonegap-related-c2-plugins-crosswalk_t109586
Intel Corporation
B
15
S
3
Posts: 193
Reputation: 1,552

Post » Tue Oct 14, 2014 12:35 pm

We are hashing out how to use twitter to announce build system updates. XDK has a twitter feed in top right so it will be there, but we will make sure you can use your own twitter client.

Scofano wrote:I´m waiting for the XAS solution too.

@IntelRobert is there any newsletter I could Sign up to know about this update as soon as it is available?
Intel Corporation
B
15
S
3
Posts: 193
Reputation: 1,552

Post » Tue Oct 14, 2014 12:55 pm

IntelRobert wrote:I might be wrong, but I think this prevents sleep, but not dimming. If you explain what you need then @cranberrygame might be able to add that capability.

prevent from sleeping is exactly what i need :)
B
6
S
1
Posts: 53
Reputation: 506

Post » Tue Oct 14, 2014 2:10 pm

@IntelRobert
@Shuher

Suggest missing feature, I'll do my best.

Thanks
Construct2 Cordova Plugins (currently 87 plugins): https://www.scirra.com/store/construct2 ... ugins-1662

Construct2 Prototype Capx (currently 50 capx): https://www.scirra.com/store/games-with ... -capx-3088

Home page: http://cranberrygame.com
B
65
S
22
G
81
Posts: 782
Reputation: 46,635

Post » Tue Oct 14, 2014 6:31 pm

If you don't mind writing a couple lines of javascript, then xdk provides an API for preventing sleep:
https://software.intel.com/en-us/node/493027

In the plugins settings, you have to select the device plugin. It's in the list on the right hand side, under 'featured & custom codova plugins.' There is also a plugin called device on the left hand side, that's not the one you want.

The plugin from @cranberrygame will save you some time since you don't have to write the JS. Either way should work.

@cranberrygame: I thought @shuher was saying he doesn't want to screen to sleep or dim when there is no input. I found a plugin on github that prevents dimming, but it hasn't been touched for > 1 year so I don't know if it works with latest cordova. I am not sure how many c2 users would want it.

Shuher wrote:
IntelRobert wrote:I might be wrong, but I think this prevents sleep, but not dimming. If you explain what you need then @cranberrygame might be able to add that capability.

prevent from sleeping is exactly what i need :)
Intel Corporation
B
15
S
3
Posts: 193
Reputation: 1,552

Post » Tue Oct 14, 2014 6:49 pm

Nothing new for google play plugin ???.
i wait to put in my crosswalk games.
B
60
S
17
G
10
Posts: 158
Reputation: 22,418

Post » Tue Oct 14, 2014 8:01 pm

@IntelRobert
@Shuher

Powermanagement plugin full wake lock for the app which runs for a long time without user interaction.

Thanks
Last edited by cranberrygame on Tue Oct 14, 2014 8:25 pm, edited 1 time in total.
Construct2 Cordova Plugins (currently 87 plugins): https://www.scirra.com/store/construct2 ... ugins-1662

Construct2 Prototype Capx (currently 50 capx): https://www.scirra.com/store/games-with ... -capx-3088

Home page: http://cranberrygame.com
B
65
S
22
G
81
Posts: 782
Reputation: 46,635

Post » Tue Oct 14, 2014 9:11 pm

cranberrygame wrote:@IntelRobert
@Shuher

Powermanagement plugin full wake lock for the app which runs for a long time without user interaction.

Thanks


i will try. :)
Thanks @cranberrygame
B
60
S
17
G
10
Posts: 158
Reputation: 22,418

Post » Wed Oct 15, 2014 12:30 am

@intelrobert

this was kind of touched up on, but I did not find the answer...how can we make sure we are using cordova >3.5 when exporting for android with crosswalk?

I selected cordova 3.5.1 under settings, but on export saw no indication of what version was used. upon uploading, google still said I was using a compromised version
B
48
S
22
G
12
Posts: 618
Reputation: 11,215

Post » Wed Oct 15, 2014 3:23 am

@intelrobert, when crosswalk finished completed update to Cordova 3.5.1 ?
B
3
Posts: 4
Reputation: 183

PreviousNext

Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 34 guests