自定义博客皮肤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)
  • 资源 (3)
  • 收藏
  • 关注

原创 android 5.0 获取 当前app包名

在 android 5.0 以上版本 , 已经不能按此方式获取包名:ComponentName localComponentName = ((ActivityManager.RunningTaskInfo) ((ActivityManager) getSystemService("activity")).getRunningTasks(1).get(0)).topActivity;

2015-02-27 10:55:51 1001

转载 Small 语法转 JAVA

.class :类名.super :父类.source :源文件名.implements :继承的接口.field :类成员变量.method :类方法.parameter :函数参数 p1,p2....locals x :局部变量(个数)const/16 v0, 0x64 :int v0 = 0x64const/high16 v0, 0x7f03

2016-06-01 18:25:09 1773

转载 关于 parseSdkContent failed Could not initialize class android.graphics.Typeface 报错

Download the SDK platform for API 20 (4.4W)Navigate to your sdk folder (should be like D:\EclipseWorkspace\adt-bundle-windows-x86_64-20140321\sdk)Go to platforms folder -> android-21 folde

2014-11-29 14:04:29 594

原创 为clock的点击事件 添加各厂商原生系统时钟页面跳转

PackageManager packageManager = context.getPackageManager(); Intent alarmClockIntent = new Intent(Intent.ACTION_MAIN) .addCategory(Intent.CATEGORY_LAUNCHER); // Verify clock implementation S

2014-01-23 11:04:10 1109

原创 当前ViewGroup背景设置系统背景并增加颜色滤镜效果

WallpaperManager wallpaperManager = WallpaperManager .getInstance(getActivity()); Drawable wallpaperDrawable = wallpaperManager.getDrawable(); //isbackGroundColor为颜色滤镜 if(isbackGroundColor!=n

2014-01-20 17:51:53 709

android-vcard (Android 5.1 SDK 导出)

android Vcard 工具类 Android 5.1 SDK 导出.

2015-09-16

Android源代码-4.3

Android源代码-4.3,sources源代码,希望对大家有用

2013-09-04

Android-4.3-sources源代码

Android-4.3-sources源代码,希望对大家有用!

2013-08-31

空空如也

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

TA关注的人

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