How to have a translation service in android app

白昼怎懂夜的黑 提交于 2019-11-28 09:31:10

Edit - Google have deprecated the Translation API due to "misuse". Apertium is a possible alternative.

You asked:

How can a translation service be called in an Android app?

Google Translate would seem to be the obvious service to use in an Android App.

There is an unofficial Java client API you could use in your application to make the calls to Google Translate.

If you use this, make sure you give your application the INTERNET permission so it can make the appropriate network connections.

Can we have an app that can translate multiple languages into another?

It's definitely possible to create an Android app to do this because Google already have made a Google Translate application, as have lots of other people.

considering the fact that this answer I am posting is quite late,but it could help other. first thing google has deprecated translater api version 1,and the version 2 it has launched comes under paid service.here is a link from bing which is totally free and has given complete steps to use it in your application.http://www.microsoft.com/web/post/using-the-free-bing-translation-apis

I wrote a class to easily translate text based on google-api-translate. All you have to do is get the device's locale and you can easily translate any text to the devices current language setting. See android-translate-api

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!