My manifest:
<activity android:label="@string/app_name" android:name="MainUI"
android:screenOrientation="landscape"
                        android:configChanges="orientation|keyboardHidden"
android:launchMode="singleTask">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category
android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
</activity>

<activity android:label="@string/settings_label"
android:name=".view.Settings"  android:screenOrientation="landscape"
                android:configChanges="orientation|keyboardHidden">
</activity>

I launch my app through program' icon, and then I open settings
activity(startActivityForResult(intent, SETTINGS);). At this time I
press Home key and re-launch my app through program's icon, the
settings activity will run OnDestroy() and settings activity is
closed. Why the settings is destroyed and how can I make the settings
activity still exist when users come back.

Thanks for your help.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to