01-29-2014 07:22 AM
I want to ask what is the better approach of doing network related application.Do i have to create the Custom thread for this or implements the Runnable Interface.
And how to start them by simply calling the .start() in case of thread or .run() in case of interface?
Solved! Go to Solution.
01-29-2014 07:35 AM
02-05-2014 11:53 PM
Thanks Sir for the reply
Sir i have to perform multiple networking task in the same buttom click.
Like if i click a button 3 webservices are called, then i have to start the 1 thread in that i will start the other two??
02-06-2014 01:10 AM
And 1 more problem.
When i click on a Bitmapfield. A popup screen has to be displayed.
SO when i click on Bitmapfield, i simply push the popup screen but it doesnot displayed.Then i add the thread and the i got the exception saying pushscreen without holding event lock.Now i am doing like this Is that ok??
imageField = new BitmapField(Icon,BitmapField.FOCUSABLE)
protected boolean navigationClick(int status, int time)
NewCustomDialog dialog = new NewCustomDialog("successfully ", Field.FIELD_TOP, Color.BLACK);
02-06-2014 03:37 AM