码迷,mamicode.com
首页 >  
搜索关键字:android学习笔记    ( 749个结果
Android学习笔记-ContentProvider
1.ContentProvider为存储和获取数据提供了统一的接口2.使用ContentProvider可以在不同的应用程序之间共享数据3.Android为常见的一些数据提供了ContentProvider(包括音频、视频、图片和通讯录等)ContentProvider使用表的形式来组织数据_IDNUMBERNUMBER_KEYLABELNAMETYPE111348..
分类:移动开发   时间:2014-11-23 16:08:37    阅读次数:148
Android学习笔记:FrameLayout布局基础
FrameLayout布局的特点是:所有放在布局里的视图组件,都按照层次堆叠在屏幕的左上角,后面的视图组件覆盖前面的。当然,组件本身是可以控制自己的内部布局的。一种常见的场景是可以在FrameLayout上放多个图片视图,来实现动画。我们来看一个简单例子:1、创建一个app2、创建主Activity...
分类:移动开发   时间:2014-11-23 00:38:05    阅读次数:486
Android学习笔记-文件下载
工具类FileUtils.javapackagecom.example.filedownload_01; importjava.io.File; importjava.io.FileOutputStream; importjava.io.IOException; importjava.io.InputStream; importjava.io.OutputStream; importandroid.os.Environment; publicclassFileUtils{ privateStr..
分类:移动开发   时间:2014-11-20 23:57:06    阅读次数:352
android学习笔记
db shell dmesg 会打印出内核的调试信息
分类:移动开发   时间:2014-11-20 13:41:40    阅读次数:182
Android学习笔记-SQLite的使用
界面文件activity_main.xml<Button android:id="@+id/createButton" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_below="@id/hello_world" android:text="createdatabase"/> <Button android:id="@+id/updateButton" a..
分类:移动开发   时间:2014-11-19 18:54:14    阅读次数:303
Android学习笔记-常用控件
单选按钮Radio<RadioGroup android:id="@+id/genderGroup" android:layout_width="wrap_content" android:layout_height="wrap_content" android:orientation="vertical"> <RadioButton android:id="@+id/femaleButton" android:layout_width="wrap_content" android:..
分类:移动开发   时间:2014-11-19 02:17:11    阅读次数:279
Android学习笔记-Handler的使用
点击Start按钮,每隔3秒在Logcat里打印一句话<Button android:id="@+id/startButton" android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="Start"/> <Button android:id="@+id/endButton" android:layout_width="fill_parent" a..
分类:移动开发   时间:2014-11-19 02:07:42    阅读次数:216
Android学习笔记-Activity的布局
线性布局<?xmlversion="1.0"encoding="utf-8"?> <LinearLayoutxmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="fill_parent" android:orientation="vertical"> <!-- android:id为控件..
分类:移动开发   时间:2014-11-17 19:43:38    阅读次数:283
Android学习笔记-Activity的生命周期
界面activity_main.xml<RelativeLayoutxmlns: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:paddingBottom="@dimen/activity_..
分类:移动开发   时间:2014-11-17 12:31:37    阅读次数:295
Android中的跨进程通信方法实例及特点分析(二):ContentProvider
在Android中有些数据(如通讯录、音频、视频文件等)是要供很多应用程序使用的,为了更好地对外提供数据,Android系统给我们提供了Content Provider使用,通过它可以访问上面所说的数据,例如很多音乐播放器中的扫描功能其实就用到了Content Provider(当然,也有的播放器是自己去实现更底层的功能),其他如联系人、图片浏览等也都用到了ContentProvider。...
分类:移动开发   时间:2014-11-16 16:02:28    阅读次数:225
749条   上一页 1 ... 60 61 62 63 64 ... 75 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!