calling an activity that is in another package(android) -


i want call activity in package....

say example have activity(activity1) in package(package1) , need call activity(activity2) in package(package2) activity1..

i have tried import package2 in package1 did not work... can answer me , provide sample code?

see android: starting activity different third party app

final intent intentdevicetest = new intent("android.intent.action.main");                 intentdevicetest.setcomponent(new componentname("fm.last.android","fm.last.android.lastfm")); startactivity(intentdevicetest); 

where can change intent view depending on case.


Comments

Popular posts from this blog

Add email recipient to all new Trac tickets -

400 Bad Request on Apache/PHP AddHandler wrapper -

php - Change action and image src url's with jQuery -