simple app that can be downloaded and installed to the android phone and once clicked on the app will open a URL in the default browser of the phone -


simple app can downloaded , installed android phone , once clicked on app open url in default browser of phone. pls tell me how start application?

at first try google before posting in here. because idle person [ think :) ] giving solution also.

in main activity's oncreate method use these codes open google's website :

 intent browserintent = new intent("android.intent.action.view", uri.parse("http://www.google.com")); startactivity(browserintent); finish(); 

Comments

Popular posts from this blog

jQuery clickable div with working mailto link inside -

java - Getting corefrences with Standard corenlp package -

WPF: binding viewmodel property of type DateTime to Calendar inside ItemsControl -