01-30-2013 01:23 AM
Hi all,
What are all the ways we can open an app rather than clicking the app icon. Is it possible to open an app with another app with some keyword or something.....
Solved! Go to Solution.
01-30-2013 03:00 AM
01-30-2013 07:24 AM
i am able to launch only application that is running in the background..... How to launch the apps which is not in the background.
01-30-2013 07:42 AM
Why do you say you can only launch background apps?
If you do a search round I think you will find other Threads that might be able to help you with this.
01-31-2013 12:25 AM - edited 01-31-2013 12:26 AM
This code returns me the apps which in the background
ApplicationManager manager = ApplicationManager.getApplicationManager();
ApplicationDescriptor descriptors[] = manager.getVisibleApplications();
try {
manager.getApplicationManager().runApplication(des
true);
} catch (ApplicationManagerException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
And checked it with the below code
String appname1 = "";
for(int i=0;i<descriptors.length;i++){
appname1 = appname1 +"\n"+ descriptors[i].getName();
}
LabelField field = new LabelField(appname1);
add(field);
it displaying only the apps which in the background...
However i will check other threads also....
01-31-2013 02:00 AM
I am able to launch an app with module name......
How to get the module names of all the installed apps in the phone?
01-31-2013 05:15 AM - edited 01-31-2013 05:24 AM
I don't know of anywhere that is published or any way of finding that out vai an API, sorry.
Edit: But SImon does... See below...
01-31-2013 05:16 AM - edited 01-31-2013 05:17 AM
codemodulemanager
btw, if the original issue is solved, don't hesitate to mark the thread as solved and create a new one for a new question