Re: [android-developers] put application in background run
On Friday, March 2, 2012 4:35:37 AM UTC-5, Jagruti Sangani wrote: hello but i had never use the service and also i want to comeback on front the application when call will come in my application. The part that can be in front is an Activity. The part that keeps working even when hidden is a Service. The part you see in the status bar is a Notification. Your application will apparently need all three. Build the API demos from the SDK samples (in eclipse, do new project, create from sample), try it, and examine the code - this will show you how you can use a lot of different android mechanisms. -- 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] put application in background run
hello but i had never use the service and also i want to comeback on front the application when call will come in my application. If you have code then please tell me how get in front. On Fri, Mar 2, 2012 at 11:46 AM, abhijeet tomar abhijeet...@gmail.comwrote: Hi Jagruti, I think you should make Service for thatbecause services runs in background. -- 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] put application in background run
hello, I want the application will go in background in run mode when i will press the home or back button.And when i want to come in front then it will come in front.like when incoming call then application run background but the call notification will display in front even if other application is open.so what can i do.I have use the onkeydown method for sending the application in background but the call notification is display when call is come.but is show when we open the application open.so if anybody have idea then plz tell me. -- 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] put application in background run
follow the android application lifecycle. put ur code inside the onresume method.. -- 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] put application in background run
Hi Jagruti, I think you should make Service for thatbecause services runs in background. -- 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] put application in background run
Hi Jagruti, I guess Abhijeet is right. You must follow that in order to get your target. Hope that will help you out. -- 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