How to launch my other application or default application?

How to launch my other application or default application (like keyboard) in button click event? I want open other applications in my custom application.


Just use below code in the event of your button action:

com.package.address == other application or default application's packages name

Intent LaunchIntent = getPackageManager().getLaunchIntentForPackage("com.package.address");

Happy coding !!!

Need Your Help

What is the effect of extern "C" in C++?

c++ c linkage name-mangling extern-c

What exactly does putting extern "C" into C++ code do?

rails arguments to after_save observer

ruby-on-rails activerecord observer-pattern

I want users to enter a comma-delimited list of logins on the form, to be notified by email when a new comment/post is created. I don't want to store this list in the database so I would use a