sample code for call other application in my application

Put your problem here if it does not fit any of the other categories.

sample code for call other application in my application

Postby Suri_1449 » Fri Jan 21, 2011 11:33 am

Hi
How can I call other's application in my own application.
Detail info:
com.Suri.Sample.Test is my application. Now I want to call "com.Suri.Spuyo.Puyo" in my Test appliction

Please suggest any respected methods ???
Suri_1449
Freshman
Freshman
 
Posts: 2
Joined: Fri Jan 07, 2011 10:26 am

Top

Re: sample code for call other application in my application

Postby Suri_1449 » Mon Jan 24, 2011 2:31 pm

Hi
Finally I got the code...
The Relevent code is ::
PackageManager pm = getPackageManager();
Intent intent = pm.getLaunchIntentForPackage("com.Suri.Spuyo");
intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
startActivity(intent);
Suri_1449
Freshman
Freshman
 
Posts: 2
Joined: Fri Jan 07, 2011 10:26 am

Top

Return to Other Coding-Problems

Who is online

Users browsing this forum: No registered users and 27 guests