android - How to redirect from own application another application? -
i creating own app , @ 1 point want user can go other application.so best code that?
you can in many ways, 1 of common method intents. can create implicit intents purpose.
here sample code :
//from mainactivity.oncreate() intent intent = new intent(intent.action_view,uri.parse("http://google.com")); startactivity(intent);`
you can find further details intents here.
Comments
Post a Comment