Are you using a wakelock?

On Jun 2, 4:10 pm, Daniel Lew <[email protected]> wrote:
> I've run into a bizarre situation and I'm not sure how to solve it.
>
> The app I'm working on has a regular pull update that occurs every so
> often in the background.  When the phone is on, it works.  When the
> phone is using wifi, it works.  However, if the phone is sleeping and
> connected only to 3G, it only *sometimes* works.  Other times,
> HttpUrlConnection.getInputStream() returns null (after a lengthy
> timeout, though it's not based on any timeout setting...  it just
> seems to randomly time out at some point).  There are no exceptions
> thrown and no logs indicate any trouble, except that my connection
> goes completely ignored.
>
> Does anyone know why this might be happening?

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