Saturday, June 29, 2013

[android-developers] Re: Home button not working as it is supposed to.

Remove  android:noHistory="true" see:
http://developer.android.com/guide/topics/manifest/activity-element.html#nohist

My emphasis below

android:noHistory
Whether or not the activity should be removed from the activity stack and finished (its finish()method called) when the user navigates away from it and it's no longer visible on screen — "true" if it should be finished, and "false" if not. The default value is "false".

A value of "true" means that the activity will not leave a historical trace. It will not remain in the activity stack for the task, so the user will not be able to return to it.


On Saturday, June 29, 2013 8:57:46 AM UTC+1, vani wrote:

Hi All,

When i touch the Home button and open my app , my app doesn't open  the screen where it closed.How to get this ?

For all the actiivties I have given   android:noHistory="true"

and HomeScreen to be   android:noHistory="true"   android:launchMode="singleTask"

in the manifest.
--
Regards,
Vani Reddy

--
--
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+unsubscribe@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 unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate