[問題] InputMethodService收boot complete

作者: magic704226 (梅姬?沒雞?傻傻分不清楚)   2014-05-21 16:52:44
一般來說收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
還是沒用
請大家指點
謝謝

Links booklink

Contact Us: admin [ a t ] ucptt.com