パーミッションがあるとはいえ、システムイベントを拾うブロードキャストの状態がどうなっているか
スクリプト書いて総当りで broadcast intent 投げたけど
ログをチラ見ながらだけどもあんま特に.
(詳細見たらなんかあんだろ?)
カメラは起動できるのな.
#!/bin/sh #set -x while read action ; do action=`echo ${action#*_}` command="adb shell am broadcast -a android.intent.action.${action}" echo ${command} ${command} sleep 3 done <<EOS ACTION_AIRPLANE_MODE_CHANGED ACTION_BATTERY_CHANGED ACTION_BATTERY_LOW ACTION_BATTERY_OKAY ACTION_CAMERA_BUTTON ACTION_CLOSE_SYSTEM_DIALOGS ACTION_CONFIGURATION_CHANGED ACTION_DEVICE_STORAGE_LOW ACTION_DEVICE_STORAGE_OK ACTION_DOCK_EVENT ACTION_DREAMING_STARTED ACTION_DREAMING_STOPPED ACTION_EXTERNAL_APPLICATIONS_UNAVAILABLE ACTION_GET_RESTRICTION_ENTRIES ACTION_GTALK_SERVICE_CONNECTED ACTION_GTALK_SERVICE_DISCONNECTED ACTION_INPUT_METHOD_CHANGED ACTION_LOCALE_CHANGED ACTION_MANAGE_PACKAGE_STORAGE ACTION_MEDIA_BAD_REMOVAL ACTION_MEDIA_CHECKING ACTION_MEDIA_EJECT ACTION_MEDIA_MOUNTED ACTION_MEDIA_NOFS ACTION_MEDIA_REMOVED ACTION_MEDIA_SCANNER_FINISHED ACTION_MEDIA_SCANNER_SCAN_FILE ACTION_MEDIA_SCANNER_STARTED ACTION_MEDIA_UNMOUNTABLE ACTION_MEDIA_UNMOUNTED ACTION_MY_PACKAGE_REPLACED ACTION_NEW_OUTGOING_CALL ACTION_PACKAGE_ADDED ACTION_PACKAGE_CHANGED ACTION_PACKAGE_DATA_CLEARED ACTION_PACKAGE_FIRST_LAUNCH ACTION_PACKAGE_FULLY_REMOVED ACTION_PACKAGE_INSTALL ACTION_PACKAGE_NEEDS_VERIFICATION ACTION_PACKAGE_REMOVED ACTION_PACKAGE_REPLACED ACTION_PACKAGE_RESTARTED ACTION_PACKAGE_VERIFIED ACTION_POWER_CONNECTED ACTION_POWER_DISCONNECTED ACTION_PROVIDER_CHANGED ACTION_QUICK_CLOCK ACTION_REBOOT ACTION_SCREEN_OFF ACTION_SCREEN_ON ACTION_TIMEZONE_CHANGED ACTION_TIME_CHANGED ACTION_TIME_TICK ACTION_UID_REMOVED ACTION_UMS_CONNECTED ACTION_UMS_DISCONNECTED ACTION_UNINSTALL_PACKAGE ACTION_USER_BACKGROUND ACTION_USER_FOREGROUND ACTION_USER_INITIALIZE ACTION_USER_PRESENT ACTION_WALLPAPER_CHANGED EOS # 落ちる(CM11Nightly) #ACTION_BOOT_COMPLETED #ACTION_EXTERNAL_APPLICATIONS_AVAILABLE
それぞれの詳細は以下にて.