Header Sep

Symbian OS Tips, Tricks & Code

Score
Login to rate page

April 2007

Launch applications from a UIQ 3 app

The Sony Ericsson Developer World Technical Support team is often asked questions about how it is possible to launch applications from your own UIQ 3 app. There are several ways of achieving this.

Download example application>>

One of the most simple approaches is to use the QikFileUtils class and simply call StartAppL() passing in the UID of the application that is about to be launched. Attached is a very simple application that lists all apps (control panel apps are not included). Tapping on any of the apps will simply launch them.

There is of course a drawback with using such a simple way of launching. Let's say you would like to launch a certain view for a certain application which is not possible to achieve through this method.

Instead use the CCoeAppUi::ActivateViewL() function.

This article demonstrates the following functionality:

  • setup a connection with the application architecture server
  • how to get the name and UID for any app
  • how to launch any application from within your own app  

 

To build for Sony Ericsson's UIQ 3-based phones simply type:

Bldmake bldfiles
Abld build gcce urel
Makesis AppStart.pkg

Download UIQ 3 SDK>> 

Score
Login to rate page