Dear Friends,

I think I have put some time intensive work in the main UI of my code. I was
trying to use handlers/threads at the main UI instead. However, this is not
working out. I am not very sure why. This is what I did --


   - inside onCreate:

       - - - - - - - .................................
Thread thread = new Thread(this);
        thread.start();
       - - - - - - - .................................

   - inside run() (1 line only)

handler.sendEmptyMessage(0);

   - inside private Handler handler = new Handler() {          @Override
        public void handleMessage(Message msg)

(everything I was doing - downloading the JSON file, parsing it, using its
information to overlay google map !)

Please suggest me a way. I think I am not doing things the right way :(...
(since the threaded thing is not working out fine :(....)


Regards,
Ahsan, CSE-04
___________________________________________________
Md. Ahsanur Rashid
Graduate Student
Department of Computer Science
North Carolina State University
http://www4.ncsu.edu/~marashid/

-- 
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en

To unsubscribe, reply using "remove me" as the subject.

Reply via email to