[android-developers] Re: Android installer strange issue

2011-09-01 Thread Sudha
What I understood from your reply is that
if you press OPEN new instaces of teh appln willbe getting created
and if you press DONE and then start the app from menu , the appln
should resume ?

-- 
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


رد: [android-developers] Re: Android installer strange issue

2011-09-01 Thread kaka050099
خ
Sent from my BlackBerry® wireless device from STC

-Original Message-
From: rich friedel rich.frie...@gmail.com
Sender: android-developers@googlegroups.com
Date: Wed, 31 Aug 2011 21:56:43 
To: android-developers@googlegroups.com
Reply-To: android-developers@googlegroups.com
Subject: [android-developers] Re: Android installer strange issue

It is per design. You should call finish() on your activity in your 
onDestroy() method.

Again, I highly recommend you familiarize yourself with the Activity class 
and its lifecycle. 
http://developer.android.com/reference/android/app/Activity.html

-- 
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

-- 
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

[android-developers] Re: Android installer strange issue

2011-09-01 Thread Sudha
Then eventually the progam will crash

On Sep 1, 11:28 am, Sudha sudha...@gmail.com wrote:
 What I understood from your reply is that
 if you press OPEN new instaces of teh appln willbe getting created
 and if you press DONE and then start the app from menu , the appln
 should resume ?

-- 
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


[android-developers] Re: Android installer strange issue

2011-08-31 Thread rich friedel
That is how it is designed to work.

Read up on the Activity Lifecycle 
http://developer.android.com/reference/android/app/Activity.html#ActivityLifecycle

-- 
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

[android-developers] Re: Android installer strange issue

2011-08-31 Thread Sudha
But,
When you install and press done instead of open
and repeat this testing, the activity will resume form the place you
pressed menu button.
only when you press open and repeat it wont resume,it will restart.

So its not as per design I guess.else teh application should have
behaved the same way in both the scenarios.

-- 
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


[android-developers] Re: Android installer strange issue

2011-08-31 Thread rich friedel
It is per design. You should call finish() on your activity in your 
onDestroy() method.

Again, I highly recommend you familiarize yourself with the Activity class 
and its lifecycle. 
http://developer.android.com/reference/android/app/Activity.html

-- 
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