I've been searching high and low about a particular problem I am having, but not able to find the solution. I am making an Android app that does the following:
1. searches for signal and after a specified time (e.g. 5 minutes), if no signal is found, the app will enable Airplane mode 2. After a another interval (e.g. 10 minutes), airplane mode is disabled and it checks again for a signal. I've asked about classes to accomplish this and my search came up with PhoneStateListener, AlarmManager, and Settings, but nothing to help me to check whether or not time has passed. The app is made out of four classes: nman - ListActivity (main class) nmanAir - Activity (class that sets time interval for airplane mode to be enabled) nmanRecheck - Activity (class that sets time interval in which to disable Airplane and check allow for signal to detected) Receiver - BroadcastReceiver (supposed to get one of the AlarmManagers and accomplish task, but does not work) I cannot make another Broadcast receiver without knowing how to get a specified AlarmManager. One is labeled as aSender and the other is labelled as bSender. -- 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

