I don`t press Back, i press "Big button" :) http://i39.tinypic.com/jsj3x1.png
his called finish() ?

I use this sample 
http://www.droidnova.com/how-to-create-a-splash-screen,561.html
first start run SplashScreen then MyApp, if i hide\show app i see how
run only MyApp.


i have this is my AndroidManifest.xml

        <activity android:name=".SplashScreen"
                  android:label="@string/app_name">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category
android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>
        <activity android:name=".MyActivity"
android:configChanges="orientation|locale|fontScale|keyboard|
keyboardHidden">
            <intent-filter>
                <action android:name="ru.systtech.mobile.MyActivity" /
>
                <category
android:name="android.intent.category.DEFAULT" />
            </intent-filter>
        </activity>

Upon completion of the SplashScreen his call finish()
but if i hide\show app i se how restart all Activity. This happens
spontaneously? Or is there a pattern ?

On Oct 27, 9:20 pm, TreKing <treking...@gmail.com> wrote:
> On Wed, Oct 26, 2011 at 10:41 AM, ecspertiza <ecspert...@gmail.com> wrote:
> > Why activity restart ?
>
> You pressed Back, called finish(), or the system killed your Activity.
>
> > How to do hide\show  without restart ?
>
> This will happen automatically, if possible.
>
> --------------------------------------------------------------------------- 
> ----------------------
> TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
> transit tracking app for Android-powered devices

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

Reply via email to