On Tue, Oct 11, 2011 at 1:08 AM, venugopal reddy
<venugopal.re...@tspl.com> wrote:
> Now Just I close the browser and come  back to my home.(I thought  close the
> application).

You need to learn how Android works. You do not "close the browser",
any more than pressing the home button in a browser "closes the
browser".

> actually that application running background. once again i
> open the application ,press the my logo in application ,application is not
> open in web browser.that's  the problem,  Here i need to force to  close the
> application.

No, you don't.

> But I want close application (no need to go force stop the application),when
> i close the web browser in android emulator..

No, you don't.

For example, let us suppose that your "application" consists of a
single activity, where launching the activity is supposed to start the
Web browser on your desired URL. (let's ignore the fact that users
consider such applications to be completely stupid and will give it a
bunch of one-star ratings on the Market) If your activity is not
supposed to be around after you start up the Web browser, your
activity should call finish() right after it calls startActivity() to
launch the browser.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

Android Training...At Your Office: http://commonsware.com/training

-- 
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

Reply via email to