Hi everyone im having problems in my Blackberry application.................
I have made a simple application it starts with a file called AppStarter
package in.EventTimer;
import net.rim.device.api.ui.UiApplication;
public class AppStarter extends UiApplication
{
public static void main (String[] args)
{
AppStarter theApp = new AppStarter ();
theApp.enterEventDispatcher ();
}
public AppStarter()
{
//display a new screen
pushScreen (new ConnectionSettings ());
}
}
From this AppStarter file it pushes to the second file which is a Screen for the ConnectionSettings
package in.EventTimer;
import net.rim.device.api.ui.component.*;
import net.rim.device.api.ui.container.MainScreen;
public class ConnectionSettings extends MainScreen
{
public void RadioButton()
{
RadioButtonGroup rbg = new RadioButtonGroup();
RadioButtonField rb1 = new RadioButtonField("tcp");
RadioButtonField rb2 = new RadioButtonField("gprs");
RadioButtonField rb3 = new RadioButtonField("wifi");
rbg.add(rb1);
rbg.add(rb2);
rbg.add(rb3);
}
public boolean onClose()
{
Dialog.alert ("Exit Connection Settings!");
System.exit (0);
return true;
}
}
But when iam running this application in my Blackberry 9700 simulator it is just giving the blank white screen and when im exiting that white screen it is giving the message exitconnection settings which means it is on the connection settings screen but when i run it is showing blank white screen........i have tried many things but no solution yet ............so plz help or suggest something.
Thanks in advance