If I have an ApplicationInfo instance of a specific application, how can I make an intention to launch the application?
I tried
Intent intent = new Intent(ApplicationInfoInstance.packageName);
but that gives an exception. The application is installed, so the exception is not related to this.
I think I need to use
setClassName (String packageName, String className);
Can someone direct me to get these two values? Since most of my applications return NULL forApplicationInfoInstance.className;
Thank.
source
share