随笔分类 - Android HTTP
摘要:1.官方文档 android https https://developer.android.google.cn/training/articles/security-ssl android 配置ca https://developer.android.google.cn/training/arti
阅读全文
摘要:1.简介 官方文档 SSL https://www.ssl.com/faqs/faq-what-is-ssl/ TLS https://datatracker.ietf.org/group/tls/documents/ https://datatracker.ietf.org/doc/html/rf
阅读全文
摘要:1.使用HttpUrlConnection能有几个 测试机器版本是5.1.1 A/art: art/runtime/indirect_reference_table.cc:77] Check failed: table_mem_map_.get() != nullptr ashmem_create_
阅读全文
摘要:1.前言 主要介绍在android手机上如何利用tcpdump抓包,用wireshark分析包。 android tcpdump官网: http://www.androidtcpdump.com/ tcpdump 官网: http://www.tcpdump.org/ 2.准备 To use thi
阅读全文
摘要:http://a.codekk.com/detail/Android/grumoon/Volley%20%E6%BA%90%E7%A0%81%E8%A7%A3%E6%9E%90 1. 功能介绍 1.1. Volley Volley 是 Google 推出的 Android 异步网络请求框架和图片加载
阅读全文
摘要:Implementing a Custom Request Previous Next Implementing a Custom Request Previous Next 1.This lesson teaches you to Write a Custom Request parseNetwo
阅读全文
摘要:Making a Standard Request Previous Next Making a Standard Request Previous Next 1.This lesson teaches you to Request a String 返回String Request an Imag
阅读全文
摘要:Setting Up a RequestQueue Previous Next Setting Up a RequestQueue Previous Next 1.This lesson teaches you to Set Up a Network and Cache Use a Singleto
阅读全文
摘要:Sending a Simple Request Previous Next Sending a Simple Request Previous Next 1.This lesson teaches you to Add the INTERNET Permission Use newRequestQ
阅读全文
摘要:Transmitting Network Data Using Volley Get started Transmitting Network Data Using Volley Get started 1.Dependencies and prerequisites Android 1.6 (AP
阅读全文
摘要:Optimizing Downloads for Efficient Network Access Previous Next Optimizing Downloads for Efficient Network Access Previous Next 1.This lesson teaches
阅读全文
摘要:Redundant Downloads are Redundant Previous Next Redundant Downloads are Redundant Previous Next 1.This lesson teaches you to Cache files locally Use t
阅读全文
摘要:Android 监控网络状态 在Android网络应用程序开发中,经常要判断网络连接是否可用,因此经常有必要监听网络状态的变化。android的网络状态监听可以用BroadcastReceiver来接收网络状态改变的广 播,具体实现如下: 在Android网络应用程序开发中,经常要判断网络连接是否可
阅读全文
摘要:implementation 'com.squareup.okhttp3:okhttp:4.9.0' 1.GET请求 1 private fun httpGetDemo() { 2 //1.请求参数 3 val url = httpHost + "/api/test?arg1=xxx" 4 5 //
阅读全文
摘要:1.重点 a.要在新线程中发起HTTP请求 b.注意先检查网络连接 c.注意返回的结果,有的需要处理header d.返回的数据通常要转码 1.重点 a.要在新线程中发起HTTP请求 b.注意先检查网络连接 c.注意返回的结果,有的需要处理header d.返回的数据通常要转码 2.相关 Trans
阅读全文
摘要:1.Class Overview An URLConnection for HTTP (RFC 2616) used to send and receive data over the web. Data may be of any type and length. This class may b
阅读全文