on-internet
← Community

cannot find symbol PackageManager

Stack Overflow ·

I am trying to create a very simple code to open an application from another application. The code used is as follows , android.app.Activity import; android.content.Context import; android.content.Intent import; android.content.pm.PackageManager import; public static void LaunchApplication() { GetPackageManager PackageManager = PackageManager(); startActivity(packageManager.getLaunchIntentForPackage("antay.cfsatv30localization")); } ... but when I compile I get the following errors: Error returned: src\antay\startandstopapp\wdgen\GWDCPCOL_GlobalProcedures.java:106: error: cannot find symbol ge

Comments

Sign in or sign up to comment and upvote.

No comments yet.