Highlighted

Can I get the used Keyboard language from Android device?

New Here ,
Aug 13, 2014

Copy link to clipboard

Copied

Can I get the used Keyboard language from Android device for external keyboard?

TOPICS
Development

Views

245

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

Can I get the used Keyboard language from Android device?

New Here ,
Aug 13, 2014

Copy link to clipboard

Copied

Can I get the used Keyboard language from Android device for external keyboard?

TOPICS
Development

Views

246

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Aug 13, 2014 0
Engaged ,
Aug 13, 2014

Copy link to clipboard

Copied

If I understand you correctly and are just wanting to get a string value of the language name or country, then in theory yes. According to the link below, you should be able to get the current language but you will need to create a native extension to do so. The first answer has no votes, but it seems like an easy way to do it.

java - Get keyboard language or detect user input language in Android - Stack Overflow

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Aug 13, 2014 0
Engaged ,
Sep 03, 2014

Copy link to clipboard

Copied

In case you were interested and it still mattered to you, I started making a native extension that could do what you would like. The ANE can also pretty much do everything the Locale class in Java can do. Im still wrapping things up and adding onto what the Locale class in Java does. Will post back with a link whenever I get to a good "finished" state for others to test and use.

Locale | Android Developers

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Sep 03, 2014 0