10_读书笔记
文章平均质量分 77
jackie_gnu
这个作者很懒,什么都没留下…
展开
-
Hello Android 之 第九章 SQL 实战
1. DDL 语句 DDL (Data Definition Language, 数据定义语言), 用来定义表,列名称等。 创建一个包含3列的表: create table mytable( _id integer primary key autoincrement, name text, phone text);2. SQL语句原创 2011-06-24 17:10:00 · 319 阅读 · 0 评论 -
Building Custom Components
Android offers a sophisticated and powerful componentized model for building your UI, based on the fundamental layout classes: View and View原创 2011-07-11 15:36:08 · 366 阅读 · 0 评论 -
adb shell dumpsys
# adb shell dumpsys media.camera -v 1Client (0x18fd0) PID: 1437QualcommCameraHardware::dumpmMsgEnabled (29)preview width(640) x height (480)原创 2011-07-13 16:40:06 · 1809 阅读 · 0 评论 -
Android Guide Dev 之Processes and Threads
Processes and ThreadsWhen an application component starts and the application does not have any other components running, the Android system原创 2011-07-11 13:10:45 · 401 阅读 · 0 评论 -
代码覆盖度测试,gcov
copy from gcc manual. gcov is a tool you can use in conjunction with GCC to test code coverage in your programs.gcov is a test coverage prog原创 2011-07-07 12:24:24 · 494 阅读 · 0 评论 -
GCC 编译 与sizeof
GCC编译选项, 以下是X86体系结构相关的选项: i386 and x86-64 Options -mtune=cpu-type -march=cpu-type -mfpmath=unit -masm=dialect -mno-fancy-math-387原创 2011-07-07 09:29:53 · 5957 阅读 · 0 评论 -
Hello Android 之 Graphics 实例
在Activity中使用自定义View,在View的onDraw方法中手工绘图。 public class Graphics extends Activity { @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState);原创 2011-06-24 17:41:00 · 388 阅读 · 0 评论 -
Hello Android 之 Events 实例
1. EventsData 创建events.db数据库文件public class EventsData extends SQLiteOpenHelper { private static final String DATABASE_NAME = "events.db"; private static final int DATABASE_VERSION = 1;原创 2011-06-24 17:32:00 · 511 阅读 · 0 评论 -
aapt
Android Asset Packaging ToolUsage: aapt l[ist] [-v] [-a] file.{zip,jar,apk} List contents of Zip-compatible archive. aapt d[ump] [--values] WHAT file.{apk} [asset [asset ...]] badging原创 2011-06-27 09:19:00 · 3772 阅读 · 0 评论 -
Testing the features required by your application
from http://developer.android.com/guide/topics/manifest/uses-feature-element.html You can use the aapt tool, included in the Android SDK, to determine how Android Market will filter your applicati原创 2011-06-27 09:14:00 · 456 阅读 · 0 评论 -
AndroidManifest 之 uses-configuration
uses-configuration,可以指定应用程序支持的每个输入机制的组合.可以指定以下输入设备的任意组合.(1). android:reqFiveWayNav Whether or not the application requires a five-way navigation control — "true" if it does, and "false" if not.原创 2011-06-27 08:57:00 · 598 阅读 · 0 评论