Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
Developer
Posts: 415
Registered: ‎07-28-2010
My Device: 8000
My Carrier: hi

want to show message only first time

Hello friends,

                  First time user will see a message like “Tap on a book to read statutes. when we open application on second time it will not show that message agin. means only when user install application first time he will see instraction in application after that he will not see that.

                 how i implement that? any one tell me what should i use for that? i use lable or any thing else?

 

thanks and regards,

      ajay patil.

Developer
Posts: 729
Registered: ‎05-04-2011
My Device: 9700

Re: want to show message only first time

For the message you can use any UI component that you think it fits (screen, dialog, popup, etc.).

 

To make sure the user sees the message only once, use a flag in the persistent storage. If it exists and not false, you can show the message.

 

Once you show the message, set the flag to false.

 

E.

Developer
Posts: 415
Registered: ‎07-28-2010
My Device: 8000
My Carrier: hi

Re: want to show message only first time

hello friends,

                        i get idea. but i  have one problem in that. when i start my application immegitly i want to show one dilog box in that i want to show one chek box that i shoud i show all tool tips or not? how should i do that? 

Highlighted
Developer
Posts: 19,636
Registered: ‎07-14-2008
My Device: Not Specified

Re: want to show message only first time

Create your own PopupScreen and add the text and CheckboxField to that.  Just like a MainScreen but woth no menus or status or title area.  OK?