- 博客(9)
- 资源 (1)
- 收藏
- 关注
转载 android基础-----Intent控件的基本用法
1.Intent是Android应用程序组件之一,是不同组件之间通信的桥梁。2.Intnet对象在Android系统当中表示一种意图3.Intent封装了它要执行动作的属性:Action(动作)、Data(数据)、Category(类别)、Type(类型)、Component(组件信息)、Extras(附加信息) 使用Intent对象传递数据:1.在Activity之间可以通过
2014-05-25 01:15:18
745
原创 Android -----基于回调机制的事件处理
一,基于回调机制的事件处理回调机制实质上就是将事件的处理绑定在控件上,由图形用户界面控件自己处理事件,回调机制需要自定义View来实现回调不是由该方法的实现方直接调用,而是在特定的事件或条件发生时,由另外一方通过一个接口来调用,用于对该事件或条件进行响应。onTouchEvent()方法此方法用来处理手机屏幕的触摸事件,该方法在View类中定义,并且所有的Vie
2014-05-23 23:20:27
876
原创 Android简单布局------QQ登陆
http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" android:layout_m
2014-05-23 22:52:41
589
原创 Android简单布局-------相对布局
http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" tools:context=".
2014-05-23 22:49:49
459
原创 简单的android布局-----------windows风格
http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" android:backgrou
2014-05-23 22:46:38
510
转载 Android基础与手机历史
一、手机的发展史 1844年5月24日。莫尔斯的电报机从华盛顿向巴尔的摩发出人类历史的第一份电报"上帝创造了何等奇迹!" 1875年6月2日,贝尔做实验的时候,不小心把硫酸溅到了自己的腿上。他疼得对另一个房间的同事喊到"活,快来帮我啊!"而这句话通过实验中的电话传到了在另一个房间接听电话的活特耳里,成为人类通过电话传送的第一句话。 1831年,英国的法拉第发现了电磁感应现象,麦克
2014-05-02 10:55:10
3079
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人