• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
Locked
0

Can I get the used Keyboard language from Android device?

Guest
Aug 13, 2014 Aug 13, 2014

Copy link to clipboard

Copied

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

TOPICS
Development

Views

317

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
community guidelines
Guest
Aug 13, 2014 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

Votes

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
community guidelines
Guest
Sep 03, 2014 Sep 03, 2014

Copy link to clipboard

Copied

LATEST

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

Votes

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
community guidelines