简体   繁体   中英

Android: Set Default soft keyboard

I have created a softkeyboard application. I would like to set it as my default soft keyboard while installing. Is it possible to add code in my softkeyboard application coding to set this keyboard as default keyboard while installing?

No, you cannot set change the keyboard settings from your application. That would be a huge security risk.

Instead, do what most 3rd party keyboards do, bundle a small activity with your keyboard, where you tell the user how to change the keyboard settings, and also a button that takes the user to the correct settings page.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM