Use the following code to browse a link from your android app into web browser.
Syntax :-
Intent <intentName> ;
startActivity(<intentName>)
Parameters :-
| action | The Intent action, such as ACTION_VIEW. |
|---|---|
| uri | The Intent data URI. |
Example :-
Intent browseWeb = new Intent("android.intent.action.VIEW", Uri.parse("http://mahsanq.blogspot.com/"));
startActivity(browseWeb );
========================================
Your comments and suggestions are highly appreciable.
========================================
No comments:
Post a Comment