Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-8786] Android: application crash on rotation

GitHub Issuen/a
TypeBug
PriorityLow
StatusClosed
ResolutionCannot Reproduce
Resolution Date2013-03-19T10:09:40.000+0000
Affected Version/sRelease 2.1.0
Fix Version/sRelease 3.0.2
ComponentsAndroid
Labelscore
ReporterMax Stepanov
Assigneejithinpv
Created2012-04-18T15:20:00.000+0000
Updated2017-03-17T18:40:00.000+0000

Description

Default app with default tiapp.xml with some activity additions crashes on device rotation. Added android manifest section:
	<android xmlns:android="http://schemas.android.com/apk/res/android">
		<manifest>
			<application>
				<activity
				android:name="org.appcelerator.titanium.TiActivity"
				android:configChanges="keyboardHidden|orientation"
				android:screenOrientation="landscape" />
				<activity android:name="ti.modules.titanium.ui.TiTabActivity"
				android:configChanges="keyboardHidden"
				/>
			</application>
		</manifest>
	</android>
There is no crash if ** is removed. Full code is attached.

Attachments

FileDateSize
app.js2012-04-18T15:25:29.000+00001164
tiapp.xml2012-04-18T15:25:29.000+00001986

Comments

  1. jithinpv 2013-03-19

    Issue does not reproduces Tested with Titanium Studio, build: 3.0.1.201212181159 Titanium SDK version: 3.1.0 (03/11/13 15:43 0c88429) Titanium SDK version: 3.0.2 (02/07/13 16:46 a4def81) Device: Samsung galaxy s duos Android version: 4.0.4 jithinpv
  2. Lee Morris 2017-03-17

    Closing ticket as the issue cannot be reproduced.

JSON Source