Join Our 3 MILLION+ Members Today! Register Here | Login
Go Back   BlackBerry Forums at CrackBerry.com > BlackBerry Professionals > App Developers

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
    Thread Author   #1  
Old 09-05-2011, 08:15 AM
CrackBerry Newbie
 
Join Date: Aug 2011
Posts: 6
Likes Received: 0
Thanked 0 Times in 0 Posts
Default user signup form

Hi guys

I need a little help with coding a user signup form; where my Screen's field component's values will be written to my MySQL database.

Regards
Lelo
Reply With Quote Tip this Post
  #2  
Old 09-05-2011, 05:08 PM
CrackBerry Addict
Device(s): Curve 3G (9330)
Carrier: Verizon
Pin: 32DD00E7
 
Location: Georgia
Join Date: Jul 2011
Posts: 603
Likes Received: 32
Thanked 31 Times in 27 Posts
Default

Maybe some sort of web script that transcodes the apps results to msql
__________________
I went Android and I came Back
Reply With Quote Tip this Post
    Thread Author   #3  
Old 09-06-2011, 08:09 AM
CrackBerry Newbie
 
Join Date: Aug 2011
Posts: 6
Likes Received: 0
Thanked 0 Times in 0 Posts
Default

Hmm, I any idea how eactly?
My problem is printing the values to MySQL db. Here's what I have so far..





package com.YYK;

import net.rim.device.api.ui.container.FullScreen;
import net.rim.device.api.ui.component.*;
import net.rim.device.api.ui.container.*;
import net.rim.device.api.ui.*;

public class RegScreen extends FullScreen {

/**
*
*/
public RegScreen() {
super(FullScreen.VERTICAL_SCROLL | FullScreen.VERTICAL_SCROLLBAR);
// TODO Auto-generated constructor stub
//setTitle("YYK GO");
//FullName
LabelField lblFullName = new LabelField("Full name:");
add(lblFullName);
BasicEditField befFullName = new BasicEditField();
add(befFullName);
add(new SeparatorField());
//Username
LabelField lblUsername = new LabelField("User name:");
add(lblUsername);
BasicEditField befUsername = new BasicEditField();
add(befUsername);
add(new SeparatorField());
//Password
LabelField lblPassword = new LabelField("Password:");
add(lblPassword);
PasswordEditField pefPassword = new PasswordEditField();
add(pefPassword);
add(new SeparatorField());
//Email
LabelField lblEmail = new LabelField("Email:");
add(lblEmail);
BasicEditField befEmail = new BasicEditField();
add(befEmail);
add(new SeparatorField());
//Country
String choices[] = {"South Africa","Uganda","Swaziland","Zambia"};
int iSetTo = 0;
add(new ObjectChoiceField("Country",choices,iSetTo));
//City
LabelField lblCity = new LabelField("City:");
add(lblCity);
BasicEditField befCity = new BasicEditField();
add(befCity);
//btnLogIn
ButtonField btnLogIn = new ButtonField("Log In");
add(btnLogIn);



}

}

Reply With Quote Tip this Post
Reply
BlackBerry Forums at CrackBerry.com > > BlackBerry Professionals > App Developers   user signup form

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes