Crosswalk Intel XDK experiences

Discussion and feedback on Construct 2

Post » Wed Jun 11, 2014 9:02 am

rekjl wrote:@guangzhen, That's weird. I don't think it has to do with my image specifically, because even if I use the default splashscreen image, it also happens. So far, I've tested on a HTC One and Sony Z1 and they both have the same issues. I also notice earlier that there are other members beside me who are facing this same problem. For your information, it was built using the stable built. I will try it with the beta build and report if the issue still persist.


@Mayfly @rekjl
About the black screen issue after splash screen.
I have a patch to fix it, but confirmed with Cordova upstream, they think it's work as design, and won't fix this issue: they prefer to let splash screen stay longer and cover the black screen.

If you can download command line tools of crosswalk-cordova-android from our Crosswalk website, you can change the config.xml file to make the timeout value of splash screen more longer and use splashscreen.hide() to hide the splash screen manually when you receive 'device ready' event.
B
2
Posts: 9
Reputation: 168

Post » Wed Jun 11, 2014 9:25 am

Kronar wrote:Hello hmin,

I am using the latest XDK compiler BETA Crosswalk 6.35.131.6 on Cordova 3.4.0 and the latest Construct 2. When running the APK on an Alcatel Fierce One phone I get a crash. The crash happens when the game tries to play any sound effect. Streaming music works fine on this phone but as soon as any sound effect plays the game crashes and exits immediately. If I do not play sound effects the games runs fine. The exact same build runs perfectly fine on a Samsung Galaxy 4 and plays sound effects fine.

I do not have an extensive Android handset collection on hand but this crash worries me as to how many other phones this will be a problem with. Do you guys run unit tests on many handsets with XDK/Crosswalk?


I think it is a bug in the native audio library installed on your device, since the audio in web depends on the capability of the hosting device. You can try to load your app in Chrome for Android, and see if it also crashes.
B
4
S
1
Posts: 35
Reputation: 416

Post » Wed Jun 11, 2014 9:48 am

Regarding XDK Crosswalk, which works really well in my experience. I'm looking into a game which needs a lot of music - up to 2 hours. This is way beyond the 50mb apk limit.

Can XDK Crosswalk include or reference apk expansion files yet, or will it in the future? Or can C2 load music assets from a web address? Any advice much appreciated.
B
7
S
1
Posts: 20
Reputation: 509

Post » Wed Jun 11, 2014 2:25 pm

@guangzhen thanks for that. That sounds like a reasonable solution. Any news on the half black and half white screen when we change the phone's orientation during the splashscreen being displayed? I think that is a more obvious worry.
B
46
S
23
G
31
Posts: 693
Reputation: 20,637

Post » Thu Jun 12, 2014 3:06 am

@rekjl I have a patch about orientation related issue on splash screen, but has not been integrated into XDK yet. it needs some days for XDK to integrate.

Would you please try below solution firstly:
There is a ```intel.xdk.device.hideSplashScreen()``` method called in ```onDeviceReady``` listener by default.
Would you please remove this function and have a try?

Do you have the black screen issue when you use 'Android' not 'Crosswalk for Android' build?
Last edited by guangzhen on Fri Jun 13, 2014 2:41 am, edited 1 time in total.
B
2
Posts: 9
Reputation: 168

Post » Thu Jun 12, 2014 4:54 pm

Hello hmin,

I tried running my build in Chrome for Android on the same device and the same thing happens, it crashes when playing a sound effect.

* Does this mean that any device with any audio driver issues will crash when trying to play any sound effect?

* Is there any work around to this problem?
B
5
S
1
Posts: 24
Reputation: 423

Post » Fri Jun 13, 2014 5:41 am

@guangzhen, thanks, it is good to know that the issue is being looked and and going to be updated soon.

It might take a while before I am able to test the solution and the "Android" option right now, as my computer had some problems and is now being fixed. Will try it out once I can. Thanks again!
B
46
S
23
G
31
Posts: 693
Reputation: 20,637

Post » Sat Jun 14, 2014 7:00 am

@hmin
hi
can you give me a date so i understand when can i use disable webgl blacklist with an option in program? IntelRobert says it come in jun. its 2 weak in jun.
i am waiting forever!
i think you added this feature and it just remain a check box in program!!! how hard is that?!
thank you and all intel team.
B
13
S
3
Posts: 22
Reputation: 953

Post » Mon Jun 16, 2014 1:03 pm

@hmin

We have been waiting for a few months to release our game until it has support for ad options for crosswalk. If we use the ad wrapper method below, it requires us to re-sign the APK after putting it through the wrapper. If we went with this method, would we be able to switch to the crosswalk native ads when they come out? https://www.scirra.com/tutorials/891/ho ... astcomment

Also, how to I put both x86 version and ARM on google play?
B
35
S
5
Posts: 411
Reputation: 3,406

Post » Tue Jun 17, 2014 7:57 am

@Kronar, sorry for late reply.
Kronar wrote:* Does this mean that any device with any audio driver issues will crash when trying to play any sound effect?

Yes, if the sound effect exactly triggers the driver bug.

Kronar wrote:* Is there any work around to this problem?

Since it is a hardware issue, the only workaround is not to use that sound effect.
B
4
S
1
Posts: 35
Reputation: 416

PreviousNext

Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 9 guests