Game won't run on Nabi DreamTab, Corona Labs can you help?

When launching the game on a Nabi DreamTab the game crashes.

Here is the log, ANY clue what is wrong?

03-01 19:34:05.635: A/libc(5631): Fatal signal 11 (SIGSEGV) at 0x00000000 (code=1), thread 5648 (Thread-310)

03-01 19:34:06.065: E/Corkscrew(166): get_old_register_value: can’t read from 0x4

03-01 19:34:06.075: E/Corkscrew(166): get_old_register_value: can’t read from 0x4

03-01 19:34:06.255: E/JavaBinder(502): !!! FAILED BINDER TRANSACTION !!!

03-01 19:34:06.255: E/JavaBinder(502): !!! FAILED BINDER TRANSACTION !!!

03-01 19:34:06.265: E/InputDispatcher(502): channel ‘42857cb0 org.dk.efpx/com.ansca.corona.CoronaActivity (server)’ ~ Channel is unrecoverably broken and will be disposed!

Thank you!

Hi @ubj3d.android,

Can we start by asking you to test one of the sample projects on the DreamTab, i.e. our basic “Hello World” project? Please report back what happens and if you get the same error.

Thanks,

Brent

Hi Brent,

thank you for the fast response. Unfortunately, we can’t test it because we don’t own an DreamTab.

The error we got is from the Nabi testing Team.

Regards,

Damir

Hi Damir,

We don’t officially support Nabi devices as they use an Android OS fork that is doing something unusual on app startup/exit. However, other Corona developers have found that the following solution works-around the Nabi tablet crash:

[lua]

local function onKeyReceived(event)

   if event.phase == “down” and event.keyName == “back” then

      system.request(“suspendApplication”)

   end

end

Runtime:addEventListener(“key”, onKeyReceived)

[/lua]

What developers have discovered is that the first launch of their apps work, but the 2nd time you launch the app causes it to crash. The above code causes the app to suspend itself instead of exiting when the back key is pressed. Hopefully this solves your issue.

Take care,

Brent

Hi @ubj3d.android,

Can we start by asking you to test one of the sample projects on the DreamTab, i.e. our basic “Hello World” project? Please report back what happens and if you get the same error.

Thanks,

Brent

Hi Brent,

thank you for the fast response. Unfortunately, we can’t test it because we don’t own an DreamTab.

The error we got is from the Nabi testing Team.

Regards,

Damir

Hi Damir,

We don’t officially support Nabi devices as they use an Android OS fork that is doing something unusual on app startup/exit. However, other Corona developers have found that the following solution works-around the Nabi tablet crash:

[lua]

local function onKeyReceived(event)

   if event.phase == “down” and event.keyName == “back” then

      system.request(“suspendApplication”)

   end

end

Runtime:addEventListener(“key”, onKeyReceived)

[/lua]

What developers have discovered is that the first launch of their apps work, but the 2nd time you launch the app causes it to crash. The above code causes the app to suspend itself instead of exiting when the back key is pressed. Hopefully this solves your issue.

Take care,

Brent