Titanium Mobile
  1. Titanium Mobile
  2. TIMOB-7293

Android: App Freeze after being too much time in the background

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: High High
    • Resolution: Duplicate
    • Affects Version/s: Release 1.7.5, Release 1.8.0.1
    • Fix Version/s: None
    • Component/s: Android
    • Labels:
      None
    • Environment:

      Studio 1.0.7.201112281340,
      Mobile 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).

      Description

      PROBLEM DESCRIPTION

      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 keyDispatchingTimedOut
      

      MORE INFO

      Customer tried this, without any success:

      <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>
      
      1. stacktrace.txt
        6 kB
        Mauro Parra-Miranda

        Issue Links

          Activity

            People

            • Assignee:
              Bill Dawson
              Reporter:
              Mauro Parra-Miranda
            • Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development