Shortcut icon to launch RhoElements

I create a shortcut file Mde20.lnk with the following content:

132#"\Program Files\Rhoelements\rhoelements.exe" /S:http://pc2049.ka.tup.com:8084/Mde20/?env=http&device=ro55&prop=amos-saturn&sim=amos

The Web-Application starts but get no query string (see the http monitor).

Ashampoo_Snap_2012.07.02_14h55m58s_001_.png

How can I get the query string? Is it possible to customize the icon?

Divyansh Madan
Can you tell something more

Can you tell something more about the link that you have mentioned?

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Klaus Heim
What do you want to know? The

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:

  <Applications>

    <Application>

           

      <General>

        <Name value="Mds"/>

        <StartPage value="http://pc2049.ka.tup.com:8084/Mde20/?env=http&device=ro55&prop=amos-saturn&sim=amos" name="Mds"/>

      </General>

     

    </Application>

  </Applications>

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.

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Bhakta Ranjan S...
Hi Klaus,If you facing

Hi Klaus,

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.

Thanks

Vote: 
Vote up!
Vote down!

Points: 1

You voted ‘up’


Klaus Heim
Hi Bhakta,I have tested your

Hi Bhakta,

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.

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Anonymous (not verified)
I'll take a look to see if it

I'll take a look to see if it's feasible but It may be a limitation of Windows Mobile,

Thanks,

Darryn.

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Log in to post comments