joshv wrote:
> I am really starting to think that there is something wrong with my
> handset.  I certainly have no problem with transient disconnects and
> such resulting from moving from cell to cell, or from 3G to wifi, or
> edge to 3G - but I am sitting 3 feet from a very stable access point.

Here's my recommendation on how to proceed:

First, create a separate really simple application that uses your 
current techniques (URLConnection or HTTPComponents) to access a Web 
site. Retrieve a Web page that is a no-brainer 
always-gonna-work-for-everyone page, particularly one that is OK for you 
to disclose.

If this gives you the same symptoms as you're experiencing in your main 
application, post the manifest, layout, and activity source code, so 
some of us can try it and see if we get problems on our devices.

If, however, this simplified example works just fine, start to slowly 
convert it to look more like what's giving you problems (e.g., switch to 
the actual Web page you're trying to hit instead), and see where the 
problems creep in.

At the point when you start getting problems again, if your test code is 
still safe for public release (e.g., no proprietary information), post 
the manifest, layout, and activity source code, so some of us can try it 
out and see if we get the same problems.

Going all the way back to your original post, the snippet of source you 
provided doesn't seem problematic (other than I'm a fan of 
HTTPComponents over URLConnection), but, then again, we aren't going to 
be able to reproduce your problem with just that snippet.

In the end, if we collectively get a reproducible scenario that works, 
that sample code should serve us well on the issue tracker to make sure 
this gets looked at.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com

Android Training on the Ranch! -- Mar 16-20, 2009
http://www.bignerdranch.com/schedule.shtml

--~--~---------~--~----~------------~-------~--~----~
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