I had a rejection from Amazon appstore stating the following:
“Your application attempts to call an Android Activity lifecycle method on a background thread. Amazon DRM does not allow developers to invoke Android Activity lifecycle methods on background thread. For more information on processes and threads, please visit: http://developer.android.com/guide/topics/fundamentals/processes-and-threads.html Additionally, the Android UI toolkit is not thread-safe. So, you must not manipulate your UI from a worker thread ? you must do all manipulation to your user interface from the UI thread. There are two rules to Android’s single thread model: * Do not block the UI thread * Do not access the Android UI toolkit from outside the UI thread”
After a few emails back and forth, I found out the application force closes when I call Director’s “changeScene” function. I was not able simulate this error. It happens when Amazon tries to bundle their DRM code on top of my compiled apk file. The last email I got was “Your application attempts to call an Android Activity lifecycle method on a background thread” which causes force close.
Did anyone see this before? I know there are Corona apps in Amazon store. Did you one use Director class in those apps? I am not 100% sure that it is caused by changeScene function, but based on what Amazon folks says seems to be that function call might be causing this. [import]uid: 19297 topic_id: 9981 reply_id: 309981[/import]