ApiDemos

3 篇文章

ApiDemos中getData方法的学习

ApiDemos中的getData方法,用来获得要在界面上显示的list,数据通过PackageManager从Manifest中获取。 不写字了,写了一晚上好累。。 这是我自己写的注释,可能有错误,请指正~ /** * 一个内部是map的list,用来储存intent以及他的名称 */ Li

从ApiDemos中学习Intent

在ApiDemos中,最开始在界面上面要显示的数据是通过getData方法来获取的,而在这个方法中有两句话 [sourcecode language="java"]Intent mainIntent = new Intent(Intent.ACTION_MAIN, null); mainIntent