0

i developed application with map service and webservices when i run application its became very slow and continuosly it is showing activity not responding force close or wait

how to resolve this issue

Thanks in advance

Aswan

asked Jun 16, 2010 at 9:58
4
  • What kind of web service are using? Maybe the connection is slow or you are requesting to much data. Please provide more details about your problem. Commented Jun 16, 2010 at 9:59
  • i am using server side .net client side ksoap2 getting people details and displying on map Commented Jun 16, 2010 at 10:37
  • 1
    Do you run the "slow" code into a separated thread? Commented Jun 16, 2010 at 10:54
  • by getting data from webservice i wrote that code inside scheduleAtFixedRate Commented Jun 16, 2010 at 11:10

1 Answer 1

1

Consider use the AsyncTask to run web service in the background. Feedback to UI when data fetched completely.

http://developer.android.com/reference/android/os/AsyncTask.html

answered Jun 16, 2010 at 11:02
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.