会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
一叶孤城
如果不会飞翔 理想的翅膀 反倒成了生活的累赘......
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
下一页
2019年3月31日
Android 登陆功能的实现(访问WebServices 解析返回的JSON结果)
摘要: 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)
2019年3月14日
android 练习效果(界面一)
摘要: 
阅读全文
posted @ 2019-03-14 14:56 一叶孤城
阅读(126)
评论(0)
推荐(0)
2019年2月22日
android studio 添加 apache.http
摘要: 
阅读全文
posted @ 2019-02-22 14:18 一叶孤城
阅读(637)
评论(0)
推荐(0)
android studio 添加GSON
摘要: 
阅读全文
posted @ 2019-02-22 14:15 一叶孤城
阅读(2560)
评论(0)
推荐(1)
2019年2月16日
android studio 导入RecyclerView
摘要: 
阅读全文
posted @ 2019-02-16 15:58 一叶孤城
阅读(1557)
评论(0)
推荐(0)
2019年2月11日
Android 缓存的使用
摘要: 缓存基础类 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 引导页的代码
摘要: 布局代码 <! 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 用法
摘要: 后台代码 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)
Android AlertDialog 各种弹框代码
摘要: 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)
上一页
1
2
3
4
下一页
公告