01 API Demos

ApiDemos 详细介绍了Android平台主要的 API,android 5.0主要包括下图几个大类,涵盖了数百api示例:

aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAVYAAAJaCAIAAAD75/gyAAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAgAElEQVR4nOzdd1wT9/8H8PclIWwJoCBbURBFqmKLAVmi4q5aqTjqxlqrVgWtdeDqz1nAuhAnal0oVb/ualVcVZSKo4IiDpYiKCOskHH3+yOAARIIQeHg3s8Hjz7I5cYnKXmR+xDvRVAUNWhjEiCEGInV2ANACDUmjACEGA0jACFGwwhAiNE4n3yPZ2fbA8D3IZ3lF+6Y9x9OOiJEQ584Aipe/zvm/VexsEocIITo49NEwBqrveXfrpa9/it+58tCASFET2UR0FpHNKCNwJhbUn2NDyLt869bZBZzle1iteXeL75Z/bkGiBD6nMoiYEAbQY+OlpYWVgRByN9NUVRaehpAemRCyypbDso/KVul02g7cVakpFhYLCgy/mJe+b0nyldcUPMIDDtY7u2veTX61e8ZZO3jZWkM8bMZmZvx/aWSEmB16tP2N0e27B5pqSjhRX7U7bz4Qqr2/SCEAKAiAoy5JdVf/wBAEISVpdWLl8+rb1ko4khMei6aKJLd1NACbSMAgB3z/vs+pPOOpf9V30QBloZrV222CNy6ae/OKCqodX2KfPWq4EahRFyxJPfDwjMFOSxWy5Y6vl+1/L/vdDYffnMhH1MAIZV8nAuo/vqvefm1VoMdXl8EUZtKS9+fgZaDZSkgWyA/L6jg8Ab6g00k/7su7O1u+KVu0dUi2SE5/Ue1Hfw6+4GZ0WArjkZp6bXbmZsflpYAABCW7Q16fxDsTxRLAACAkkgz80RZJKS/Fz58VSL4zuoHH/27JwU5FABbw8uj9ZTO2sZsMjU5Z8vlnCfCsp0PfPHuX4uWw605GhLxvbvvjhTrT3NrYa9DCHML95/PPJVNUgDA1vDoaTrJSceUQ+VkCg5czr74nqQIll0X09k99Ntqgbi49P7DrNC7JUUqPNEI0VO9pgPzi7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6GdjLamYGnIsmMVf2xfNk2pmp1V0UY9Qldo9TJHcitANHFlYduBHp797hcdL6nnCA1oG37fUzLu/fzucdueurTqu7+mJRUOiNqR9MYQOXdZmJ4GpkR+qYVinpNpLctN/rIuKOXzrIx5bvZ8jWNOaPUyQYorwKJl4X6TVm5c5Hwobnp4/OYfzlW1Gv7scl+yeuHTcVueLq3czkFdnr960zXftPSlY/vKaGVhHS0NTLgjv/RCMc/JaFs0wevWRob4jvcYZNdD45gDWr1MkNbfAvQsWxaWD/SLzj0cdrrwu935K+ZkK2I+2Rw1rqOyS4nb8nVpW0u/SDhbMTZl24whNoReFrYfxZkGJrTIrz2tUOxMeE7GcbTPi52X9dTGsTPtawCtXiZIcQWII7IsTAghRN53hP+CD/3nLTmSuCh5w4/Be5e+YkNocVveLm177XXZLKXT4ez8iwEJk/rLiI5SFuZMAxNCjfxSjqO5c5B+MobnTzsTCrR6GSG5CwELl4UN2A2e4DeM1FfV8+4L3i6tzfOhsWvWp76lKUjJKn6oI7xl4e5pYD3OyC/tOMZHcoU2jtHqZYS0VoDFy8Kk7daRnD2HTxaXV/x748rJ7z/bXTHAL2ikA+djO/TYpZX3nxiXHKY+uD6zuIlwl4V1zRxp4M7nc0V+aYVi4yO51MYxWr1sk9aFgKXLwoQQ0vL30dzczAdthJDnXvKdmZgTq3KSE564rRFdWrmTX2xq6MK4tKyQvQmcZWFd61NpYDv9J6VEfimFYgGRXGrjGK1epllPUMz8ZWHLe+aRX7R62SOt3wJM0Qu+wyUNrV5GWc8KANOg1cso67kQAAARpPWOAABYGFYAANOwAgCYhhUAwDSsAACmYQUAMA0rAIBpWAEATMMKAGDa/2QbwNflYBi8AAAAAElFTkSuQmCC" alt="" />

