会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
云中鹤5786
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
下一页
2015年11月24日
android 不同分辨率适配
摘要: 1024*600 放入drable-h
阅读全文
posted @ 2015-11-24 21:07 云中鹤5786
阅读(99)
评论(0)
推荐(0)
2015年11月20日
android studio 教程
摘要: 1、下载地址 https://dl.google.com/dl/android/studio/install/1.4.0.10/android-studio-ide-141.2288178-windows.exe 1.4正式版 2、各版本汇总 http://tools.an...
阅读全文
posted @ 2015-11-20 17:00 云中鹤5786
阅读(139)
评论(0)
推荐(0)
2015年11月16日
android开发规范及快捷键
摘要: 一、命名规范 变量命名: 前缀+类型描述+意义描述 前缀:成员变量:m_*** 局部变量:l_*** 形参:a_*** 常量:大写_*** 枚举值:em_*** 二、常用快捷键 1、 ctrl+1 ...
阅读全文
posted @ 2015-11-16 19:32 云中鹤5786
阅读(175)
评论(0)
推荐(0)
2015年11月3日
android 对话框
摘要: LayoutInflater inflater=getLayoutInflater(); View layout=inflater.inflate(R.layout.set_device_dialog, (ViewGroup)findViewById(R.id.dialog)); etdevsi...
阅读全文
posted @ 2015-11-03 20:58 云中鹤5786
阅读(100)
评论(0)
推荐(0)
griedview setOnItemLongClickListener 无效
摘要: griedview.setOnItemLongClickListener的方法不执行,在listview中的每一个ITEM都存放了不同的布局;而在其中一个恰好放的的IMAGEVIEW,而且这个IMAGEVIEW还有onclick事件,这样导致了setOnItemLongClickListene...
阅读全文
posted @ 2015-11-03 19:38 云中鹤5786
阅读(180)
评论(0)
推荐(0)
2015年10月27日
openwrt 常用命令
摘要: 1、进入目录 cd /etc/twrt 2、 打开文件 vi /etc/twrt/config 3、退出文件 ESC—>shift+:——>wq 3、杀死进程 kill all twrt
阅读全文
posted @ 2015-10-27 12:36 云中鹤5786
阅读(5775)
评论(0)
推荐(0)
2015年10月23日
android socket 通信
摘要: 1、socketClient 端输入的是字节流 byte[] buf = new byte[1024]; int len = 0; InputStream input = socket.getInputStream(); ...
阅读全文
posted @ 2015-10-23 14:28 云中鹤5786
阅读(111)
评论(0)
推荐(0)
2015年10月21日
cc2530 随机时间
摘要: // Setup to send message again in normal period (+ a little jitter) osal_start_timerEx( SampleApp_TaskID, SAMPLEAPP_SEND_PERIODIC_MSG_EVT, ...
阅读全文
posted @ 2015-10-21 15:20 云中鹤5786
阅读(196)
评论(0)
推荐(0)
android中的线程机制(二)————SocketCallBack
摘要: 本博文转载自http://blog.csdn.net/xiaanming/article/details/9750689 // 含有3个线程的线程池 private static final ExecutorService executorSocket = Executors ...
阅读全文
posted @ 2015-10-21 15:18 云中鹤5786
阅读(247)
评论(0)
推荐(0)
android中的线程机制(一)————Runnable
摘要: 1、声明机制 // 单个线程机制测试 private Handler mHandler; Runnable mBackgroundRunnable; private boolean mRunning = true; 2、在Oncreate()中启动 //单个线...
阅读全文
posted @ 2015-10-21 15:12 云中鹤5786
阅读(302)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
下一页
公告