gpt4 book ai didi

android - 如何在 Android 应用程序中提供翻译服务

转载 作者:塔克拉玛干 更新时间:2023-11-03 00:43:15 28 4
gpt4 key购买 nike

如何在 Android 应用程序中调用翻译服务?我们能否拥有一款可以将多种语言翻译成另一种语言的应用程序?

最佳答案

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

你问:

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

Google Translate似乎是在 Android 应用程序中使用的显而易见的服务。

an unofficial Java client API您可以在您的应用程序中使用来调用 Google 翻译。

如果你使用它,请确保你给你的申请 the INTERNET permission这样它就可以建立适当的网络连接。

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

绝对有可能创建一个 Android 应用程序来执行此操作,因为 Google already have made a Google Translate application ,还有lots of other people .

关于android - 如何在 Android 应用程序中提供翻译服务,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2325547/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com