patch to translate by implicit intent
Opened this issue · 1 comments
GoogleCodeExporter commented
"Translate" remains very popular on the Android Market. As a developer, I
appreciate being able to leverage existing applications. The proposed patch
allows the app to respond to either the "SEND" or "TRANSLATE" (see
http://www.openintents.org/en/node/286) actions.
New Extras are:
*android.intent.extra.translate.FROM_LANGUAGE
*android.intent.extra.translate.TO_LANGUAGE
and Intent.EXTRA_TEXT is used for the source text.
Apply patches via:
patch -p1 < AndroidManifest.xml.patch
and
patch -p1 < TranslateActivity.java.patch
from the root directory of apps-for-android from SVN.
Original issue reported on code.google.com by kostmo
on 4 Nov 2009 at 12:33
Attachments:
GoogleCodeExporter commented
Made a better patch that makes the TO/FROM fields optional.
Original comment by kostmo
on 5 Nov 2009 at 11:34
Attachments: