自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

赢家需要时间的积累。

每天把学到的东西学成博客,既可以积累知识,也可以共享。

  • 博客(10)
  • 资源 (2)
  • 收藏
  • 关注

原创 android中简单的listview代码

1.主界面布局xml代码<?xml version="1.0" encoding="utf-8"?><LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_pare

2016-03-30 15:25:06 571

原创 标题布局

1.布局对应的xml文件<?xml version="1.0" encoding="utf-8"?><LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/common_title_bar" android:layout_width="match_parent

2016-03-30 14:47:14 400

翻译 android布局优化的三大标签

1、布局重用 <include />标签能够重用布局文件,简单的使用如下:<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width=”match_parent” and

2016-03-30 10:05:20 2094 2

原创 数据转换工具类汇总

数据工具类汇总public class DataUtil { private static StringBuffer sbTime; private static String now, year, month, day, hour, min, ss; private static SimpleDateFormat sdf = new SimpleDateFormat(

2016-03-30 09:27:30 525

原创 解析json数据

1.根据这样的json数据,写成的相应的bean类型public class SmartControlBean { // Status 0 // getDeviceByMobile Array public List<BLEDeviceInformationBean> getDeviceByMobile; public int St

2016-03-22 23:51:59 322

原创 简单的警告对话框

1.布局文件<?xml version="1.0" encoding="utf-8"?><LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="250dp" android:layout_height="wrap_content" andro

2016-03-22 23:26:30 396

原创 app按手机返回键,弹出Toast提示用户功能。

/** * 退出程序提醒 */ @Override public boolean dispatchKeyEvent(KeyEvent event) { if (event.getAction() == KeyEvent.ACTION_DOWN && event.getKeyCode() == KeyEvent.KEY

2016-03-22 00:23:11 2376

原创 java中字符串“abcdefgh”转换为“ab:cd:ef:gh”

/** * 字符串abcdef变为ab:cd:ef * * @param BLEDeviceMACAddress * @return */ private String toString(String BLEDeviceMACAddress) { // 字符串abcdef变为ab:cd:ef String r

2016-03-22 00:18:32 1682

原创 关于远程控制器发送指令问题。

这是上一篇博客指令格式代码boolean tag = device.getIsOpen1(); // 远程控制 if (Content.isyauncheng == true) { String str = "";

2016-03-19 00:46:32 1793

原创 (WIFI)远程控制基本流程

第一步,某个控件的点击事件 /** * 一路开关 */ mviewHolder.button1.setOnClickListener(new OnClickListener() { @Overr

2016-03-18 11:22:54 2910

DateApplication选择日期

弹出对话框选择日期

2016-11-30

Android中仿微信选择图片和拍照

Android中仿微信选择图片和拍照,gitbub上面的项目,转为eclipse项目,方面用eclipse开发的人。

2016-11-28

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除