I am new to develop blackberry software.
I am writing application which user choose server mode or client mode from radio button.
My application does not work: when I choose one of radio button (server or client), the brackberry desktop turn to white and all icons are gone.
I am doing something wrong...Would someone please see my code and let me know where I am doing wrong?
public void populateMainScreen(MainScreen screen)
RadioButtonGroup rbGroup = new RadioButtonGroup();
_server = new RadioButtonField("Server Mode",rbGroup,false);
_client = new RadioButtonField("Client Mode",rbGroup,true);
public void fieldChanged(Field field, int context)
if (field == _server)
Dialog.inform("server button is chosen.");
if (field == _client)
Dialog.inform("client button is chosen.");
Do I need to override trackwheelClick function?
Thanks In Advance