I have started to make blackberry application. And facing a hard time. I want to create a log-in form, for that I need 2 text boxes, 2 labels (of user name and password) and one Submit Button.
+3
A:
Add this simple login field on screen.
Field loginField(){
VerticalFieldManager vfm = new VerticalFieldManager();
vfm.add(new BasicEditField("UserName:", ""));
vfm.add(new SeparatorField());
vfm.add(new PasswordEditField("Password:", ""));
vfm.add(new SeparatorField());
vfm.add(new ButtonField("submit"));
return vfm;
}
Vivart
2010-02-10 09:51:54
Thanks I will try it today.
Deepak Yadav
2010-02-12 02:09:59