[android-developers] Re: Connectivity Manager - CONNECTIVITY_CHANGE

2009-10-12 Thread Ryan Berti
Seems that this would work, but I am trying to get around the phone waking up every time it receives a state changed event. Can this be done, ie create a user defined event that I can listen for? Thanks for the response. -Ryan On Oct 8, 9:39 pm, Roman ( T-Mobile USA) roman.baumgaert...@t-

[android-developers] Re: Connectivity Manager - CONNECTIVITY_CHANGE

2009-10-08 Thread Roman ( T-Mobile USA)
Try to implement the following + use the NetworkInfo on your connection to find out about your current connection (whether it's Wifi or Mobile) + implement a broadcast receiver and listen to NETWORK_STATE_CHANGED_ACTION events When you receive the network state change event and you have a valid