线性布局<?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
界面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中有些数据(如通讯录、音频、视频文件等)是要供很多应用程序使用的,为了更好地对外提供数据,Android系统给我们提供了Content Provider使用,通过它可以访问上面所说的数据,例如很多音乐播放器中的扫描功能其实就用到了Content Provider(当然,也有的播放器是自己去实现更底层的功能),其他如联系人、图片浏览等也都用到了ContentProvider。...
分类:
移动开发 时间:
2014-11-16 16:02:28
阅读次数:
225
Android学习笔记,Service,ContentProvider,TelephonyManager,PhoneStateListener,耗时操作,BroadcastReceiver,PendingIntent,SmsManager ,IntentService,static代码块...
分类:
移动开发 时间:
2014-11-14 17:48:23
阅读次数:
230
下面简单说明了BitMap的用法:从服务器下载一张图片,显示在ImageView控件上,并将该图片保存在移动设备的SD上。 1 // 根据网络URL获取输入流 2 public InputStream getUrlInputStream(String strUrl) throws IOExc...
分类:
移动开发 时间:
2014-11-14 12:26:26
阅读次数:
181
Android学习笔记,Android知识综合,getPath(), getAbsolutePath(),getCanonicalPath(),Android SD卡,AndroidSQLite,GestureOverlayView...
分类:
移动开发 时间:
2014-11-13 20:53:49
阅读次数:
174
SeekBar 拖动条:拖动条和滚动栏类似,当是拖动条能够拖动滑块改变进度RatingBar 星级评分条:星级评分条与拖动条相似SeekBar特有的xml属性android:thumb 指定一个Arawable对象,作为之定义滑块RatingBar特有的xml属性android:isIndicato...
分类:
移动开发 时间:
2014-11-13 18:29:25
阅读次数:
282
Android Activity学习笔记——Activity的启动和创建
最近学习Android相关知识,感觉仅仅了解Activity几个生命周期函数基本上没有任何意义的;
于是想深入了解一下Activity到底是怎么一回事怎么运行来的;里面的东东真是叫个庞大;
现在只能简单的了解其框架性的概念和流程;
一 Activity概念
Android的核心不是Applicatio...
分类:
移动开发 时间:
2014-11-13 16:40:39
阅读次数:
171