I had a from Amazon appstore stating the following:
Dear XXXX,
Your recent of XXXXXX is due to the following reason(s):
Your application attempts to call an Android Activity method on a background
thread. Amazon DRM does not allow developers to Android Activity lifecycle methods
on background thread.
For more information on processes and threads, please visit:
http://developer.android.com/guide/topics//processes-and-threads.html
Additionally, the Android UI is not thread-safe. So, you must not your UI
from a worker thread — you must do all to your user 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 Steps to Reproduce:
1) application, press 01
2) Observe force close
Please correct the issue(s) we found with your app submission so we may continue working
to get it in the Appstore.
Need help, Please!
@dualface,
Can you submit a bug report with more information about the problem including the build number and if you know what steps lead up to the problem? Was it a "back button" issue? It would be nice to know how Amazon came to the conclusion that it was on the wrong thread. It would also be helpful to have the code that caused the problem.
When you file the bug, put "(Tom)" in the title.
Thanks,
Tom
Thanks :)
We have two problems:
1. Amazon DRM is not compatible with Corona app. maybe Amazon DRM is a wrapper for .apk.
2. Application force closes upon attempting to play the first level.
Steps to Reproduce: 1. Launch application, press 01, 2. Observe force close.
Test OS/Device(s): 2.2/Droid Incredible.
This version build with Corona 2011.528. We test in MOTO Defy, all is fine.
-------
After two days, I resubmit my app without Amazon DRM. Problem 2 still occurs.
-------
Now, we build and submit my app with Corona 2011.484.
I built with 319 and use amazon DRM. No problems here.