Android基础概括本文地址: http://blog.csdn.net/caroline_wendy1. 定义为移动设备设计的第一个真正开发的综合平台,包含操作系统、用户界面、和应用程序,所有软件都能运行在手机上,从而消除了阻碍移动创新的障碍。2. 主要部分硬件:基于位置的服务硬件(如GPS)、摄像头、音频、网络连接、Wi-Fi、蓝牙、传感器(包括加速计)、NFC、触摸屏和电源管理。位置服务:...
分类:
移动开发 时间:
2015-01-22 08:17:46
阅读次数:
242
一、布局文件实现步骤:
1、在res/layout目录下创建一个demo_layout.xml布局文件,
2、使用RelativeLayout嵌套一个LinearLayout来进行布局,往里添加一个TextView和两个Button,并设置属性。
3、创建一个FirstLayoutActivity类,在onCreateView()方法中,使用findViewById()实例化组件。
4.A...
分类:
移动开发 时间:
2015-01-19 09:20:07
阅读次数:
292
//activity_main.xml<LinearLayoutxmlns: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"
android:orientation="vertical"
tools:contex..
分类:
移动开发 时间:
2015-01-14 18:17:07
阅读次数:
234
//activity_main.xml<LinearLayoutxmlns: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"
android:orientation="vertical"
tools:contex..
分类:
移动开发 时间:
2015-01-14 18:12:58
阅读次数:
242
//activity_main.xml<LinearLayoutxmlns: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="com.vincentlin.checkbox.Main..
分类:
移动开发 时间:
2015-01-14 18:06:40
阅读次数:
183
Andorid系统会根据软件的签名来判断是否可以升级,如果一个应用的签名证书不一致的话,是没有办法升级的。
打包发布APK
下面介绍一下如何打包发布一个程序:
1. 右键工程-->Export-->Andoird-->Export Android Application
2. 确定我们的工程-->next-->Create new keystore
3. Location选择一个目录,创...
分类:
移动开发 时间:
2015-01-13 16:03:31
阅读次数:
208
首先,问题是如何出现的?晚上复查代码,发现一个activity没有调用自己的ondestroy方法我表示非常的费解,于是我检查了下代码。发现再finish代码之后接了如下代码finish();System.exit(0);//这就是罪魁祸首为什么这样写会出现问题System.exit(0);////...
分类:
移动开发 时间:
2015-01-11 17:32:46
阅读次数:
180
这个系列准备了很久,由于项目比较紧,一直没时间写博客。
ListView是Android开发中使用比较广泛的控件了,这里会结合实际开发中的问题,做一个汇总,并不断更新补充,希望以后可以帮到更多需要的朋友!
有时候为了精简代码,不使用xml布局文件了,直接setContentView(mListView);,这时就要用到代码里硬编码设置ListView的样式了,本人开发时遇到一个...
分类:
移动开发 时间:
2015-01-07 00:40:44
阅读次数:
174
视频地址:E:\baiduyunpan\黑马28期Android全套视频无加密完整版\2、Android基础\2、Android基础\2、Android基础\day02\day02\video\5.使用另外一个工程进行单元测试.aviE:\baiduyunpan\黑马28期Android全套视频无加...
分类:
移动开发 时间:
2015-01-01 23:39:44
阅读次数:
181
android基础 sqlite listview activity返回值
[1].[代码] [Java]代码 跳至 [1] [2]
?
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
...
分类:
移动开发 时间:
2014-12-31 08:46:00
阅读次数:
209