Can you tell something more about the link that you have mentioned?
What do you want to know? The Web Application http://pc2049.ka.tup.com:8084/Mde20/ is deployed on Tomcat 7 (for development on my PC). The Application will analyze the query string "?env=http&device=ro55&prop=amos-saturn&sim=amos" (request.getParameter). Parameter "env" is the Environment (http or test), the "device" parameter controls the actual device (ro55 is a Motorola MC55 with RhoElements). The other parameter also control some application specific setup.
Whe RhoElements is started without the shortcut Mde20.lnk the config.xml is used. The config.xml contains the following configuration:
<StartPage value="http://pc2049.ka.tup.com:8084/Mde20/?env=http&device=ro55&prop=amos-saturn&sim=amos" name="Mds"/>
and will start the application. With the shortcut Mde20.lnk the application is also started, but the query string is empty. When the query string is empty the setup for env, device, prop and sim is not valid and the application will immediately stop.
I hope that this will help.
1 of 1 people found this helpful
If you facing trouble sending querystring from shortcut, you may follow the below steps to get this done.
1: Copy the config file to application folder (for example)
2: now in <StartPage value="http://pc2049.ka.tup.com:8084/Mde20/?env=http&device=ro55&prop=amos-saturn&sim=amos" name="Menu"/>
3: Create a lnk file with 132#"\Program Files\Rhoelements\rhoelements.exe" /C:file://\application\config.xml
4: Now launch your application using new shortcut key.
Hope this will help you to pass the querystring.
I have tested your solution and it works.The disadvantage of this solution is, that different Applications needs different config.xml files.
I think, that the enhancement of the shortcut icon, that passes the querystring will be a great thing.
I'll take a look to see if it's feasible but It may be a limitation of Windows Mobile,