02 入口类: SimpleAdapter,ListActivity,PackageManager的使用

ApiDemos采用分类层次显示,ApiDemo是ApiDemos的入口类,继承自ListActivity,该类的主要功能是分类列出大类,进而更进一步显示示例。

ListActivity可以看做为一个含有ListView的Activity,可以不用setContentView设置布局,除非你想定制自己的List布局,这样的话,你的布局中必须包含一个id"@id/android:list"的ListView。 若你还指定了一个id"@id/android:empty"的view,当ListView中没有数据要显示时,这个view就会被显示,同时 ListView会被隐藏。

ListActivity使用方法

ListActivity英文API

ApiDemo这个类可以作为ListActivity使用的参考示例。

在ApiDemos 的 onCreate()中代码:

     Intent intent = getIntent();
String path = intent.getStringExtra("com.example.android.apis.Path"); if (path == null) {
path = "";
} setListAdapter(new SimpleAdapter(this, getData(path),
android.R.layout.simple_list_item_1, new String[] { "title" },
new int[] { android.R.id.text1 }));
getListView().setTextFilterEnabled(true);

这里直接调用ListActivity的setListAdapter给ListView设置适配器。

SimpleAdapter在这里作为数据源getData(path)与ListView(ListActivity)之间的桥梁,它的构造函数如下:

SimpleAdapter(Context context, List<? extends Map<String, ?>> data, int resource, String[] from, int[] to)

简约而不简单——Android SimpleAdapter

使用SimpleAdapter时可以借用二维表来更好的理解,SimpleAdapter的数据源data 类型为List<? extends Map<String, ?>> List 中每一项为一个Map对象,相当于二维表中一行,这一行可以有多列,每列可以有个名字,为Map<String,?> string ,相当于表的列名:

ApiDemos中每条记录只显示一列”title”。

android.R.layout.simple_list_item_1 为用来显示每条记录的Layout资源id, ListActivity允许使用自定义Layout ,这里使用了Android系统资源,simple_list_item_1由一个TextView构成,其id为text1.

new String[] { “title” } 为需要显示的列表的数组,ApiDemos只显示一列“title”,如果有多列:则可以为new String[] { “title”,”field1”,”field2”,”field3” }。

new int[] { android.R.id.text1 }则指定使用 android.R.layout.simple_list_item_1 中 id 为text1的 TextView 来显示 “title” 列。 如果有多列,Layout可以定义多个View (不一定都为TextView) ,然后为每列指定显示的View的id。

再来看看getData(path)是如何定义的,protected List getData(String prefix) 返回一个列表

    protected List<Map<String, Object>> getData(String prefix) {
List<Map<String, Object>> myData = new ArrayList<Map<String, Object>>(); Intent mainIntent = new Intent(Intent.ACTION_MAIN, null);
mainIntent.addCategory(Intent.CATEGORY_SAMPLE_CODE); PackageManager pm = getPackageManager();                //这部分通过PackageManager从 AndroidManifest.xml中读取所
List<ResolveInfo> list = pm.queryIntentActivities(mainIntent, 0);  //有Intent-Filter含有:Intent.ACTION_MAIN和 Intent.CATEGORY_SAMPLE_CODE所有Activity信息
if (null == list)
return myData; String[] prefixPath;
String prefixWithSlash = prefix; if (prefix.equals("")) {
prefixPath = null;
} else {
prefixPath = prefix.split("/");
prefixWithSlash = prefix + "/";
} int len = list.size(); Map<String, Boolean> entries = new HashMap<String, Boolean>(); for (int i = 0; i < len; i++) {
ResolveInfo info = list.get(i);
CharSequence labelSeq = info.loadLabel(pm);
String label = labelSeq != null
? labelSeq.toString()
: info.activityInfo.name; if (prefixWithSlash.length() == 0 || label.startsWith(prefixWithSlash)) { String[] labelPath = label.split("/"); String nextLabel = prefixPath == null ? labelPath[0] : labelPath[prefixPath.length]; if ((prefixPath != null ? prefixPath.length : 0) == labelPath.length - 1) {
addItem(myData, nextLabel, activityIntent(
info.activityInfo.applicationInfo.packageName,
info.activityInfo.name));
} else {
if (entries.get(nextLabel) == null) {
addItem(myData, nextLabel, browseIntent(prefix.equals("") ? nextLabel : prefix + "/" + nextLabel));
entries.put(nextLabel, true);
}
}
}
} Collections.sort(myData, sDisplayNameComparator); return myData;
}

