自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(5)
  • 资源 (1)
  • 收藏
  • 关注

原创 通过packgername 启动browser

Android 5.1源码中使用       try {             Intent intent1 = new Intent();             intent1.setAction("android.intent.action.VIEW");             Uri content_uri = Uri.parse("http://www.emindso

2016-04-28 10:49:53 612

原创 通过packgername 启动activity

try {             PackageManager manager=mContext.getPackageManager();             Intent lanuch = new Intent();             lanuch = manager.getLaunchIntentForPackage("com.cyanogenmod.filemanager"

2016-04-28 10:44:01 645

原创 Andorid 源码5.1 调用系统文件管理页面

在点击时间里面添加: Note:   调用系统的这些方法必须在源码中调用有效   自己写的demo无效。 for (int i = 0; i AppInfo appInfo = mlistAppInfo.get(i); PackageManager manager = this.getPackageManager(); String packString = appInfo.g

2016-04-15 17:11:01 416

原创 Android 源码5.1调用系统设置页面

在点击事件里面添加:     if(android.os.build.VERSION.SDK.INT>13){ startActivity(new Intent(android.provider.Settings.ACTION_SETTINGS).addFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAT_TASK

2016-04-15 16:58:04 699

原创 Android 源码5.1调用系统关机

在点击事件的方法里面添加: Intent intent = new Intent(Intent.ACTION_REQUEST_SHUTDOWN); intent.putExtra(Intent.EXTRA_KEY_CONFIRM,true); intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); startActivity(intent);

2016-04-15 16:44:54 746

Android体系结构

Applications |||||||| Application Framework ||||||| Libraries -----Andrdid Runtime ||||||||| Linux Kernel

2014-09-15

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除