首页 移动开发 Android     /    Android网络请求OkHttp的使用demo代码

Android网络请求OkHttp的使用demo代码

上传者: yubo_725 | 上传时间:2024/4/13 17:23:38 | 文件大小:2.82MB | 文件类型:zip
Android网络请求OkHttp的使用demo代码
Android网络请求OkHttp的使用demo代码 本软件ID:9494895

文件下载

资源详情

[{"title":"(66个子文件2.82MB)Android网络请求OkHttp的使用demo代码","children":[{"title":"TestOkHttp","children":[{"title":"gradlew <span style='color:#111;'>4.85KB</span>","children":null,"spread":false},{"title":"settings.gradle <span style='color:#111;'>16B</span>","children":null,"spread":false},{"title":".idea","children":[{"title":"libraries","children":[{"title":"appcompat_v7_23_1_1.xml <span style='color:#111;'>764B</span>","children":null,"spread":false},{"title":"support_annotations_23_1_1.xml <span style='color:#111;'>501B</span>","children":null,"spread":false},{"title":"support_v4_23_1_1.xml <span style='color:#111;'>906B</span>","children":null,"spread":false},{"title":"okhttp_3_2_0.xml <span style='color:#111;'>517B</span>","children":null,"spread":false},{"title":"okio_1_6_0.xml <span style='color:#111;'>501B</span>","children":null,"spread":false}],"spread":true},{"title":"runConfigurations.xml <span style='color:#111;'>564B</span>","children":null,"spread":false},{"title":"misc.xml <span style='color:#111;'>2.17KB</span>","children":null,"spread":false},{"title":"compiler.xml <span style='color:#111;'>686B</span>","children":null,"spread":false},{"title":"workspace.xml <span style='color:#111;'>156.31KB</span>","children":null,"spread":false},{"title":"gradle.xml <span style='color:#111;'>608B</span>","children":null,"spread":false},{"title":".name <span style='color:#111;'>10B</span>","children":null,"spread":false},{"title":"encodings.xml <span style='color:#111;'>159B</span>","children":null,"spread":false},{"title":"modules.xml <span style='color:#111;'>357B</span>","children":null,"spread":false},{"title":"copyright","children":[{"title":"profiles_settings.xml <span style='color:#111;'>76B</span>","children":null,"spread":false}],"spread":true},{"title":"vcs.xml <span style='color:#111;'>164B</span>","children":null,"spread":false}],"spread":false},{"title":"TestOkHttp.iml <span style='color:#111;'>941B</span>","children":null,"spread":false},{"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":".gradle","children":[{"title":"2.8","children":[{"title":"taskArtifacts","children":[{"title":"cache.properties.lock <span style='color:#111;'>17B</span>","children":null,"spread":false},{"title":"fileHashes.bin <span style='color:#111;'>124.73KB</span>","children":null,"spread":false},{"title":"outputFileStates.bin <span style='color:#111;'>19.40KB</span>","children":null,"spread":false},{"title":"taskArtifacts.bin <span style='color:#111;'>52.76KB</span>","children":null,"spread":false},{"title":"fileSnapshots.bin <span style='color:#111;'>1.39MB</span>","children":null,"spread":false},{"title":"cache.properties <span style='color:#111;'>31B</span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"local.properties <span style='color:#111;'>504B</span>","children":null,"spread":false},{"title":"gradlew.bat <span style='color:#111;'>2.35KB</span>","children":null,"spread":false},{"title":"gradle.properties <span style='color:#111;'>872B</span>","children":null,"spread":false},{"title":".gitignore <span style='color:#111;'>105B</span>","children":null,"spread":false},{"title":"app","children":[{"title":"src","children":[{"title":"androidTest","children":[{"title":"java","children":[{"title":"com","children":[{"title":"test","children":[{"title":"testokhttp","children":[{"title":"ApplicationTest.java <span style='color:#111;'>362B</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":"test","children":[{"title":"testokhttp","children":[{"title":"ExampleUnitTest.java <span style='color:#111;'>326B</span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":false}],"spread":false}],"spread":true},{"title":"main","children":[{"title":"AndroidManifest.xml <span style='color:#111;'>1.04KB</span>","children":null,"spread":false},{"title":"res","children":[{"title":"mipmap-hdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'>3.34KB</span>","children":null,"spread":false}],"spread":false},{"title":"mipmap-xxxhdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'>10.24KB</span>","children":null,"spread":false}],"spread":false},{"title":"mipmap-xhdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'>4.73KB</span>","children":null,"spread":false}],"spread":false},{"title":"mipmap-mdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'>2.15KB</span>","children":null,"spread":false}],"spread":false},{"title":"drawable","children":null,"spread":false},{"title":"layout","children":[{"title":"activity_upload.xml <span style='color:#111;'>1.18KB</span>","children":null,"spread":false},{"title":"activity_get_example.xml <span style='color:#111;'>1.22KB</span>","children":null,"spread":false},{"title":"activity_post_example.xml <span style='color:#111;'>1.21KB</span>","children":null,"spread":false},{"title":"activity_download.xml <span style='color:#111;'>1.18KB</span>","children":null,"spread":false},{"title":"activity_main.xml <span style='color:#111;'>1.45KB</span>","children":null,"spread":false}],"spread":false},{"title":"values-w820dp","children":[{"title":"dimens.xml <span style='color:#111;'>364B</span>","children":null,"spread":false}],"spread":false},{"title":"values","children":[{"title":"colors.xml <span style='color:#111;'>214B</span>","children":null,"spread":false},{"title":"strings.xml <span style='color:#111;'>76B</span>","children":null,"spread":false},{"title":"styles.xml <span style='color:#111;'>394B</span>","children":null,"spread":false},{"title":"dimens.xml <span style='color:#111;'>216B</span>","children":null,"spread":false}],"spread":false},{"title":"mipmap-xxhdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'>7.54KB</span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"assets","children":[{"title":"info.txt <span style='color:#111;'>54B</span>","children":null,"spread":false}],"spread":false},{"title":"java","children":[{"title":"com","children":[{"title":"test","children":[{"title":"testokhttp","children":[{"title":"UploadActivity.java <span style='color:#111;'>6.84KB</span>","children":null,"spread":false},{"title":"MainActivity.java <span style='color:#111;'>972B</span>","children":null,"spread":false},{"title":"GetExampleActivity.java <span style='color:#111;'>2.72KB</span>","children":null,"spread":false},{"title":"PostExampleActivity.java <span style='color:#111;'>4.74KB</span>","children":null,"spread":false},{"title":"DownloadActivity.java <span style='color:#111;'>5.93KB</span>","children":null,"spread":false},{"title":"BaseHttpManager.java <span style='color:#111;'>3.46KB</span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":false}],"spread":false}],"spread":false}],"spread":true},{"title":"libs","children":null,"spread":false},{"title":"app.iml <span style='color:#111;'>7.04KB</span>","children":null,"spread":false},{"title":".gitignore <span style='color:#111;'>8B</span>","children":null,"spread":false},{"title":"build.gradle <span style='color:#111;'>695B</span>","children":null,"spread":false},{"title":"proguard-rules.pro <span style='color:#111;'>665B</span>","children":null,"spread":false}],"spread":true},{"title":"build.gradle <span style='color:#111;'>521B</span>","children":null,"spread":false}],"spread":false},{"title":"服务端代码","children":[{"title":"okhttp","children":[{"title":"test.pdf <span style='color:#111;'>2.72MB</span>","children":null,"spread":false},{"title":"test_simple_post.php <span style='color:#111;'>338B</span>","children":null,"spread":false},{"title":"test_param_get.php <span style='color:#111;'>269B</span>","children":null,"spread":false},{"title":"test_simple_get.php <span style='color:#111;'>99B</span>","children":null,"spread":false},{"title":"test_upload_file.php <span style='color:#111;'>121B</span>","children":null,"spread":false},{"title":"test_param_post.php <span style='color:#111;'>477B</span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}]

评论信息

  • #青草:
    nice很不错的demo4个基本功能都提及了2020-04-16
  • 彬彬杨:
    谢谢分享。。。2019-04-22
  • ykl2500:
    已经用上,感谢作者。2018-08-29
  • 没事玩起凡:
    很有用,在项目中用到了2018-07-19
  • 时过境牵:
    资源很好就是我的gradle有问题。。2018-05-10

免责申明

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