How to use google translator app

praew_z picture praew_z · Feb 8, 2011 · Viewed 9.7k times · Source

I coded program about dictionary sentence and I want to have function to go to "google translator" application in my app

How can I use it , Should I import anything?

Answer

Felix picture Felix · Feb 8, 2011

From what I can tell, the Google Translate Android app does not expose any standard Intents that you could use (it's a pitty, but it's weird at the same time. You'd think Google would encourage this type of interaction between apps.. anyway).

However, it seems Google have opened up the translate API via a web service. This way, you can do the translation yourself and show it within your app. It's a bit more work, but it should do the job.

You could look at google-api-translate-java if you want to spare yourself from writing an API wrapper.