summaryrefslogtreecommitdiffstats
path: root/apps/hosted/android/keyboard.c
AgeCommit message (Collapse)AuthorFilesLines
2020-07-22keyboard add ability to specify temporary custom layoutsWilliam Wilgus1-1/+2
rb core allows you to load custom keyboard layouts this patch adds the ability to load a keyboard layout in a buffer the custom layout is temporary and does not overwrite the current layout use like so: unsigned short kbd[64]; unsigned short *kbd_p = kbd; if (!kbd_create_layout("ABCD1234\n", kbd, sizeof(kbd))) kbd_p = NULL; rb->kbd_input(buf,sizeof(buf), kbd_p); Change-Id: I7be2bd4a1b4797a147fa70228a9749dc56ac052a
2011-03-16Android: Partly revert r29569 and only call the new getJavaEnvironment() ↵Thomas Martitz1-4/+1
when needed. The environment is fine to share in general, just not across OS threads, so it's only needed for functions which are possibly called from multiple OS threads (only 1 currently). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29601 a1c6a512-1295-4272-9138-f99709370657
2011-03-11Partly revert "Android: use NewGlobalRef for references that are used globally"Maurus Cuelenaere1-7/+4
The added complexity wasn't needed for most subsystems, as main() never returns so local references can't be freed. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29570 a1c6a512-1295-4272-9138-f99709370657
2011-03-11Android: Don't share the JNI environment across threads, but obtain it theMaurus Cuelenaere1-1/+4
correct way git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29569 a1c6a512-1295-4272-9138-f99709370657
2011-03-11Android: use NewGlobalRef for references that are used globallyMaurus Cuelenaere1-4/+7
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29568 a1c6a512-1295-4272-9138-f99709370657
2011-03-11RaaA: move Android apps-code to separate dir under apps/hostedMaurus Cuelenaere1-0/+119
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29563 a1c6a512-1295-4272-9138-f99709370657