• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Open web page from app

kkozlovskis

Lurker
Hi!

I want to build app that opens web page. Idea is when app is opened it immediately opens web page in browser. The problem is when page is opened and user presses back button it goes back to app and opens web page again. Ideal result must be when page is opened user presses back button it goes to phone start screen but when app is opened from recent list it must go to web page.

I have two solutions for this BUT I DON'T KNOW HOW TO REALIZE THEM:

1) When opening web page, immediately close the app even from recent list so it can't go back to app.
2) Determine if user presses back button to go back to app from browser and then close the app.

I will appreciate any help! :)
 
Back
Top Bottom