Skip to content

jimregan/Apertiurm-Androind-app-devlopment

 
 

Repository files navigation

Apertium on mobile

Port Apertium to Android and possibly iPhone. Apertium has a Java port which doesn't currently work on mobile telephones. Lots of people have mobile telephones, and some of them would like to have a translator there.

Features [version 2.3.6]

ClipBoard Handling
Although the translated text is rendered on android.widget.EditText from which user can select and copy. But having a feature to automatic copying of text to clipboard helps more. Also, there is a option to fill input text field from text on clipboard.

Download Activity
Alt download

  • User can download language pair from SVN over internet.
  • Progress bar showing status of package being downloaded.
  • At present only shipped with temp SVN

Desktop Widget
Alt widget

  • User can place at maximum of five translation mode shortcut for quick translation.
  • Easy to config widget from setting panel of application
  • At present only support single instance.
  • Future work, to create multiple instance of widget

Caching support
Alt cache

  • The cache feature developed by Mikel on lttoolbox, has been added to application
  • This make subsequent translation instantaneously
  • Can easliy be enable/disable from setting panel

New setting panel
In earlier version there was absence of standard setting panel

Technical approach

For basic feature

  1. Language pair
    • For language pair is I have used a zip-compress file which include Install.json in root. Install.xml contains information about installation and language pairs.
      Structure of Install.json
      {"pair": {
      	"id":"eo-en",
      	"version" : "2.0.13",
      	"modes": {
      		"modeitem" : [
      			{"id" : "eo-en", "title" : "Esperanto-English"},
      			{"id" : "en-eo", "title" : "English-Esperanto"}
      		]
      	}			
      }}
      
      Download dummy Language pair package (en-eo)
      [Note : It is en-eo language translation]
    • Jar file can be also used to serve same purpose without extraction
    • SVN to fetch content from remote server
  2. Share intent

    Android share intent features inorder to connect with other installed application in device.

Links

  1. http://apertium.org
  2. http://wiki.apertium.org/wiki/User:Arinkverma
  3. http://www.arinkverma.in/2012/06/apertium-android-23.html

About

Apertium on your mobile

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%