Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4049526
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T13:57:22+00:00 2026-05-20T13:57:22+00:00

From my application I use an Intent to open a web page in the

  • 0

From my application I use an Intent to open a web page in the Browser. The default behaviour is that back button leads to previous page in the browser and not back to my application. Is there a way to force the back button to return the user to my App?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T13:57:23+00:00Added an answer on May 20, 2026 at 1:57 pm

    Once you use an Intent to open into another app, it’s up to that App to handle the back button. If you just want to show a webpage as an activity, you can run your own activity that hosts a WebView and use the following to open your web page:

    webview.loadUrl("http://lolcats.com/");
    

    And in your activity you can override the back button to do what you need to do:

    @Override
    public void onBackPressed()
    {
        // put code here to do things
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a web application that you can use to import information from another
I'm trying to open default browser in Android from an application's dialog with a
I need to use image resources from an iOS application that I'm porting to
I need to use legacy mode for an application that I am porting from
I need to open the my application from browser when some pattern matching url
I want to use Custom URL Scheme to transfer data from application to other
I'm migrating my application from Rails 3.0.12 to 3.2. I use the active_record_store to
I'm trying to use the RegisteredWindowMessage API function to send text from one application
I need to invoke a mapreduce job from java application. I use ToolRunner.run(new Validation(),
I have an MVC application created from the Internet template to use forms authentication,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.