extending soft-keyboard with language switching support?

by Henrik » Fri, 23 Apr 2010 08:03:47 GMT

Sponsored Links
 I just got my HTC Desire with Android 2.1, and the first problem I'm
running into a lot is when using the visual keyboard.  Being
multilingual and having friends who only speak one particular
language, there's no single 'correct' input language setting for the
word prediction feature, so I started looking into how much work it
might be to extend the keyboard with two rather basic, though
essential, features:

1)  Showing the current language selection, so that I don't have to
type stuff, getting it mis-corrected, then discover the language
setting must be wrong, go into the settings, select to change
language, select language, etc... until I get back, erase the old text
and start over. That gets old real quick..

2)  Being able to simple change whatever language is used for the word
prediction by just having a button on the keyboard doing that
directly, i.e. a button that just cycles through the 'relevant'
languages with the key label showing which is currently active.

Improving it even further, one might imagine:

3)  Having a per contact setting, noting the word-prediction language
that should be used when communicating with that user.

But searching through the docs, I'm slowly coming to the realization
that the input text language setting may not even be available to be
changed outside the system settings dialog, making this impossible to
implement - is that correct?

Henrik Gram


Other Threads

1. Market Quality Suggestion


I have a suggestion to make to Google.

I think (and I know I am not alone thinking this..) that the Quality of the
applications on the market needs to improve. Or rather, the low quality
applications needs to be filtered out.

The Big Fruit has solved this by an approval process. While this has proven
to be a good solution to increase the quality of all applications, it is
also a system that prevent many good apps from reaching an audience.

A middle ground that Google could adopt is to have a group that does
approvals on apps just like The Big Fruit, which let's apps into a special
category. Apps that have not yet been approved could however still exist,
but in the unapproved category. This "unapproved" category could work just
like the current market and thus enable the current breadth of applications,
but the "approved" category would enable people to find better apps faster,
and feel safer about the intentions of the application.

To improve first impressions phones should default to only show "Approved"
apps, but enabling non-approved apps should be easily done.

   Best Regards


2. when video duration or date_modified attribute available through content provider

Just to save someone the misery I had to go through. What is required
is a media scan of the SDCARD to make these properties available
through the content provider and android does this when the media is

sendBroadcast(new Intent(Intent.ACTION_MEDIA_MOUNTED,
Uri.parse("file://" + Environment.getExternalStorageDirectory())));


3. How to set location information permanently in the emulator

4. track-ball and qwerty keypad..causing error in tabview

5. Flashing your Google I/O Device with a Factory System Image

6. Can't make restartPackage() / killBackgroundProcesses() to work

7. Launch Browser in maximised/minimised mode