- 博客(5)
- 资源 (3)
- 收藏
- 关注
![](https://csdnimg.cn/release/blogv2/dist/pc/img/listFixedTop.png)
原创 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
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人