[android-developers] Finishing Browser

2010-05-12 Thread Serkan Ozel
Hello Guys, I need to launch the Browser from my application (cannot do the WebView - it has to be browser), and once I'm done with the browser, is there a way to close the Browser and the user back to the application programatically? The problem is that user will probably press back or home

Re: [android-developers] Finishing Browser

2010-05-12 Thread Kostya Vasilyev
12.05.2010 23:50, Serkan Ozel ?: I hopped that a button in the HTML displayed would close the browser but it seems like the Android seems to ignore that. You mean you've tried something like: |A href=javascript: self.close ()Close this Window/A | -- Kostya Vasilyev ~ WiFi Manager +

Re: [android-developers] Finishing Browser

2010-05-12 Thread Gyan
I think back button would work depends on how you launch the intent. must be part of the current task... FLAG_ACTIVITY_CLEAR_TOP would do the trick I hope... If not, check on other flags, I'm not sure about the flag - but I'm pretty sure you can make use of back button to come back to ur app

Re: [android-developers] Finishing Browser

2010-05-12 Thread TreKing
On Wed, May 12, 2010 at 2:50 PM, Serkan Ozel serkano...@gmail.com wrote: is there a way to close the Browser and the user back to the application programatically? There's probably no way to do this. Once you open it the browser is a new, standalone app you have no control over. Why can't you