Possible Duplicate:
Country name with space not accepted in BlackBerry ObjectChoiceField
我一直在研究如何将20%的面积提高到一个空间。 I used Code from a couple of StackOverflow questions 但似乎没有工作。
我根本不使用POST。 我如何使用URLEncodedPostData,去除卢尔的空地?
I am fetching response from my local server using the following code.
ConnectionFactory connFact = new ConnectionFactory();
ConnectionDescriptor connDesc;
connDesc = connFact.getConnection("http://www.XXXXXX.com/XXXXX/?
InputStream isText = httpConn.openInputStream();
byte[] bytes=new byte[isText.available()];
isText.read(bytes);
final String s = new String(bytes);
System.out.println(" SERVER RETURNS = "+s);
if(s.equals("successfull"))//&& loginid.indexOf("@"))
{
UiApplication.getUiApplication().invokeLater(new Runnable()
{
public void run()
{
Dialog.alert(("Registration success"));
}
}
}