#Mainfests常用手记一, common permissions
<!-- 允许程序打开网络套接字 --><uses-permission android:name="android.permission.INTERNET" /><!-- 允许程序设置内置sd卡的写权限 --><uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /><!-- 允许程序获取网络状态 --><uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /><!-- 允许程序访问WiFi网络信息 --><uses-permission android:name="android.permission.ACCESS_WIFI_STATE" /><!-- 允许程序读写手机状态和身份 --><uses-permission android:name="android.permission.READ_PHONE_STATE" /><!-- 允许程序访问CellID或WiFi热点来获取粗略的位置 --><uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
Second, splash full-screen styles
<style name="Fullscreen" parent="Theme.AppCompat.Light.NoActionBar"> <item name="windowNoTitle">true</item> <item name="android:windowFullscreen">true</item></style>
Handler delay Start
new Handler().postDelayed(new Runnable() { @Override public void run() { startActivity(new Intent(SplashActivity.this,MainActivity.class)); } },200); //ms
Android Mainfests Notebooks