Code to open web Browser JAVA Android

Code to open web Browser JAVA Android 

This is the java code to open web browser on mobile phone.

Step 1: Create a method 
public openWebBrowser(){
    Intent browserIntent= new Intent(Intent.ACTION_VIEW, Uri.parse("https://itunes.apple.com/app/id1396585910"));    startActivity(browserIntent);}
Step 2: Call this method where ever you want in your activity. 

Having difficulty to ad this code in your project ?

You have questions? I am available for you only if you buy my app for $ 9 on PLAYSTORE. You will find a number and my email in the application so I can help you.

Commentaires

Posts les plus consultés de ce blog

Men kijan pou voye MINUT NATCOM-NATCOM pou ZANMIW an 3 etap

Comment partager des minutes sur natcom

Men kijan pou prete kob, minutes, lajan nan men NATCOM Ayiti