我读了发射源$ C $ C是哪个版本的ICS。有一个 RocketLauncher
类延伸 BasicDream
。是什么 BasicDream
?有什么可以 BasicDream
吗?我能找到这一行进口android.support.v13.dreams.BasicDream;
,但我无法找到它在互联网上的任何信息。请给我一些信息,去了解它。谢谢!
I read the Launcher source code which version is ICS. There is a RocketLauncher
class which extends BasicDream
. what is BasicDream
? what can BasicDream
do? I can find this line import android.support.v13.dreams.BasicDream;
, but I can't find any information about it on Internet. Please give me some information to understand it. Thanks!
更新:我发现在发射的manifest.xml那些code<活动机器人:名字=com.android.launcher2.RocketLauncher 机器人:标签=@字符串/ dream_name 机器人:主题=@安卓风格/ Theme.Black.NoTitleBar.Fullscreen> &所述;意图滤光器> <作用机器人:名字=android.intent.action.MAIN/> <类机器人:名字=android.intent.category.DEFAULT/> <类机器人:名字=android.intent.category.DREAM/> &所述; /意图滤光器> < /活性GT;
Update: I found those code in launcher manifest.xml
<activity android:name="com.android.launcher2.RocketLauncher"
android:label="@string/dream_name"
android:theme="@android:style/Theme.Black.NoTitleBar.Fullscreen">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.DREAM" />
</intent-filter>
</activity>
有一个新的类别 android.intent.category.DREAM
,它是干什么用呢?这RocketLauncher是活动
?
There is a new category android.intent.category.DREAM
, what is it used to do? That RocketLauncher is an Activity
?
当你完成编译Android源,您将在出/主机/ Linux的的x86 / SDK / Android的收购Android的支持,v13.jar -sdk_eng.wj_linux-86 /演员/安卓/支持/ V13。现在,你可以让这个罐子和放大器;的android.jar一个罐子,更换平台的android.jar。
when you complete to compile android source, you will acquire "android-support-v13.jar" in "out/host/linux-x86/sdk/android-sdk_eng.wj_linux-x86/extras/android/support/v13" . now ,you can make this jar & android.jar to one jar, replace the android.jar in platforms.
存在的readme.txt描述的出/主机/ Linux的的x86 / SDK / Android的sdk_eng.wj_linux-86 /演员/安卓/支持这一类。
there is "readme.txt" that describe this class in "out/host/linux-x86/sdk/android-sdk_eng.wj_linux-x86/extras/android/support".
上一篇:如何使机器人运行的应用程序的窗口小部件?机器人、部件、应用程序、窗口
下一篇:DateUtils.getRelativeDateTimeString的格式化DateUtils、getRelativeDateTimeString