摘要: 1、 WebServices返回的JSON结果 2、访问WEB服务代码 1 import android.os.Bundle; 2 import android.os.Message; 3 import android.util.Log; 4 import android.widget.Toast; 阅读全文
posted @ 2019-03-31 19:59 一叶孤城 阅读(247) 评论(0) 推荐(0)
摘要: ![](https://img2018.cnblogs.com/blog/383376/201903/383376-20190314145523237-1890214821.gif) 阅读全文
posted @ 2019-03-14 14:56 一叶孤城 阅读(126) 评论(0) 推荐(0)
摘要: ![](https://img2018.cnblogs.com/blog/383376/201902/383376-20190222141730057-1639855325.gif) 阅读全文
posted @ 2019-02-22 14:18 一叶孤城 阅读(637) 评论(0) 推荐(0)
摘要: ![](https://img2018.cnblogs.com/blog/383376/201902/383376-20190222141430128-497776084.gif) 阅读全文
posted @ 2019-02-22 14:15 一叶孤城 阅读(2560) 评论(0) 推荐(1)
摘要: ![](https://img2018.cnblogs.com/blog/383376/201902/383376-20190216155809676-1011526643.gif) 阅读全文
posted @ 2019-02-16 15:58 一叶孤城 阅读(1557) 评论(0) 推荐(0)
摘要: 缓存基础类 import android.content.Context; import android.content.SharedPreferences; public class CacheParam { / 得到缓存的值 / public static boolean getkey(Cont 阅读全文
posted @ 2019-02-11 23:02 一叶孤城 阅读(868) 评论(0) 推荐(0)
摘要: 布局代码 <! android:background="@drawable/btnselector" 后台代码 import android.app.Activity; import android.content.Intent; import android.os.Bundle; import a 阅读全文
posted @ 2019-02-11 22:59 一叶孤城 阅读(912) 评论(0) 推荐(0)
摘要: 后台代码 Spinner spxl = (Spinner) findViewById(R.id.SpinnerXL); Spinner sptk = (Spinner) findViewById(R.id.SpinnerTK); Spinner sptktitle = (Spinner) findV 阅读全文
posted @ 2019-02-11 22:53 一叶孤城 阅读(154) 评论(0) 推荐(0)
摘要: 1、消息框 btn01.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { AlertDialog.Builder ab = new AlertDialog.Builder(B 阅读全文
posted @ 2019-02-11 22:46 一叶孤城 阅读(296) 评论(0) 推荐(0)
摘要: 1、创建弹框的公共类 import android.app.AlertDialog; import android.content.Context; public class DialogBase { public static void showmessage(Context context, S 阅读全文
posted @ 2019-02-11 22:36 一叶孤城 阅读(264) 评论(0) 推荐(0)