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

Popular posts from this blog

Fail to load namespace Spring Security http://www.springframework.org/security/tags -

Maven Javadoc 'Cannot find default setter' and fails -

javascript - SAPUI5 Filling SmartTable with OData from XMII -