登录
首页 » Android » 封装okhttp请求

封装okhttp请求

于 2022-07-20 发布 文件大小:192.77 kB
0 127
下载积分: 2 下载次数: 1

代码说明:

1.封装了ok http框架,okhttp 是专门用来请求网络的框架。目前是比较好用的框架,但是 使用的时候也要封装一下。封装后方便直接拿来用,无需考虑一些其他bug什么的

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 安卓无线控温 实例源码(控制温度)
    通过手机app遥控下位机进行温度的控制,手机可以读取温度值等的数据,并且可以自动发送指令,到达设定的温度后,手机可通过响铃或震动来提示用户。
    2017-02-08下载
    积分:1
  • android蓝牙通讯
    蓝牙通讯的一份完整的学习源码,包含了蓝牙的搜索,配对,通讯等所有操作。 讲得挺详细的
    2022-07-01 00:25:46下载
    积分:1
  • 视频播放器无源码
    视频播放器无源码,转载至csdn,非原创,是一个视频播放器的课程设计报告
    2023-01-19 11:10:04下载
    积分:1
  • Android 演示使用GPS定位获取位置信息
    Android 演示使用GPS定位获取位置信息,得到LocationManager对象,当LocationManager的provider的状态改变时被调用,得到的实时位置信息包括:经度、纬度、高度和方向信息。
    2022-04-08 08:31:29下载
    积分:1
  • FM AOSP编程源码
    扒谷歌下来的源码值得一看,会自己鼓捣ROM的大佬可以用来学习
    2022-07-22 20:43:25下载
    积分:1
  • QR_CodeScan
    将蓝牙地址做成二维码,手机扫码直接蓝牙连接。(Make Bluetooth address into two-dimensional code, scan code and connect directly with Bluetooth.)
    2020-06-21 17:40:01下载
    积分:1
  • Evito_Ball
    android小游戏,迷宫小球,初学游戏编程的同学可以看一看(android games, maze ball, game programming beginner students can take a look)
    2014-01-15 18:49:17下载
    积分:1
  • dictionary
    android英语字典是手机中经常使用的应用。因此,在本文将结合Android来讨论如何实现一个Android版的英文词典。实现英文词典的方法很多。在本文使用了SQLite数据库来保存英文单词信息。系统通过SQLite数据库中保存的单词信息来查找到与指定英文对应的中文信息。(Android Dictionary of English is often used in mobile phone applications. Therefore, in this paper will be combined with Android to discuss how to implement a Android version of the English dictionary. A lot of ways to realize the English dictionary. In this paper, we use the SQLite to save the English word information. The system through the SQLite to save the word information to find the corresponding Chinese information with the specified english.)
    2016-06-13 09:48:48下载
    积分:1
  • test_asynctask
    这是自己编写的一套android关于异步下载处理的源码。(Asynchronous download android)
    2011-05-10 21:11:21下载
    积分:1
  • Android城市天气预报-获取天气信息
    Android适时获取天气信息,更新显示实时天气信息,更新显示天气预报,获取天气信息,通过网络获取数据,传递给XMLReader解析。得到一个封装打包的字符串,包括除icno外的所有东西,可以预报后四天的天气信息:    private String condition; // 多云    private String temp_celcius;// 摄氏温度    private String temp_fahrenheit;// 华氏温度    private String humidity; // 湿度:58%    private String wind_condition;// 风向...    private String icon;// 图标   得到最后一个预报天气,这里我们每次添加一个数据都是在最后,所以得到最后一个
    2022-02-13 12:25:55下载
    积分:1
  • 696518资源总数
  • 105559会员总数
  • 1今日下载