[android-developers] Re: Multiple Back Button clicks needed to exit application

2010-07-30 Thread StillALearner
Used finish(); to end an activity On Jul 30, 10:32 am, Priyank priyankvma...@gmail.com wrote: Hi, In my current application design, I have an activity class application.java (which starts on launching the application), and it does not have a layout(UI screen). I call another class

Re: [android-developers] Re: Multiple Back Button clicks needed to exit application

2010-07-30 Thread Jenus Dong
yeah,the welcome activity has the reference of the application activity, you can call activity.finish() of the application, and there you can overide the finish function of the application, make destory the servicebind. Hope it could be helpful. On Fri, Jul 30, 2010 at 3:33 PM, StillALearner