I'm trying to launch the OVI maps app outside of the WRT app I'm building (so two apps would be open on the phone) and I want it to launch with a location marker on the map.

From other posts I have seen two ways of doing this.


The first was using a URL.

services://C2A?C2Aid=2305&Version=1.0&2305=Landmark(lat=60.1783853&long=24.795528&name=Espoo%20Museum%20of%20Modern%20Art%20(EMMA))

This worked on one of my X6 phones but wouldn't work on any of my other S60 5th edition phones. Does anyone know who to find a C2Aid on the fly in the background of the app? I'm guessing the C2Aid has some relation to the maps application.


The second was by searching for the maps app using device.getServiceObject("Service.AppManager", "IAppManager"); and looping through the results for the maps app.

I could then launch the maps app using so.IAppManager.LaunchApp(criteria); which takes an app's uid and also a CmdLine parameter. Does anyone know what you would need to type in the CmdLine parameter to get a location and marker on the app? I've tried combining the Landmark stuff from the URL method (see above) with this method but couldn't get it to work.


Another post I saw mentioned creating a Landmark using the Service.Landmarks api and then exporting the landmark from database to xml. But I can't find anyway of exporting to xml using javascript from a WRT app and I can't see how to use the xml to launch the maps app with a landmark.


Any other suggestions would be very welcome.