Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Open another one application from our application?

Tags:

android

From my application i have to open a another one application.Is there any possibility to open like this?

like image 331
RMK Avatar asked Jul 27 '10 10:07

RMK


1 Answers

You should use the function of the package manager.

try {
    Intent i = ctx.getPackageManager().getLaunchIntentForPackage("com.android.browser");
    ctx.startActivity(i);
} catch (NameNotFoundException e) {
    // TODO Auto-generated catch block
}
like image 149
Carni Avatar answered Nov 15 '22 08:11

Carni