S60V3 - displaying GUI from a Symbian 9 exe with no GUI classes

Login to reply to this topic.
Mon, 2007-12-31 15:38
Joined: 2006-08-13
Forum posts: 40

my program is an exe with no GUI (there is no CAknApplication class, no icon in the phone menus). The program is a calling card application that runs in the background and monitors outgoing calls.
When the program detects a call that should be routed through a calling card service, it hangs up the call and dials the calling card.
At this point, I would like to show a nice calling screen. Currently I am just showing a basic progress bar using a CAknGlobalProgressDialog. I would like to show a real Series 60 View. How can I do it ?


Wed, 2008-01-02 16:29
NewLC AdministratorSymbian AccreditedForum Nokia Champion
Joined: 2003-01-14
Forum posts: 1918
Re: S60V3 - displaying GUI from a Symbian 9 exe with no GUI clas

... start an application that shows the screen you want to have.
(you have almost no alternative if you want to benefit of existing S60 UI classes. If you don't need this, you can create your own RWindow and draw directly into it.


Eric Bustarret
NewLC Founder & CEO / Professional Symbian OS Consultant

Wed, 2008-01-02 17:06
Joined: 2006-08-13
Forum posts: 40
Eric, I tried your idea

Eric,

I tried your idea using the following code

RProcess iProcess;
iProcess.Create(_L("\\sys\\bin\\gui.exe"), _L(""));
iProcess.Resume();

The exe I am launching is that one showing the UI. The problem is it launches but does not come into the foreground (I can see it got launched using a long menu key press for active tasks).
How can I bring it into view ?

Thanks
Tal

  • Login to reply to this topic.