Display notification to user from EXE
| Thu, 2006-02-02 18:10 | |
|
Hi
I have a background EXE that periodically wakes up ,downloads some stuff and then has to display a notification dialog to the user (modal dialog). Firstly, - can we display notification dialog from an EXE or does it have to be an app? Next- Is there a uniform way of doing this across all Symbian phones or is it diff on series 60 vs 80 vs UIQ. Any help is appreciated |
|






Forum posts: 176
{
CAknGlobalNote* note = CAknGlobalNote::NewL();
CleanupStack::PushL(note);
TRequestStatus stat = KRequestPending;
note->SetSoftkeys(R_AVKON_SOFTKEYS_OK_EMPTY);
note->ShowNoteL(stat, EAknGlobalInformationNote, txt);
User::WaitForRequest(stat);
CleanupStack::PopAndDestroy(note);
}
This code is working for S60 (CAknGlobalNote). I don't think, theres something like CEikGlobalNote, so it will not run under all versions...
regards;
CG
Forum posts: 4
Thanks for the code. I am able to get it working in S60 emulator for a GUI app but if I have the same code in a EXE (non-GUI, console based) and run it nothing happens. I am able to build the project successfully by including the right files. Is there a way to make a dialog appear on the front screen from a background running process (EXE , non-gui). I am new to Symbian so bear with me if my terminology is a little off.
Forum posts: 176
Are you sure the code will be really called? I use it in a hidden server-task and it will run on 6600, 6630, 6680, N70 and N90. Please Check if the funtion gets really called!
Bye;
CG
Forum posts: 37
I'm in the process of writing an EXE. What i want to know is how i get this exe executing / running???
I'm not able to find a lot of information regardin this...
Can u help me out...
Thanks...
The Cruise is on...
Forum posts: 176
regards;
CG
Forum posts: 33
» UIQ 3 SDK » Symbian OS v9.1 » Symbian OS guide » Base » Using User Library (E32) » Inter Process Communication » Using Notification Services
See if this solves your problem or if I´m way of.
If this is what you are looking for, then you can see that this is Symbian code so it should work regardless of UIQ or S60.
If its something else you´re looking for please let us know.
Good luck and Happy Coding.Â
Forum posts: 37
I have an application written... Now i need to convert it into an EXE. I'm in the process of doing it but i dint know how to start it up...
I also dont have any debugging tools to see how it's working. This application acts upon attending a phone call...
The Cruise is on...
Forum posts: 176
If you are ready with your program, you can use EzBoot (i think there was a UIQ-version), or write a recog by yourself.
bye;
CG