Voice Search App for Android Now Support 42 Languages; Creating Spelling Checker Service for Android

Google Voice Search app for Android already available in 29 languages, today, added support to 13 new languages--bringing the total to 42 languages and accents in 46 countries.With Voice Search app you can speak into your phone to get search results quickly and easily and you can also control your phone with Voice Actions."Quickly search […]

Google Voice Search app for Android already available in 29 languages, today, added support to 13 new languages--bringing the total to 42 languages and accents in 46 countries.

With Voice Search app you can speak into your phone to get search results quickly and easily and you can also control your phone with Voice Actions.

"Quickly search your phone, the web, and nearby locations by speaking, instead of typing. Call your contacts, get directions, and control your phone with Voice Actions," Google stated.

Note that you can only speak one language into the app at a time, and you may need to change your language settings to use one of these new languages.

Google also added today, one of the major benefits to Google's cloud-based model is that the more people use Voice Search, the more accurate it becomes.

To get started with Google Voice Search, if your phone runs Android 2.2 or later, and you see the microphone icon on the Google Search widget on your homescreen, all you have to do is tap the icon to start a voice-powered search. Otherwise, you can install the Voice Search app from Google Play.

Voice Search Android App Now Support 42 LanguagesVoice Search app for Android adds 13 new languages now support 42 languages

Google also today posted a walkthrough to help Android developers to create their own spelling checker service.

"The Spelling Checker framework improves the text-input experience on Android by helping the user quickly identify and correct spelling errors. Input Method Editor (IME) developer, can add their own spelling checker service to IME to provide consistent spelling error corrections from your own custom dictionary. Your spelling checker can recognize and suggest corrections for the vocabularies that are most important to your users, and if your language isn't supported by the built-in spelling checker, you can provide a spelling checker for that language," Google explained.

"The Spelling Checker APIs let you create your own spelling checker service with minimal steps. The framework manages the interaction between your spelling checker service and a text input field," Google adds

In addition to step-by-step guide, Google also shared following documents and samples to help learn more about how to use the spelling checker APIs:

  • Spelling Checker Framework API Guide -- a developer guide covering the Spelling Checker API for clients and services.
  • SampleSpellCheckerService sample app -- helps you get started with your spelling checker service.
    • You can find the app at /samples/android-15/SpellChecker/SampleSpellCheckerService in the Samples download.
  • HelloSpellChecker sample app -- a basic app that uses a spelling checker.
    • You can find the app at /samples/android-15/SpellChecker/HelloSpellChecker in the Samples download.

And, to learn how to download sample apps for the Android SDK, see this Samples.

Below is a quick run of all the steps requied to create the spelling checker service:

  • "Create a spelling checker service class that extends android.service.textservice.SpellCheckerService.
  • Next, in your subclass of SpellCheckerService, implement the methods createSession() and onGetSuggestions().
  • Register the spelling checker service in AndroidManifest.xml
  • Create a metadata XML resource file for your spelling checker to define the Activity to use for controlling spelling checker settings. The metadata file can also define subtypes for the spelling checker. Place the file in the location specified in the element of the spelling checker declaration in the manifest file," explains Google.
  • That's it! Your spelling checker service is now available to client applications such as your IME.

    Bonus points: Add batch processing of multiple sentences- For faster, more accurate spell-checking, Android 4.1 (Jelly Bean) introduces APIs that let clients pass multiple sentences to your spelling checker at once.

Creating own Spelling Checker Service for Android