On Sun, Jul 10, 2011 at 5:28 PM, kamiseq <[email protected]> wrote: > ok, I was just curious cos I was looking for a way to launch service > when user clicks on launch icon but I think I have to launch activity > and then launch service from it and then finish the activity.
Do not have a service that just starts up as you describe and does not deliver value. Why do you need to have a service here? Why do you need to start it and not give the user a way to stop it (e.g., via the activity they used to start it)? Also, do not have an activity that does nothing. Users will think your application is broken and will give you Market ratings and comments reflecting its broken state. Even if your service is justifiable, please write an activity that is meaningful, adds value, and allows the user to stop the service. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy _Android Programming Tutorials_ Version 3.5 Available! -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

