Data connection hold during deep sleep?

by Loki117 » Sun, 08 Nov 2009 10:41:46 GMT


Sponsored Links
 Hey Guys,

I have an issue with data connections on the Dream being dropped when
the phone goes into Deep sleep. I have a number of AlarmManagers being
fired at intervals of between 1 - 3 hours it seems at night time when
the phone is not being used these alarms do not seem to get a data
connection in order to hit a server to get some information back. Is
this common? If so is it possible to get a data lock requiring the 3G
connection to spin up so I can make a request?

Thanks in advance,

Tom

--



Other Threads

1. Map Server

All,

Anyone know of a way to change the server that a MapActivity looks at
for maps and images?  By default the MapActivity it is pointed to
http://www.google.com:80.   If you are operating on a self contained
network (disconnected from the open internet) google cannot be
resolved.  But if you are running your own google fusion server you
should be able to point to it as the map server.  I've already tried
pointing www.google.com to the ip of the fusion server in my /etc/
hosts file.  Appears the emulator doesn't use the hosts file.

Any thoughts?

Thanks,

Nick
--~--~---------~--~----~------------~-------~--~----~

2. Screen on/off Intents Can't Be Declared in AndroidManifest?

I'm trying to detect when the phone's screen turns on and off with the
SCREEN_ON and SCREEN_OFF Intents.  A BroadcastReceiver declared in the
AndroidManifest doesn't work with these screen on/off Intents, but
instantiating a BroadcastReceiver programatically at runtime does
work.

As far as troubleshooting goes: my AndroidManifest BroadcastReceiver
is properly receiving other Intents, such as for phone boot.  There is
no helpful information in LogCat.  And this isn't a permissions issue,
since it works when declared programatically.

There are no explanations in the JavaDocs (e.g. its not like the
battery changed Intent which cannot be declared in the Manifest),
although when searching through the Android source I discovered that
none of the Android OS services declare interest this particular
Intent in XML either.

So any ideas why I can't declare SCREEN_ON and SCREEN_OFF in the
AndroidManifest?

--~--~---------~--~----~------------~-------~--~----~

3. XML 'keywords'

4. question about KEYCODE_NOTIFICATION

5. Audio output stream opened preventing system to suspend

6. Orientation sensor: why does roll change with pitch?