Android

Android 如何从应用返回待机界面(HOME)

IntentmIntent=newIntent();mIntent.setAction(Intent.ACTION_MAIN);mIntent.addCategory(Intent.CATEGORY_HOME);startActivity(mIntent);配置action和category即可...

Android系统权限和root权限

Android系统权限和root权限http://www.verydemo.com/demo_c189_i277.html...
代码星球·2020-05-29

android上的默认Intent

android上的默认Intenthttp://www.verydemo.com/demo_c189_i276.html...
代码星球·2020-05-29

Android系统设置— android.provider.Settings

android.provider.SettingsIntentintent=newIntent(android.provider.Settings.ACTION_SETTINGS);startActivity(intent);//打开系统设置界面IntentmIntent=newIntent(android.provi...

调用Android系统设置项

IntentmIntent=newIntent();ComponentNamecomp=newComponentName("com.android.settings","com.android.settings.WirelessSettings");mIntent.setComponent(comp);mIntent....
代码星球·2020-05-29

Android自定义 Dialog 对话框

Android自定义Dialoghttp://www.cnblogs.com/and_he/archive/2011/09/16/2178716.htmlAndroid使用自定义AlertDialog(退出提示框)-爱尚美-http://www.cnblogs.com/511mr/archive/2011/10/21/...

Android字体设置

//自定义字体custom=newTextView(this);//xx.ttflocatedatassets/fonts/typeface=Typeface.createFromAsset(getAssets(),"fonts/xx.ttf");custom.setTypeface(typeface); ....
代码星球·2020-05-29

Android Launcher分析和修改

AndroidLauncher分析和修改http://www.cnblogs.com/mythou/category/499819.htmlAndroidLauncher分析和修改1——Launcher默认界面配置(default_workspace)http://www.cnblogs.com...

Android开机自启动程序

Android开机自启动程序http://www.cnblogs.com/fbsk/archive/2011/10/10/2205316.html...
代码星球·2020-05-29

Android中的颜色设置

1、在android中经常看到设置的颜色为八位的十六进制的颜色值,例如:123public static final class color {    public static final int&...
代码星球·2020-05-29

Android权限 uses-permission

Manifest.permission 官方API说明:http://developer.android.com/reference/android/Manifest.permission.htmlhttp://developer.android.com/guide/topics/manifest/uses-...
代码星球·2020-05-29

Android中全屏 取消标题栏,TabHost中设置NoTitleBar的三种方法(转)

Android中全屏取消标题栏,TabHost中设置NoTitleBar的三种方法http://www.cnblogs.com/zdz8207/archive/2013/02/27/android-tabhost-notitlebar.html...

演化理解 Android 异步加载图片(转)

演化理解Android异步加载图片(转)http://www.cnblogs.com/CJzhang/archive/2011/10/20/2218474.html...

Android之断点续传下载(转)

Android之断点续传下载http://www.cnblogs.com/zxl-jay/archive/2011/10/09/2204195.html...
代码星球·2020-05-29

Android学习笔记——关于onConfigurationChanged(转)

从事Android开发,免不了会在应用里嵌入一些广告SDK,在嵌入了众多SDK后,发现几乎每个要求在AndroidManifest.xml申明Activity的广告SDK都会要求加上注明这么一句属性:android:configChanges="orientation|keyboard|keyboardHidden" ...