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
savi
Posts: 184
Registered: ‎10-28-2009
My Device: Not Specified

Navigation problem?

hi all

 

i have added my application in Options. for this

 

i have implemented my class to OptionsProvider interface and implemented all three method of this interface:-getTitle(),populateMainScreen(), save() 

 

              i wrote some login in populatedMainScreen() method to add text message ,edit and delete.when i select add menu then addscreen open ,there i add new text message and save.but its not navigate to same screen, its going another screen.

 

my problem is this, how i can call this populateMainScreen() method in my class constructor?

 

 

thanks

savi

Please use plain text.
Developer
simon_hain
Posts: 16,113
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport
My Carrier: O2 Germany

Re: Navigation problem?

i would suggest that you push an own screen and call mainscreen.close (inside invokelater).

this gives you the full control over the options screen.

----------------------------------------------------------
feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
@SimonHain on twitter
Please use plain text.