How do I open links in a window?


I recently implemented a button in an Android application to open links externally, but I realized I can’t find a way to open the link in a window.

I need it to open like this, not like this (look at the url bar).

Here’s the piece of code I currently use:

Intent intent = new Intent(Intent.ACTION_VIEW).setData(Uri.parse(""));

Is there any simple way to do this?


You maybe looking for Custom Tabs by Chrome

Answered By – javdromero

This Answer collected from stackoverflow, is licensed under cc by-sa 2.5 , cc by-sa 3.0 and cc by-sa 4.0

Leave a Reply

(*) Required, Your email will not be published