Re: [android-beginners] Airplane mode

2010-08-09 Thread Jenus Dong
*public* AirplaneModeEnabler*(*Context context, CheckBoxPreference airplaneModeCheckBoxPreference*)* *{* mContext = context; mCheckBoxPref = airplaneModeCheckBoxPreference; airplaneModeCheckBoxPreference.setPersistent*(**false**)*; mPhoneStateReceiver = *new* Phon

[android-beginners] Airplane mode

2010-08-07 Thread Webgenius
Hi, In AirplaneModEnabler.java present in ..\packages\apps\Settings\src\com \android\settings, the handler looks for EVENT_SERVICE_STATE_CHANGED to toggle the state of the checkbox and to display the summary. When and from where is EVENT_SERVICE_STATE_CHANGED triggered? Currently the airplane mod