自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(11)
  • 收藏
  • 关注

原创 比较简单的日历签到(没有第三方框架)

一、布局文件      xmlns:tools="http://schemas.android.com/tools"     android:layout_width="match_parent"     android:layout_height="match_parent"     android:orientation="vertical"     tools:context=

2016-08-28 11:38:17 738

原创 从网络读取数据达到登录和注册的功能

一、使用Bmob网站,进行网络存储 二、登录界面的界面 三、布局文件     xmlns:tools="http://schemas.android.com/tools"     android:layout_width="match_parent"     android:layout_height="match_parent"     android:backgroun

2016-08-07 15:43:29 840

原创 ViewPager和Fragment

一、定义四的个Fragment 只是测试,不需要太多数据 ,所以简单一些 xml文件     xmlns:tools="http://schemas.android.com/tools"     android:layout_width="match_parent"     android:layout_height="match_parent"     tools:context

2016-07-31 12:58:08 324

原创 聊天界面

1.布局文件     xmlns:tools="http://schemas.android.com/tools"     android:layout_width="match_parent"     android:layout_height="match_parent"     android:background="#ffffffff"     tools:context="

2016-07-24 13:36:44 341

原创 远程访问主机

一、确认自己的电脑IP地址 1.开始->运行->cmd->ipconfig 二、设置自己电脑的远程端口 1.打开注册表 开始-运行-regedit 2.配置信息 进入以下路径:   〔HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\ Wds\rdpwd\Tds\tcp〕 3.打开左侧PortN

2016-07-17 14:50:54 622

原创 读取手机短信和自定义消息界面

一、首先要获得手机中短信的编辑权 二、查询短信使用URI 三、新建一个实体类将查询出来 的短信封装起来 四、查询所有短信 五、创建聊天界面 添加 一个listView,显示两种布局  (写布局时,两中布局控件Id设置相同) 六、构建数据适配 七、关联数据 八、点击item选项,实现跳转聊天界面 九、注册接收和发送短信

2016-07-10 20:18:13 827 1

原创 读取手机通讯录

一、读取手机通讯录信息     1)定义一个通讯录的类(姓名、照片、电话、地址等等) 2)查询cursor,如果有下一条内条继续 3)再加一个内循环 4)当内循环结束时,将contact加入集合保存下来(关闭cursor) 5)关闭第一个cursor; 6)根据查询出来photoip,查询出的二进制值,调用BitmapFactory的方法,将对象转换为bitmap对

2016-07-03 19:02:36 819

原创 Fragment基本讲义及本地音乐播放器

1)布局文件     android:layout_width="match_parent"     android:layout_height="match_parent"     android:orientation="vertical" >             android:id="@+id/pictruesID"         android:lay

2016-06-26 19:32:41 728

原创 模拟数据库,实现注册和登录界面(偏好设置)

一、创建数据库工作类 二、注册时保存账号及密码信息 实现效果

2016-06-19 11:40:59 545

原创 界面和而局(二)

一、自动跳转 new Handler().postDelayed(new Runnable() { @Override public void run() { startActivity(new Intent(WelcomeActivity.this,LoginActivity.class)); WelcomeActivity.this.finish();//跳转后结束此界面 } }

2016-06-11 10:59:54 384

原创 安卓基本控件和布局使用

一、基本控件: 1.Button (按钮键,提交的功能) 2.TextView(文本显示框) 3.EditText(文本编辑框) 4.ImageView(图片显示框) 5.Spinner(下拉菜单选择) 6.RadioGroup(单选按钮组) 7.GridView(网络显示) 8.android.support.v4.view.ViewPager(广告条设置) 9.ScrollV

2016-06-05 15:08:05 390

空空如也

空空如也

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

TA关注的人

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