它通过PackageManager 从 AndroidManifest.xml中读取所有Intent-Filter含有:Intent.ACTION_MAIN和 Intent.CATEGORY_SAMPLE_CODE所有Activity信息。前面说过数百个示例根据其功能分类,比如 Hello World示例它的Label为

App/Activity/<b>Hello <i>World</i></b>,表示它的分类为分类App下Activity子类。

        <!-- Activity Samples -->

        <activity android:name=".app.HelloWorld" android:label="@string/activity_hello_world">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.SAMPLE_CODE" />

</intent-filter>
</activity>
<string name="activity_hello_world">App/Activity/<b>Hello <i>World</i></b></string>

getData(String prefix)根据每个Activity的Label属性和当前层次(prefix)来决定当前列表中某项为叶子列表项,还是分类列表项,如果是叶子列表项,则添加为activityIntent,当用户点击改列表项时则会触发该示例。若是分类列表项,则添加为 browseIntent,browseIntent还是触发ApiDemos Activity,但Intent带有Extra信息,表示需要显示该分类下的子类:

    protected Intent activityIntent(String pkg, String componentName) {
Intent result = new Intent();
result.setClassName(pkg, componentName);
return result;
} protected Intent browseIntent(String path) {
Intent result = new Intent();
result.setClass(this, ApiDemos.class);
result.putExtra("com.example.android.apis.Path", path);
return result;
}

此时如果用户点击该节点列表项,则会进入该分类下级目录。

    protected void addItem(List<Map<String, Object>> data, String name, Intent intent) {
Map<String, Object> temp = new HashMap<String, Object>();
temp.put("title", name);
temp.put("intent", intent);
data.add(temp);
} @Override
@SuppressWarnings("unchecked")
protected void onListItemClick(ListView l, View v, int position, long id) {
Map<String, Object> map = (Map<String, Object>)l.getItemAtPosition(position); Intent intent = new Intent((Intent) map.get("intent"));
intent.addCategory(Intent.CATEGORY_SAMPLE_CODE);
startActivity(intent);
}

addItem 给返回的List中添加一项,每个记录含两列 :”title”,”intent” ,其中只显示”title”列,如果想要显示”intent”列的信息,就不能使用 android.R.layout.simple_list_item_1 了,这时可以另外定义一个Layout 来显示多列数据。 intent可以为触发示例,如”Hello World”或是下级示例列表,此时触发的Activity还是ApiDemos。
此外,ApiDemo还定义了ApiDemosApplication做为Application的子类,如果需要在多个Activity共享一些数据,
可以定义在Application中。如果使用了自定义的Application,别忘了修改AndroidManifest.xml ,如下:

<application android:name="ApiDemosApplication"
android:label="@string/activity_sample_code"
android:icon="@drawable/app_sample_code"
android:hardwareAccelerated="true"
android:supportsRtl="true"> … </application>

