1. Dashboard
  2. Forum
    1. Unerledigte Themen
  3. Mitglieder
    1. Letzte Aktivitäten
    2. Benutzer online
    3. Team-Mitglieder
    4. Trophäen
    5. Mitgliedersuche
  4. Tutorial Bereich
  • Anmelden
  • Registrieren
  • Suche
Dieses Thema
  • Alles
  • Dieses Thema
  • Dieses Forum
  • Seiten
  • Forum
  • Lexikon
  • Erweiterte Suche
  1. Informatik Forum
  2. Webmaster & Internet
  3. Entwicklung

Android 4.1 - Wie "Userinstallable Keyboard Maps" implementieren

  • emptyvi
  • 11. November 2012 um 00:06
  • Unerledigt
  • emptyvi
    14
    emptyvi
    Logo 2012, Platz 2.
    Reaktionen
    102
    Punkte
    2.037
    Beiträge
    374
    • 11. November 2012 um 00:06
    • #1

    Hoioi!

    Als neues Feature von Jelly Bean wird auf der Entwicklerseite (http://developer.android.com/about/versions/jelly-bean.html) ja - unter anderem - folgendes angegeben:

    Zitat von http://developer.android.com/about/versions/jelly-bean.html


    [h=3]User-installable keymaps[/h] The platform now supports user-installable keyboard maps, such as for additional international keyboards and special layout types. By default, Android 4.1 includes 27 international keymaps for keyboards, including Dvorak. When users connect a keyboard, they can go to the Settings app and select one or more keymaps that they want to use for that keyboard. When typing, users can switch between keymaps using a shortcut (ctrl-space).
    You can create an app to publish additional keymaps to the system. The APK would include the keyboard layout resources in it, based on standard Android keymap format. The application can offer additional keyboard layouts to the user by declaring a suitable broadcast receiver for ACTION_QUERY_KEYBOARD_LAYOUTS in its manifest.

    Nun würde ich gerne genau das tun - eine App schreiben, die ein neues Keyboardlayout für externe Keyboards hinzufügt.
    Ich weiß nur leider nicht, wie genau das funktionieren soll.
    Das Keymap-File ist in der App als resource - soweit so klar. Man muss einen eigenen Broadcast-Receiver für den Intent ACTION_QUERY_KEYBOARD_LAYOUTS angeben - verstehe ich auch noch. Was ich allerdings nicht weiß, ist, was genau dieser BroadcastReceiver machen soll, wenn er den Intent erhält.
    Habe jetzt schon relativ lange gesucht, finde aber irgendwie absolut _gar nichts_. Die Suche nach dem Intent ergibt bei mir eigentlich ausschließlich Seiten, die die Beschreibung zu Android 4.1 kopiert haben. :thinking_face:
    Würde mich wirklich freuen, wenn mir wer weiterhelfen könnte (oder mir nen Hinweis geben kann, wo ich nachschauen könnte)

    Liebe Grüße
    emptyvi


    ¤¸¸.•´¯`•¸¸.•..>> Join the herd, join "My Little Pony @ TU-Wien" <<..•.¸¸•´¯`•.¸¸¤
    ¤¸¸.•´¯`•¸¸.•..>> (100% Twilight Sparkle approved) <<..•.¸¸•´¯`•.¸¸¤


    PP-Tutor WS2011 - WS2014
    EVC-Tutor SS2015


  • Maximilian Rupp 27. Dezember 2024 um 00:26

    Hat das Thema aus dem Forum Programmieren nach Entwicklung verschoben.

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!

Benutzerkonto erstellen Anmelden

Benutzer online in diesem Thema

  • 1 Besucher

Rechtliches

Impressum

Datenschutzerklärung