android
comelyyyyy
这个作者很懒,什么都没留下…
展开
-
android学习笔记-1-环境搭建
1.安装JDK1.6,Eclipse3.6 2.安装android SDK http://developer.android.com.nyud.net/sdk/index.html 3.安装Eclipse插件 ADT(android development tool) 1. Start Eclipse, then select Help > Install New Softwa...原创 2010-12-22 09:36:38 · 123 阅读 · 0 评论 -
相关资料链接
android镜像站点:http://developer.android.com.nyud.net 1.开发书籍下载 http://www.verycd.com/topics/2812741/ http://www.doc88.com/p-47230828611.html 2.其他书 http://www.hjenglish.com/dl/p10802/ 3...原创 2011-04-01 10:41:43 · 65 阅读 · 0 评论 -
service 的调用【转】
Service的调用 Context.startService():Service会经历onCreate -> onStart(如果Service还没有运行,则android先调用onCreate()然后调用onStart();如果Service已经运行,则只调用onStart(),所以一个Service的onStart方法可能会重复调用多次 );stopService的时候...原创 2011-03-24 09:50:31 · 117 阅读 · 0 评论 -
android编译某个模块
编译模块 android中的一个应用程序可以单独编译,编译后要重新生成system.img 在源码目录下执行 $ . build/envsetup.sh (.后面有空格) 就多出一些命令: - croot: Changes directory to the top of the tree. - m: Makes from the top of the tree. - ...原创 2011-10-21 09:25:52 · 95 阅读 · 0 评论 -
android mk 文件
LOCAL_PATH:= $(call my-dir) include $(CLEAR_VARS) LOCAL_SRC_FILES := $(call all-subdir-java-files) LOCAL_MODULE:= cyberlink include $(BUILD_JAVA_LIBRARY)原创 2011-10-21 09:25:08 · 60 阅读 · 0 评论 -
用自己编译后的system.img
自己编译后的system.img替换掉/home/abc/android/android-sdk-linux_86/platforms/android-10/images目录下的system.img原创 2011-10-21 09:24:56 · 86 阅读 · 0 评论 -
32位系统编译android2.3.4
修改这几个文件,该回到32位编译环境即可: external/clearsilver/cgi/Android.mk external/clearsilver/java-jni/Android.mk external/clearsilver/util/Android.mk external/clearsilver/cs/Android.mk 把编...原创 2011-10-21 09:24:24 · 91 阅读 · 0 评论 -
SQLite
1)创建数据库文件: >SQLite3 d:\test.db 回车 就生成了一个test.db在d盘。 这样同时也SQLite3挂上了这个test.db 2) 用.help可以看看有什么命令 >.help 回车即可 3)可以在这里直接输入SQL语句创建表格 用;结束,然后回车就可以看到了 4...原创 2011-07-20 08:59:48 · 60 阅读 · 0 评论 -
android life cycle
There two Activity. 1.First press the icon of the app enter the first Activity,then click the button witch is use to jump to the second Activity in the first Activity; 2.Then press back , to the fir...原创 2011-07-07 10:42:09 · 84 阅读 · 0 评论 -
android driver for ubuntu 手机驱动
原文:http://esausilva.com/2010/05/13/setting-up-adbusb-drivers-for-android-devices-in-linux-ubuntu/ If you are like me and like developing in Linux, then you will find this guide useful. When I was s...原创 2011-07-05 18:08:00 · 119 阅读 · 0 评论 -
apk的反编译
需要使用的工具: [size=large] 1. dex2jar:http://code.google.com/p/dex2jar/downloads/list 2. JdGUI:http://java.decompiler.free.fr/?q=jdgui (反编译Jar包,查看Jar包的源代码的GUI工具) 3. AXMLPrinter2.jar(http://code....原创 2011-06-10 10:22:15 · 56 阅读 · 0 评论 -
sdcard in emulator
http://blog.jayway.com/2009/04/22/working-with-sd-cards-in-the-android-emulator/ Working with SD cards in the Android emulator April 22nd, 2009 by Mårten Österberg — Android, Embedded Mårten Ös...原创 2011-06-03 14:22:00 · 74 阅读 · 0 评论 -
Human Interface Principles
http://developer.apple.com/library/ios/#documentation/UserExperience/Conceptual/MobileHIG/Principles/Principles.html Human Interface Principles A great user interface follows human interface d...原创 2011-06-02 09:50:17 · 121 阅读 · 0 评论 -
全屏显示
[code="java"] //--全屏-->> this.requestWindowFeature(Window.FEATURE_NO_TITLE);//去除标题栏 getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN,WindowManager.LayoutParams.FLAG_F...原创 2011-05-04 16:09:25 · 84 阅读 · 0 评论 -
android笔记和第一个例子的代码
1.android.app.Activity 1) 活动类,主要使用的类。 2) Activity分为4种状态: active 活动,Paused 暂停,stoped 停止,dead 已回收或未启动 3) Activity随时会被系统回收掉。 4) 我们所写的活动都继承Activity类。 5) Activity启动时调用 onCreate() 方法。 6) 从1个A...原创 2010-12-24 18:00:31 · 87 阅读 · 0 评论 -
android 查看 cpu
cat /proc/cpuinfo原创 2012-05-28 10:02:32 · 147 阅读 · 0 评论