前言
这是在新浪博客的时候遗留的问题,一个是添加注册机制,一个是添加启动Splash,这篇写完了就完结了。本片还是以SuperChm为例。
准备DEMO:网路上的cnblogs.com 稍作了修改
对象:SuperChm
目的:添加Splash到SuperChm
直接操作1、在AndroidManifest.xml的修改:
<activity android:configChanges="keyboardHidden|orientation|screenSize" android:hardwareAccelerated="true" android:name="com.jrzheng.superchm.Activity.MainActivity">
<intent-filter>
<action android:name="com.google.app.splashy.CLEARSPLASH"/>
<category android:name="android.intent.category.DEFAULT"/>
</intent-filter>
</activity>
<activity android:label="@string/app_name" android:name="com.jrzheng.superchm.Activity.SplashyDemo" android:theme="@andro