
April 27th, 2005, 08:33 AM
|
|
Registered User
|
|
Join Date: Apr 2005
Location: Spain
Posts: 2
Time spent in forums: 30 m 57 sec
Reputation Power: 0
|
|
Crash at WTK22 with streamConnection
public void run(){
throws IOException {
StreamConnection streamConnection = null;
InputStream inputStream = null;
StringBuffer b = new StringBuffer();
try {
streamConnection = (StreamConnection)Connector.open(url);
Everytime I reach the line
streamConnection = (StreamConnection)Connector.open(url);
the screen asking if I want to connect appears, and the WTK22 gets blocked and I have to close it
That line it's in a thread because WTK don't like to call connections in the CommandAction event :P
|