I've noticed very poor performance in the emulator (1.6 and 2.1) when trying
to complete the forth statement below.  It will take 5+ minutes running in
the emulator.  Interestingly, when I debug on my phone it's not nearly as
bad at maybe a minute or so, but still not great.  Running the app on my
phone without debugging yields great performance (seconds).

URL url = new URL(CommonProperties.BASE_SERVICE_URL + "param=1");
DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
DocumentBuilder builder = factory.newDocumentBuilder();
Document dom = builder.parse(url.openConnection().getInputStream());

Is there something I can do to speed up network access while using the
emulator?  Has anyone noticed anything similar?

Chris Stewart
[email protected]

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to