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

  • Home
  • SEARCH
  • 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 use a home-grown system where the application updates itself from a web service.
I'm creating a web application that uploads websites from my server to youtube on
I've accidentally removed Win2K compatibility from an application by using GetProcessID . I use
I'm trying to use the FolderBrowserDialog from my WPF application - nothing fancy. I
I have to use a class/assembly made in C# .NET from native C++ application.
I need to run a stored procedure from a C# application. I use the
I want to use SAPI Text-To-Speech engine from my ActionScript or Air application. is
I am developing an application from windows vista machine. The web application is hosted
I have written a mapping application which can either use Google Maps or Open
I have an intent filter to intercept urls from the browser on my domain.

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.