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

Posts: 33
Registered: ‎12-03-2011
My Device: 9800
My Carrier: Blackberry

Re: on back save prompt not shown

code is same as i post above just add 

public boolean onSave(){
return true;



in the place of

// public boolean onSavePrompt(){

// return super.onSavePrompt();

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

Re: on back save prompt not shown

You may also be saving the data in other places, like your keyChar() method or in your close() method.  Put a break point in your code that saves the value, press the back/Discard and figure out why the save processing is being called.