摘要: 1、Http请求:get方式 解析传入参数: 2、Http请求 :post方式 关于Content-Type类型特别说明,相关连接http://blog.csdn.net/blueheart20/article/details/45174399 阅读全文
posted @ 2017-03-27 17:36 鱼一的记忆 阅读(129) 评论(0) 推荐(0) 编辑
摘要: public class ContextUtils { private static Context applicationContext = null; public static Context getApplicationContext() { if (null != applicationContext) { return app... 阅读全文
posted @ 2017-03-27 17:24 鱼一的记忆 阅读(507) 评论(0) 推荐(0) 编辑
摘要: private boolean isNetworkConnected(Context context) { ConnectivityMannger cManager = (ConnectivityMannger)context.getSystemService(Context.CONNECTIVITY_SERVICE); NetworkInfo nInfo = cManager.... 阅读全文
posted @ 2017-03-27 12:03 鱼一的记忆 阅读(148) 评论(0) 推荐(0) 编辑