一般來說收boot complete只要加 boot complete權限在AndroidManifest.xml:
<action android:name="android.intent.action.BOOT_COMPLETED"/>
然後做一個Receiver就收的到
if( action.equals(Intent.ACTION_BOOT_COMPLETED))
但在 InputMethodService.java裡面要怎麼加?
我有試過core/res/res/AndroidManifest.xml
還是沒用
請大家指點
謝謝