RC-29: access to 3G data network going down after onResume()?

by JP » Tue, 04 Nov 2008 12:17:43 GMT

Sponsored Links
 Anybody willing to check out a problem I found on the G1 I have?

When testing the app I am working on, I am mainly using WLAN in order
to have relatively constant up-/download characteristics (speed/
latency). No need to weight T-mobile's network down either. One
concern is the coming back to live after receiving an onResume(). I've
tested this on WLAN and it checks out fine.
Then on to test on T-Mobile's 3G network. This test coincided with an
OTA update to RC-29 this morning. I am seeing strange things now. Of
particular concern is the following: Access to the 3G data network
completely breaks down (without the network going down (;->)). This
happens with any app that accesses the Internet, including Maps or the
browser. Here's what happens on my G1: Put the phone to sleep. Let it
sit for maybe 15 or 30 minutes, then bring it back to life (e.g. push
Menu button twice) and without delay start requesting data by moving
the map around. This seems to fall into a window where the phone is
not quite ready to access the data network. It's perfectly fine to
require a couple of seconds to reconnect to the network, but once it
has, everything should be back to normal. Not on my phone. When I
perform the above test, the phone/Android completely loses access to
the data network. I can reproduce this all time, assuming the phone
has been sleeping long enough. The only remedy is to restart the
phone.  TIA.


Other Threads

1. How do I Quick-Acquire a GPS Signal?


On my TomTom Go 710 I am able to hook it up to my computer and download the next seven days of quick-acquire data from the TomTom server. Now, for the next week when I turn on my GPS, it obtains the current location very quickly (less than one minute). I have a U.S. GlobalSat BU-353 USB GPS receiver that I use with my computer. If it has been off for a while (more than a few days) it takes a really long time to receive a signal (10 minutes). However, if it has acquired GPS signal previously within the last few days, it obtains the location very quickly (less than one minute). Obviously, there are at least two ways of obtaining the quick-acquire GPS data. 1. From the GPS satellites themselves. 2. From the internet. How do I obtain, store, and use this quick-acquire GPS data on my android app? Can I get this data from the GPS or do I have to download it over the internet? What is possible? HELP! Let me know. Thanks, Dan --

2. java.lang.OutOfMemoryError

I used this sort of code to make sure my bitmaps load:

      foo = BitmapFactory.decodeResource( resources, R.drawable.foo );
    catch( Exception e )
      foo = BitmapFactory.decodeResource( resources, R.drawable.foo );

In 2.2, it's now failing sometimes and my catch block no longer
catches anything.  Why would that be?

Is there a better way to avoid a java.lang.OutOfMemoryError ?


Greg Donald
destiney.com | gregdonald.com


3. App disappears from the Market after upgrade

4. requestFocus() doesn't bring up soft keyboard for edittext

5. Google Maps API: Catching zoom and panning events

6. Anyone using the new facebook sdk for android?

7. LinearLayout in ScrollView