Software Archive
Read-only legacy content
17061 Discussions

App fail when running in Crosswalk

Claude_N_
Beginner
594 Views

Using Intel XDK 1912

My app runs fine in desktop browser (HTML5 3d game)

App runs fine in Emulate mode

App runs fine (although very slow) in Debug

App runs fine (still slow) in Profile

Built Crosswalk for Android.

Downloaded zip, uploaded ARM to my server, downloaded and installed using Firefox on Samsung Galaxy 4 Tablet.

Installs fine

But when I run the app there is nothing showing on the canvas.

My buttons (css/html) show. But nothing on canvas.

Am I missing a checkbox to include webgl? Or ????

0 Kudos
9 Replies
Swati_S_Intel1
Employee
594 Views

Which version of Crosswalk are you using? On which Android version? Are you using any library for 3D or plain HTML5 3D?

Please send us a simplified version of your project so we can debug.

Swati

0 Kudos
Claude_N_
Beginner
594 Views

Hello, thanks for the reply.

I was using Crosswalk 10. Android version 4.4.2

We use webgl but all of the other code is our own javascript. Not using any libraries.

I would be grateful to send you a version for debugging. If all goes well, I can send that prior to leaving for a 7 day leave. What is your preferred method of delivery of the project?

Regards,

 

0 Kudos
Swati_S_Intel1
Employee
594 Views

You can send your project zip through Private Message.

 

0 Kudos
Claude_N_
Beginner
594 Views

Sent a project zip through private message a week ago.

Wondering if you have received it?

Should I send another? Or, use a different method?

Thanks

0 Kudos
Claude_N_
Beginner
594 Views

This is still very much a problem for us.

It seems like this is an issue in the build. The fact that the crosswalk debug works a-okay makes me wonder if there is a glitch in the build. I've messaged a zip of the project (cut down in size for simplicity.)

Was hoping for an answer, or acknowledgement that the zip file made it through the digital aethers.

I very much appreciate the help. Forgive the impatience.

 

0 Kudos
Swati_S_Intel1
Employee
594 Views

Hello Caude,

Sorry for the delay. I'm looking into your app now. Will get back to you soon.

Swati

0 Kudos
Swati_S_Intel1
Employee
594 Views

Hello Claude,

I looked at your code. Few things : 1) your deviceready function has wait loop. It might be causing the blank screen 

2) Have you tried your canvas initialization code by itself? did it work on device? 

Right now my android device is acting up on me so I'm not able to test on it. Please try the ThreeJSWebGL app from our demos and samples and see if WebGL works on your device. Once I get hold of good android device to test on I'll get back to you.

Swati

0 Kudos
Claude_N_
Beginner
594 Views

Hello Swati,

Thanks for getting back to me.

The code as sent to you works just fine in XDK in emulate tab.

The code works just fine on the device using the Debug tab.

Works just fine on the device using the Profile tab.

The only time the code does not work is when I do a build, download, then install on the device.

I will try the ThreeJSWebGL app and see what happens.

Just so you know, it is only the Build process that is giving problems. The Profile and Debug work great. Seems to me that the Profile and/or Debug tabs should be mimicing something close to the behavior of the Build.

Thanks for looking at it.

 

0 Kudos
Claude_N_
Beginner
594 Views

Any progress on looking into the project file as sent?

 

0 Kudos
Reply