Hope someone can help me out here. I am working on some apps that all have the same problem: blank (black in my case) screen after being to long in the background. App then freezes and the generated report says:
ANR keyDispatchingTimedOut in TiTabActivity Freeze Activity appname.android.app/ti.modules.titanium.ui.TiTabActivity Cause ANR keyDispatchingTimedOutAlso tried adapting my tiapp.xml, without any luck, looks like this:
<android xmlns:android="http://schemas.android.com/apk/res/android"> <tool-api-level>8</tool-api-level> <manifest android:installLocation="auto" android:versionCode="2" android:versionName="1.1"> <uses-sdk android:minSdkVersion="7" /> <supports-screens android:anyDensity="true" android:largeScreens="true" android:normalScreens="true" android:smallScreens="true"/> <application> <activity android:alwaysRetainTaskState="true" android:configChanges="keyboardHidden|orientation" android:label="Applabel" android:name=".ApplabelActivity" android:theme="@style/Theme.Titanium"> <intent-filter> <action android:name="android.intent.action.MAIN"/> <category android:name="android.intent.category.LAUNCHER"/> </intent-filter> </activity> </application> </manifest> </android>Using Studio 1.0.7.201112281340, SDK 1.8.0.1, deploying on Android 4.0/4.0.3
Also tried latest builds/Android 2.2.3 and older builds (1.7.6). Problem's still there.
Link from the Android market stacktrace: http://pastebin.com/mBPCNuTC
Thanks in advance!
2 Answers
Note: I just tried a complete new build with Android 2.X, but same problem. Same **** black screen followed by an ativity error. I am getting frustrated after working on this for weeks and this bug doesn't seem to get away.
hope you can help!
Anyone?
Your Answer
Think you can help? Login to answer this question!