Creating custom keyboard with spelling for Android - android

I would like to create my keyboard with corrective and spelling for using in every application or website on my device. Please suggest me about how possible and reference of my project.

You have to create an InputMethodService and it will work on all apps.
There is a lot of explanation. But i will include some basic. let me know if you have any confusion.
Read this tutorial create an InputMethod and then go through the second one
And two great tutorial are this and openSource LatinIME

Spelling Checker Framework
The Android platform offers a spelling checker framework that lets you implement and access spell checking in your application. The framework is one of the Text Service APIs offered by the Android platform.
To use the framework in your app, you create a special type of Android service that generates a spelling checker session object. Based on text you provide, the session object returns spelling suggestions generated by the spelling checker.
you can see this link https://developer.android.com/guide/topics/text/spell-checker-framework.html

Related

API for check spelling in Android

I'm learning about natural language processing, and are required to make a project.
I'm trying to build an application that checks spelling for Vietnamese. However, I just stopped in putting data into the software. I do not know how to split the input data and how to write the code to checks spelling.
I know, Android have APIs support this. Who can recommend me an API and how to use it? Thanks a lot!

Android - Custom made spell checker

I'm wondering if its possible to create a custom spell checker that other apps will use when they request spell checking.
The setting is here: http://i.imgur.com/15Co3t3.jpg
On my current phone, there are 2, Htc's own spell checker and googles. This led me to wonder if its possible to create my own.
I understand it would never be as good as the existing ones, but for some situations, a fully custom spell checker could be useful.
Is it possible to do this?
Its a good idea to check these useful and well-designed spell checker libraries.
1) spell-check-android (link)
2) HelloSpellChecker (link)
3) AndroidHunspellService (link)
4) Spell Checker (link)
5) Android's Spelling Checker Framework (link)
If you are in a hurry, you can directly use them in your project (just remember to give proper credit) or you can see how these libraries have been developed. These samples can help you a lot learn and implement it yourself. Learn the best from all.

Offline spell checking api

I'm building my own custom IME and want to include spell checking. Are there any offline spell checking api's that are available?
From the API guide:
The Android platform offers a spelling checker framework that lets you
implement and access spell checking in your application. The framework
is one of the Text Service APIs offered by the Android platform.
Source here.
You can also find a sample spelling checker app in your SDK sample folder.
Languagetool is Java a based spell checking and proofreading software that might fit.
See
https://www.languagetool.org/
http://wiki.languagetool.org/java-api
https://stackoverflow.com/questions/tagged/languagetool
It's been successfully used with android. See userforum.

What is recommended way to include android source code in addition to android SDK?

I am a new developer for android programming. I understand android SDK does not contain all classes from android source code. For example, AtCommandResult.class is missing (hiding) from android.bluetooth package in the SDK.
Sometimes, however, I want to use the hidden code in my app and I wonder what would be the best way to do that. One approach I can think of would be to include its corresponding source code in my project with different package name to avoid conflict with existing core. But problem with this approach would be I have to maintain the code by myself from that point. One or two classes are OK but you know where I am going.
Is there any better way other than bothering google to include the code in the SDK? Thanks in advance.
You may want to use a .AIDL file:
http://developer.android.com/guide/developing/tools/aidl.html
Those can already be used to access for example in Telephony functions.
Code example here:
http://code.google.com/p/auto-answer/source/browse/trunk/src/com/android/internal/telephony/ITelephony.aidl?r=13

Android App - XML or java

I am currently starting to create an app for a small charity company. But I'm not entirely sure how to properly learn how to code for the Android OS. I have searched online for tutorials, but most stop at the same stage and only show you how to launch the "helloWorld" app.
My question is this:
1) Will using solely XML be sufficient to code an app? Does it require working in partnership with Java?
2) Does anyone know of any books, recommended books of course, that break everything down for you step-by-step?
Android Developer site very good to give you all ideas. Start from Hello, World
1.) Not at all. XML is ONLY used for the layouts.
2.) There are a few books out there that I'm sure someone will come along and recommend, but I've found the tutorials here to be the best start.
In your case, I'd look at AppInventor which allows you to create small Apps without coding (at least that's what it says, haven't used it yet myself)
1) No, you can use XML for interface, but you can't write an Android app in XML :) You are not required to work with Java, but Android language is based on Java, so knowing Java is an advantage while learning to code.
2) Did you installed Eclipse and the plugin for Android?
The Android Training is pretty useful, and I've learnt a lot from the tutorials and the sample code provided there. (The Notepad app is way more complex than the Hello World tutorial ;)!).
Also, take a look at the answers on that question: How can I learn Android?

Categories

Resources