Just a small message box

Login to reply to this topic.
Sat, 2006-05-20 16:47
Joined: 2006-05-02
Forum posts: 90
I have a server which is always running. I have a function in this program that it will be called every one minute. I want to enable this function to show a message in a small box containing second number for a few seconds in every screen and every running application.
How can I implement it?
Please explain in detail.
Is there any reference or book to study about this subject?

Mon, 2006-05-22 06:16
Joined: 2006-05-22
Forum posts: 37
Re: Just a small message box
You can try to use a Notifier

_LIT(KTxtMsg,"A message");
...
RNotifier notifier;
...
notifier.Connect();
...
notifier.InfoPrint(KTxtMsg);
notifier.Close();
...

Search for RNotifier in devlib to get some more examples.

have fun...

Rayko Enz
www.sic-software.com

Mon, 2006-05-22 10:23
Joined: 2006-05-02
Forum posts: 90
Re: Just a small message box
Thank you for your guidance.
I used it in my code and it worked correctly. But there are two problems:
1- It works just in debug mode, but I want to show this message on my phone.
2- I want to be able to change the appearance of my message. For example its size, its position, color and etc.

could you please help me.
Mon, 2006-05-22 11:58
Joined: 2006-05-22
Forum posts: 37
Re: Just a small message box
Try to use Notify() instead of InfoPrint() because InfoPrint is not supported on device.
Regarding customisation just don't do it  Wink

If you have a server or exe which doesn't have an AppUi you don't have any chance. And even with AppUi it is much work and might look ugly when user has some skins on their phones.

have fun...

Rayko Enz
www.sic-software.com

  • Login to reply to this topic.