[android-developers] Re: How to go to Home screen..?
@Abhilash, Are you able to come up with some solution ?? I am somewhat in same scenario looking for help @all, If any one has came across the same problem and successfully implemnted the solution. Please share. Thanks. On Dec 27 2010, 12:27 pm, Abhilash baddam abhilash.androiddevelo...@gmail.com wrote: Hi pent, Still i am getting the same problem even i have modified in manifest file with android:finishOnTaskLaunch=true under each activity..But not not working.. actually initially my application has SplashScreen..the app started from where it was terminated..it's not starting from splashscreen.. On Fri, Dec 24, 2010 at 5:54 PM, Pent tas...@dinglisch.net wrote: Means I have to change in manifest file ? i have to add android:finishOnTaskLaunch=true in manifest file? if u dont mind can u explain me clearly Yes, under each activity that you want to behave like that. Pent -- 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.comandroid-developers%2Bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en- Hide quoted text - - Show quoted text - -- 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
Re: [android-developers] Re: How to go to Home screen..?
Hi pent, Still i am getting the same problem even i have modified in manifest file with android:finishOnTaskLaunch=true under each activity..But not not working.. actually initially my application has SplashScreen..the app started from where it was terminated..it's not starting from splashscreen.. On Fri, Dec 24, 2010 at 5:54 PM, Pent tas...@dinglisch.net wrote: Means I have to change in manifest file ? i have to add android:finishOnTaskLaunch=true in manifest file? if u dont mind can u explain me clearly Yes, under each activity that you want to behave like that. Pent -- 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.comandroid-developers%2bunsubscr...@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: How to go to Home screen..?
Intent homeIntent = new Intent( Intent.ACTION_MAIN ); homeIntent.addCategory( Intent.CATEGORY_HOME ); Pent On Dec 24, 7:51 am, Abhilash baddam abhilash.androiddevelo...@gmail.com wrote: Hi friends, When the user clicks on a button, I want to navigate the screen into Home Screen. How can we achieve this. Regards, Abhilash -- 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
Re: [android-developers] Re: How to go to Home screen..?
Thanks Pent, It's working fine. Thanks a lot. On Fri, Dec 24, 2010 at 2:32 PM, Pent tas...@dinglisch.net wrote: Intent homeIntent = new Intent( Intent.ACTION_MAIN ); homeIntent.addCategory( Intent.CATEGORY_HOME ); Pent On Dec 24, 7:51 am, Abhilash baddam abhilash.androiddevelo...@gmail.com wrote: Hi friends, When the user clicks on a button, I want to navigate the screen into Home Screen. How can we achieve this. Regards, Abhilash -- 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.comandroid-developers%2bunsubscr...@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
Re: [android-developers] Re: How to go to Home screen..?
Hi pent, I am getting problem while using that. My problem is suppose i have 3 activities in my application.. for example i am in second activity in that activity i have one button when the user clicks on that activity i used ur code what u have sent. then the user is going to home screen upto now it's working fine. But when again i run this application it's starts from that second activity where i terminated application to home screen. What may be the problem. Regards, Abhilash On Fri, Dec 24, 2010 at 2:42 PM, Abhilash baddam abhilash.androiddevelo...@gmail.com wrote: Thanks Pent, It's working fine. Thanks a lot. On Fri, Dec 24, 2010 at 2:32 PM, Pent tas...@dinglisch.net wrote: Intent homeIntent = new Intent( Intent.ACTION_MAIN ); homeIntent.addCategory( Intent.CATEGORY_HOME ); Pent On Dec 24, 7:51 am, Abhilash baddam abhilash.androiddevelo...@gmail.com wrote: Hi friends, When the user clicks on a button, I want to navigate the screen into Home Screen. How can we achieve this. Regards, Abhilash -- 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.comandroid-developers%2bunsubscr...@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: How to go to Home screen..?
That's the normal behaviour when you press the home key. To change it, you need to look at the flags set in your manifest for your various activities: http://developer.android.com/guide/topics/manifest/activity-element.html And possibly the flags you set when you launch those activities: http://developer.android.com/reference/android/content/Intent.html I can't give you specific instructions because I always end up fiddling for ages to get the right combination myself :-) Pent -- 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
Re: [android-developers] Re: How to go to Home screen..?
Any help On Fri, Dec 24, 2010 at 3:48 PM, Pent tas...@dinglisch.net wrote: That's the normal behaviour when you press the home key. To change it, you need to look at the flags set in your manifest for your various activities: http://developer.android.com/guide/topics/manifest/activity-element.html And possibly the flags you set when you launch those activities: http://developer.android.com/reference/android/content/Intent.html I can't give you specific instructions because I always end up fiddling for ages to get the right combination myself :-) Pent -- 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.comandroid-developers%2bunsubscr...@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: How to go to Home screen..?
Well this one seems promising: android:finishOnTaskLaunch Whether or not an existing instance of the activity should be shut down (finished) whenever the user again launches its task (chooses the task on the home screen) — true if it should be shut down, and false if not. The default value is false. ... Pent -- 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
Re: [android-developers] Re: How to go to Home screen..?
Means I have to change in manifest file ? i have to add android:finishOnTaskLaunch=true in manifest file? if u dont mind can u explain me clearly On Fri, Dec 24, 2010 at 4:10 PM, Pent tas...@dinglisch.net wrote: Well this one seems promising: android:finishOnTaskLaunch Whether or not an existing instance of the activity should be shut down (finished) whenever the user again launches its task (chooses the task on the home screen) — true if it should be shut down, and false if not. The default value is false. ... Pent -- 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.comandroid-developers%2bunsubscr...@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: How to go to Home screen..?
Means I have to change in manifest file ? i have to add android:finishOnTaskLaunch=true in manifest file? if u dont mind can u explain me clearly Yes, under each activity that you want to behave like that. Pent -- 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