随笔分类 - Andriod
Andriod相关问题整理学习
(转) Android 数字签名
摘要:http://xusaomaiss.iteye.com/blog/1396324 Android 数字签名 在Android系统中,所有安装到系统的应用程序都必有一个数字证书,此数字证书用于 标识应用程序的作者和在应用程序之间建立信任关系,如果一个permission的protectionLevel为signature,那么就只有那些 跟该permission所在的程序拥有同一个数字证书的应用程序才能取得该权限。Android使用Java的数字证书相关的机制来给apk加盖数字证 书,要理解android的数字证书,需要先了解以下数字证书的概念和java的数字证书机制。Android系统要求..
阅读全文
Debug Android with Android phone.
摘要:1. 根据不同的Phone,你可能需要设置(setting or 设置) =》Applications= >Development=>USB debugging must be enabled, other wise, the device can not be found when you want to debug and attach it.
阅读全文
(收藏)Android VoIP
摘要:http://www.voipvoip.com/android/
阅读全文
Android学习笔记(1) Android 布局管理器 之 LinearLayout
摘要:<?xmlversion="1.0"encoding="utf-8"?><RelativeLayoutxmlns:android="http://schemas.android.com/apk/res/android"android:layout_width="fill_parent"android:layout_height="fill_parent"android:padding="10dp"android:orientation="verti
阅读全文
如何在logcat中显示log内容及其filter
摘要:1. 1). eclipse->windows->show view->Devices->点一下debug 2).如何设置 filter来只显示我们所关心的log信息。首先log有很多类型log.v(String tag,String msg); // 冗余消息log.d(String tag,String msg); // 调试消息log.i(String tag,String msg); // 普通消息log.w(String tag,String msg); //警告消息log.e(String tag,String msg); // 错误消息 关于您说的建立一个
阅读全文
(转)在eclipse中查看android SDK的源代码
摘要:在eclipse中查看android SDK的源代码2010年12月3日 iStar 发表评论 阅读评论 刚开始学习Android,总是习惯在类名上按下F3(eclipse下)查看源代码,而下载Android SDK时默认是不下载源代码的,如何才能方便地在eclipse查看android的源代码呢?其实很简单:首先下载SDK的源代码,可以在http://rgruet.free.fr/public/下载到:android-1.5-cupcake-src.zip 04-Oct-2009 03:07 21.6Mandroid-1.6_r1-donut-src.zip 04-Oct-2009 03:.
阅读全文
(收藏)深入理解Android中的消息机制
摘要:1. http://www.cnblogs.com/Greenwood/archive/2011/02/27/1966472.html2.http://www.linuxidc.com/Linux/2011-07/39301.htm3.http://www.2cto.com/kf/201201/117906.html4.http://blog.sina.com.cn/s/blog_5688414b0100wgt7.html5.http://my.unix-center.net/~Simon_fu/?p=652
阅读全文
Android: 如何利用Handler处理和发送消息来实现页面刷新的功能
摘要:Class OverviewA Handler allows you to send and process Message and Runnable objects associated with a thread's MessageQueue. Each Handler instance is associated with a single thread and that thread's message queue. When you create a new Handler, it is bound to the thread / message queue of t
阅读全文
(收藏)智能手机开发
摘要:http://disanji.net/ http://tech.it168.com/focus/201011/winphone7/index.html
阅读全文
Eclipse快捷键大全(转载)
摘要:Ctrl+1 快速修复(最经典的快捷键,就不用多说了)Ctrl+D: 删除当前行 Ctrl+Alt+↓ 复制当前行到下一行(复制增加)Ctrl+Alt+↑ 复制当前行到上一行(复制增加)Alt+↓ 当前行和下面一行交互位置(特别实用,可以省去先剪切,再粘贴了)Alt+↑ 当前行和上面一行交互位置(同上)Alt+← 前一个编辑的页面Alt+→ 下一个编辑的页面(当然是针对上面那条来说了)Alt+Enter 显示当前选择资源(工程,or 文件 or文件)的属性Shift+Enter 在当前行的下一行插入空行(这时鼠标可以在当前行的任一位置,不一定是最后)Shift+Ctrl+Enter 在当前行.
阅读全文
(转)Android最简单的图片裁剪方法
摘要:Android最简单的图片裁剪方法,非使用系统裁切功能网上搜了很多,都要使用Canvas,这个绝对是绕远了……经实验,图片裁切只要一句就可以 ,下面是我写的一个按正方形区域裁剪的方法 /** * 按正方形裁切图片 */ public static Bitmap ImageCrop(Bitmap bitmap) { int w = bitmap.getWidth(); // 得到图片的宽,高 int h = bitmap.getHeight(); int wh = w > h ? h : w;// 裁切后所取的正方形区域边长 int retX = w > h ? (w - h) /
阅读全文
Andriod中的数据绑定 :SimpleCursorAdapter篇
摘要:public SimpleCursorAdapter(Context context, int layout, Cursor c, String[] from, int[] to, int flags) Since: API Level 11Standard constructor.Parameterscontext The context where the ListView associated with thisSimpleListItemFactory is runninglayout resource identifier of a layout file that defines
阅读全文
Andriod升级到4.0 带来的编译问题“'Must Override a Superclass Method' ”
摘要:'Must Override a Superclass Method' Errors after importing a project into Eclipsehttp://stackoverflow.com/questions/1678122/must-override-a-superclass-method-errors-after-importing-a-project-into-eclips1. Eclipse Galileo you go to Eclipse -> Preferences menu item, then select Java and Com
阅读全文
学习Andriod的网站
摘要:1. Resource:http://developer.android.com/guide/topics/resources/index.html2. Dev Guild:http://developer.android.com/guide/topics/resources/index.html3. Reference:http://developer.android.com/reference/android/widget/SimpleCursorAdapter.html4. SDK:http://developer.android.com/sdk/index.html5. Andrio.
阅读全文
在Eclipse Android中设置模拟器屏幕大小
摘要:在Eclipse Android中设置模拟器屏幕大小是本文要介绍的内容,主要是来了解并学习Eclipse Android中模拟器的设置,具体关于Eclipse Android内容的详解来看本文 。 方法一、选择"AndroidSDKandAVDManager",选中相应的AVD, 点击右侧的"StartstheselectedAVD"按钮 如图,在"ScreenSize(in)"中填入你需要的屏幕尺寸,然后"Launch",OK(单击放大) 但是这种方法对我们点击“运行”后的模拟器没有影响 。 方法二、同样选择&q
阅读全文
(Android) Binding to Data with AdapterView
摘要:http://developer.android.com/guide/topics/ui/binding.htmlUser Interface: Binding to Data with AdapterViewIn this documentFilling the Layout with DataHandling User SelectionsRelated tutorialsSpinnerList ViewGrid ViewThe AdapterView is a ViewGroup subclass whose child Views are determined by an Adapt.
阅读全文
Android Architecture
摘要:Android ArchitectureThe following diagram shows the major components of the Android operating system. Each section is described in more detail below.ApplicationsAndroid will ship with a set of core applications including an email client, SMS program, calendar, maps, browser, contacts, and others. A.
阅读全文
(收藏)Andriod中文翻译组
摘要:http://androidbox.sinaapp.com/Andriod中文翻译组,不错的网站。Android应用开发提高系列(1)——《Practical Java 中文版》读书笔记(上)http://www.cnblogs.com/over140/archive/2012/01/04/2308492.html
阅读全文
Andriod生命周期
摘要:Andriod生命周期http://developer.android.com/guide/topics/fundamentals/activities.htmlManaging the Activity LifecycleManaging the lifecycle of your activities by implementing callback methods is crucial to developing a strong and flexible application. The lifecycle of an activity is directly affected by.
阅读全文
[收藏】:android开发系列文章集合
摘要:http://www.cnblogs.com/aimeng/archive/2012/01/18/2325379.htmlandroid开发系列文章集合 Android 技术专题系列之二 -- telephonyAndroid 技术专题系列之三 -- 编译(build) 流程Android 技术专题系列之四 -- 网络资源及常见命令备Android 技术专题系列之五- 本地化Android 技术专题系列之六 --如何安装.apk到模拟Android 技术专题系列之七 -- 输入法 框架Android 技术专题系列之八 -- 浏览器及web widgetAndroid 技术专题系列之九 --..
阅读全文
浙公网安备 33010602011771号