On Fri, Jul 1, 2011 at 12:14 AM, nageswara rao rajana
nagu.raj...@gmail.com wrote:
In application i have 4 activities, and also exit in my menu option if
i click exit in any activity it is destroying the current activity
and displaying the previous activity. But my requirement is if
Hi,
In application i have 4 activities, and also exit in my menu option if
i click exit in any activity it is destroying the current activity
and displaying the previous activity. But my requirement is if i click
exit in activity the application should be killed and should
display
**try this one
Intent intent = new Intent(Intent.ACTION_MAIN);
intent.addCategory(Intent.CATEGORY_HOME);
intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
startActivity(intent);
On Fri, Jul 1, 2011 at 9:44 AM, nageswara rao rajana
nagu.raj...@gmail.comwrote:
Hi,
In application i have 4
Hi vijay,
If i use this code will all activities will destroy in my application
or they will run inbackground.
Intent intent = new Intent(Intent.ACTION_MAIN);
intent.addCategory(Intent.CATEGORY_HOME);
intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
startActivity(intent);
4 matches
Mail list logo