4 years ago (2015-08-24)  Software development |   First to comment  6 
post score 0 times, average 0.0

Since Baidu Translation, Youdao Translation, and other translation services all open their own APIs, developers can develop their own translation software using the API they provide.The software developed by oneself may not be as powerful as their functions, but the result of the translation is the same. At the same time, other processes that sneak traffic are not built in. At the same time, the interface is relatively simple and can be modified as desired. Android (Java) parsing way translation API - Json data First, after applying the API ID and KEY to the API, the client ID and clientSecret in the following program are replaced with the ID and KEY, and the string is parsed through the GET request.Here is the code that I used to parse JSON data in java:

Android (Java) parsing way translation API - Json data

 

 

This article has been printed on copyright and is protected by copyright laws. It must not be reproduced without permission.If you need to reprint, please contact the author or visit the copyright to obtain the authorization. If you feel that this article is useful to you, you can click the "Sponsoring Author" below to call the author!

Reprinted Note Source: Baiyuan's Blog>>https://wangbaiyuan.cn/en/android-java-parsing-api-youdao-translation-json-data-2.html

Post comment

Style

No Comment

登录

Forget password?

您也可以使用第三方帐号快捷登录

切换登录

注册

TW