views:

188

answers:

1

Using

HttpGet httpget = new HttpGet(urlToGet);

I get an intermittent error that results in a forced closure of the app. The error is always Host is unresolved: www..com:443

How can I stop this from happening?

A: 

Elsewhere, I answered a closely related question to this one: remove your AVD (emulator), then re-create it. (Also, make sure you've got that magic Internet permission statement in your manifest file, but I assume that's not your problem.) I don't know if this will do it for you, but it worked like a charm for me. Apparently, this is a fly in Android's ointment.

Russ Bateman