【起航计划 003】2015 起航计划 Android APIDemo的魔鬼步伐 02 SimpleAdapter,ListActivity,PackageManager参考的更多相关文章

  1. 【起航计划 002】2015 起航计划 Android APIDemo的魔鬼步伐 01

    本文链接:[起航计划 002]2015 起航计划 Android APIDemo的魔鬼步伐 01 参考链接:http://blog.csdn.net/column/details/mapdigitap ...

  2. 【起航计划 037】2015 起航计划 Android APIDemo的魔鬼步伐 36 App->Service->Remote Service Binding AIDL实现不同进程间调用服务接口 kill 进程

    本例和下个例子Remote Service Controller 涉及到的文件有RemoteService.java ,IRemoteService.aidl, IRemoteServiceCallb ...

  3. 【起航计划 031】2015 起航计划 Android APIDemo的魔鬼步伐 30 App->Preferences->Advanced preferences 自定义preference OnPreferenceChangeListener

    前篇文章Android ApiDemo示例解析(31):App->Preferences->Launching preferences 中用到了Advanced preferences 中 ...

  4. 【起航计划 027】2015 起航计划 Android APIDemo的魔鬼步伐 26 App->Preferences->Preferences from XML 偏好设置界面

    我们在前面的例子Android ApiDemo示例解析(9):App->Activity->Persistent State 介绍了可以使用Shared Preferences来存储一些状 ...

  5. 【起航计划 020】2015 起航计划 Android APIDemo的魔鬼步伐 19 App->Dialog Dialog样式

    这个例子的主Activity定义在AlertDialogSamples.java 主要用来介绍类AlertDialog的用法,AlertDialog提供的功能是多样的: 显示消息给用户,并可提供一到三 ...

  6. 【起航计划 012】2015 起航计划 Android APIDemo的魔鬼步伐 11 App->Activity->Save & Restore State onSaveInstanceState onRestoreInstanceState

    Save & Restore State与之前的例子Android ApiDemo示例解析(9):App->Activity->Persistent State 实现的UI类似,但 ...

  7. 【起航计划 035】2015 起航计划 Android APIDemo的魔鬼步伐 34 App->Service->Local Service Controller

    Local Service Controller 是将LocalService当作“Started”Service来使用,相对于”Bound” Service 来说,这种模式用法要简单得多,Local ...

  8. 【起航计划 034】2015 起航计划 Android APIDemo的魔鬼步伐 33 App->Service->Local Service Binding 绑定服务 ServiceConnection Binder

    本例和下列Local Service Controller 的Activity代码都定义在LocalServiceActivities.Java 中,作为LocalServiceActivities ...

  9. 【起航计划 033】2015 起航计划 Android APIDemo的魔鬼步伐 32 App->Service->Foreground Service Controller service使用,共享service,前台服务,onStartCommand

    Android系统也提供了一种称为“Service”的组件通常在后台运行.Activity 可以用来启动一个Service,Service启动后可以保持在后台一直运行,即使启动它的Activity退出 ...

随机推荐

  1. CF431B Shower Line

    Many students live in a dormitory. A dormitory is a whole new world of funny amusements and possibil ...

  2. Exadata X7来了

    1.Exadata Brings In-Memory OLTP to Storage Exadata Storage Servers add a memory cache in front of Fl ...

  3. PhpStrom 和 wamp 配置 xdebug

    本地服务器: 1.php.ini  添加内容: ;设置xdebug的端口为9000 xdebug.remote_handler = dbgp xdebug.remote_host= localhost ...

  4. Experimental Educational Round: VolBIT Formulas Blitz D

    Description After a probationary period in the game development company of IT City Petya was include ...

  5. input keyup的时候实现内容过滤

    当在文本框中输入关键字,就会搜索出包含关键字的数据 实现: 只需要一个内容过滤即可 <body> <input type="text" id="sear ...

  6. Tomcat故障

    1.1 故障日志 31-May-2018 16:11:41.136 INFO [http-nio-8017-exec-5] org.apache.coyote.http11.AbstractHttp1 ...

  7. Wireshark抓取TCP包分析

    介绍 本篇文章是使用wireshrak对某个https请求的tcp包进行分析. 目的 通过抓包实际分析了解tcp包. 准备工作 在我自己机子上安装的是wireshark2.2.6版本,随机查找了某个T ...

  8. 事务背书 ACID, CAP, BASE

    A atomicity 原子性 一个事务(transaction)中的所有操作,要么全部完成,要么全部不完成, C consistency 一致性 在事务开始之前和事务结束以后,数据库的完整性没有被破 ...

  9. Java字符串拆分和字符串连接

    Java字符串拆分/连接 public class LierString{ //------------------------------------------------------------ ...

  10. 随性练习:python字典实现文本合并

    主要用到,字典.字符串分割和连接.文件等操作 例如:有以下两个txt文本,要合并成一个 代码: address_book1 = {} address_book2 = {} def read_addre ...