TranslateAPI:简单的Java库,无需使用API​​ KEY即可使用Google Translate翻译文本

上传者: 42100129 | 上传时间: 2023-02-10 23:47:31 | 文件大小: 276KB | 文件类型: ZIP
翻译API 简单的Java库,无需使用API​​ KEY就可以使用Google Translate翻译文本 屏幕截图 下载 步骤1.将其添加到存储库末尾的root build.gradle中: allprojects { repositories { ... maven { url ' https://jitpack.io ' } } } 步骤2.添加依赖项 dependencies { implementation ' com.github.iammannan:TranslateAPI:1.1 ' } 完整代码-示例 TranslateAPI translateAPI = new TranslateAPI ( Language . AUTO_DETECT , // Source Language Language . TAMIL , // Target

文件下载

资源详情

[{"title":"( 52 个子文件 276KB ) TranslateAPI:简单的Java库,无需使用API​​ KEY即可使用Google Translate翻译文本","children":[{"title":"TranslateAPI-master","children":[{"title":".gitignore <span style='color:#111;'> 118B </span>","children":null,"spread":false},{"title":"app","children":[{"title":".gitignore <span style='color:#111;'> 7B </span>","children":null,"spread":false},{"title":"build.gradle <span style='color:#111;'> 999B </span>","children":null,"spread":false},{"title":"src","children":[{"title":"androidTest","children":[{"title":"java","children":[{"title":"com","children":[{"title":"mannan","children":[{"title":"translateapi","children":[{"title":"ExampleInstrumentedTest.java <span style='color:#111;'> 747B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"main","children":[{"title":"AndroidManifest.xml <span style='color:#111;'> 784B </span>","children":null,"spread":false},{"title":"res","children":[{"title":"mipmap-xhdpi","children":[{"title":"ic_launcher_round.png <span style='color:#111;'> 6.93KB </span>","children":null,"spread":false},{"title":"ic_launcher.png <span style='color:#111;'> 4.46KB </span>","children":null,"spread":false}],"spread":true},{"title":"mipmap-mdpi","children":[{"title":"ic_launcher_round.png <span style='color:#111;'> 2.79KB </span>","children":null,"spread":false},{"title":"ic_launcher.png <span style='color:#111;'> 2.05KB </span>","children":null,"spread":false}],"spread":true},{"title":"layout","children":[{"title":"activity_main.xml <span style='color:#111;'> 1.67KB </span>","children":null,"spread":false}],"spread":true},{"title":"mipmap-xxhdpi","children":[{"title":"ic_launcher_round.png <span style='color:#111;'> 10.43KB </span>","children":null,"spread":false},{"title":"ic_launcher.png <span style='color:#111;'> 6.31KB </span>","children":null,"spread":false}],"spread":true},{"title":"drawable","children":[{"title":"ic_launcher_background.xml <span style='color:#111;'> 5.47KB </span>","children":null,"spread":false}],"spread":false},{"title":"mipmap-anydpi-v26","children":[{"title":"ic_launcher_round.xml <span style='color:#111;'> 272B </span>","children":null,"spread":false},{"title":"ic_launcher.xml <span style='color:#111;'> 272B </span>","children":null,"spread":false}],"spread":false},{"title":"drawable-v24","children":[{"title":"ic_launcher_foreground.xml <span style='color:#111;'> 1.84KB </span>","children":null,"spread":false}],"spread":false},{"title":"mipmap-hdpi","children":[{"title":"ic_launcher_round.png <span style='color:#111;'> 4.91KB </span>","children":null,"spread":false},{"title":"ic_launcher.png <span style='color:#111;'> 2.98KB </span>","children":null,"spread":false}],"spread":false},{"title":"mipmap-xxxhdpi","children":[{"title":"ic_launcher_round.png <span style='color:#111;'> 15.16KB </span>","children":null,"spread":false},{"title":"ic_launcher.png <span style='color:#111;'> 9.03KB </span>","children":null,"spread":false}],"spread":false},{"title":"values","children":[{"title":"strings.xml <span style='color:#111;'> 75B </span>","children":null,"spread":false},{"title":"colors.xml <span style='color:#111;'> 208B </span>","children":null,"spread":false},{"title":"styles.xml <span style='color:#111;'> 383B </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"java","children":[{"title":"com","children":[{"title":"mannan","children":[{"title":"translateapi","children":[{"title":"MainActivity.java <span style='color:#111;'> 1.60KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"test","children":[{"title":"java","children":[{"title":"com","children":[{"title":"mannan","children":[{"title":"translateapi","children":[{"title":"ExampleUnitTest.java <span style='color:#111;'> 401B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"proguard-rules.pro <span style='color:#111;'> 751B </span>","children":null,"spread":false}],"spread":true},{"title":"settings.gradle <span style='color:#111;'> 32B </span>","children":null,"spread":false},{"title":"build.gradle <span style='color:#111;'> 546B </span>","children":null,"spread":false},{"title":"translateapi","children":[{"title":".gitignore <span style='color:#111;'> 7B </span>","children":null,"spread":false},{"title":"build.gradle <span style='color:#111;'> 806B </span>","children":null,"spread":false},{"title":"src","children":[{"title":"androidTest","children":[{"title":"java","children":[{"title":"com","children":[{"title":"mannan","children":[{"title":"translateapi","children":[{"title":"ExampleInstrumentedTest.java <span style='color:#111;'> 752B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"main","children":[{"title":"AndroidManifest.xml <span style='color:#111;'> 219B </span>","children":null,"spread":false},{"title":"res","children":[{"title":"values","children":[{"title":"strings.xml <span style='color:#111;'> 75B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"java","children":[{"title":"com","children":[{"title":"mannan","children":[{"title":"translateapi","children":[{"title":"TranslateAPI.java <span style='color:#111;'> 3.69KB </span>","children":null,"spread":false},{"title":"Language.java <span style='color:#111;'> 3.44KB </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":false}],"spread":true}],"spread":true},{"title":"test","children":[{"title":"java","children":[{"title":"com","children":[{"title":"mannan","children":[{"title":"translateapi","children":[{"title":"ExampleUnitTest.java <span style='color:#111;'> 401B </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"proguard-rules.pro <span style='color:#111;'> 751B </span>","children":null,"spread":false}],"spread":true},{"title":"gradlew <span style='color:#111;'> 4.85KB </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 1.41KB </span>","children":null,"spread":false},{"title":"demo1.png <span style='color:#111;'> 24.56KB </span>","children":null,"spread":false},{"title":"gradlew.bat <span style='color:#111;'> 2.26KB </span>","children":null,"spread":false},{"title":"gradle.properties <span style='color:#111;'> 730B </span>","children":null,"spread":false},{"title":".idea","children":[{"title":"misc.xml <span style='color:#111;'> 1.98KB </span>","children":null,"spread":false},{"title":"gradle.xml <span style='color:#111;'> 684B </span>","children":null,"spread":false},{"title":"vcs.xml <span style='color:#111;'> 180B </span>","children":null,"spread":false},{"title":"runConfigurations.xml <span style='color:#111;'> 564B </span>","children":null,"spread":false},{"title":"modules.xml <span style='color:#111;'> 494B </span>","children":null,"spread":false},{"title":"kotlinc.xml <span style='color:#111;'> 216B </span>","children":null,"spread":false}],"spread":true},{"title":"gradle","children":[{"title":"wrapper","children":[{"title":"gradle-wrapper.properties <span style='color:#111;'> 230B </span>","children":null,"spread":false},{"title":"gradle-wrapper.jar <span style='color:#111;'> 52.38KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"demo2.webp <span style='color:#111;'> 90.80KB </span>","children":null,"spread":false},{"title":"translateapi-release.aar <span style='color:#111;'> 19.71KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明