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: 404
Registered: ‎05-31-2011
My Device: curve
My Carrier: devel
Accepted Solution

retrive memo

hii,  i use this code to view memo,

public ViewMemoScreen( BlackBerryMemo memo )
    {
        super();
       
        _controller = new MemoController( memo );
       
        // Set the screen's title.
        Field title = (Field) _controller.render( MemoController.FOR_TITLE );
        setTitle( title );
       
        // Add the various memo fields to the screen.
        Field[] fields = (Field[]) _controller.render( MemoController.FOR_VIEW );
       
        for ( int i = 0; i < fields.length; ++i )
        {
            add( fields[i] );
        }
       
        // Add the menu item to the screen.
      
    }

, but how can i save this data as a string

Developer
Posts: 404
Registered: ‎05-31-2011
My Device: curve
My Carrier: devel

Re: retrive memo

i have resolved String _string = ""+fields[i];