on 03-09-2006 2:17 PM
hello.
i have a big request:
i have deployed in my MI CLIENT 3 webapps.
the first webapp does calling the 2 & 3 webapps from a page that contains 2 link. in others words, i need to simulate the calling of MI CLIENT to webapp into homepage:
http://localhost:4444/me/servlet/com.sap.ip.me.apps.jsp.ControllerServlet?action=homeonApplicationCh... name>&applicationType=JSP&applicationVersion=<n. version of application>&applicationNamespace=&1141913648250
how my class can read :
- application name
- application versione
- application namespace
in the meg.jar exist any method that read these 3 parameters?
hello eliana,
use the following code:
import packages
com.sap.ip.me.api.user.*
com.sap.ip.me.core.*
User currentUser = UserManager.getInstance().getCurrentUser();
MobileSolutionDescriptor[] msds =
ConversationIdHandler.getInstance().getAllMobileSolutionDescriptorsForUser(currentUser);
for(int idx=0; idx<msds.length; idx++){
String appName =msds[idx].getName();
String appVer =msds[idx].getVersion();
String appDesc = msds[idx].getDescription();
String appNmSp = msds[idx].getNamespace();
String appType =msds[idx].getType().toString();
}
you will retrieve all the MSDs including that of the
framework and hidden ones (like addons, patches...)
regards
jo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.