自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(7)
  • 收藏
  • 关注

原创 监听Home键

privatevoid receive(Context context, Intent intent){        String action = intent.getAction();        if(action.equals(Intent.ACTION_CLOSE_SYSTEM_DIALOGS)) {            String

2016-12-09 16:12:03 239

转载 修改android源码api报错

******************************You have tried to change the API from what has been previously approved.To make these errors go away, you have two choices:   1) You can add "@hide" javadoc comment

2016-12-07 19:54:27 645

原创 Android Studio查看SHA1,MD5等证书

打开AndroidStudio中自带的Terminal,cd命令进入路径C:\Users\Administrator\.android,运行命令keytool -list -v -keystore debug.keystore输入密钥库口令: android(默认)

2016-11-10 16:30:05 317

原创 Error:Could not install Gradle distribution from 'https://services.gradle.org/distributions/gradle

问题:Error:Could not install Gradle distribution from 'https://services.gradle.org/distributions/gradle-2.10-all.zip'.界面出现提示如下图解决:点击Android Studio 中 File -> project structure

2016-11-10 15:37:12 1222

转载 在命令行通过adb shell am broadcast发送广播

adb shell am broadcast 后面的参数有:[-a ][-d ][-t ] [-c [-c ] ...] [-e|--es ...] [--ez ...] [-e|--ei ...] [-n ][-f ] []例如:adb shell am broadcast -a com.Android.t

2016-10-31 09:52:16 943

转载 Android源码导入eclipse

转自http://www.eoeandroid.com/thread-164371-1-1.html的七楼

2016-10-26 09:08:22 305

原创 java.lang.ClassNotFoundException: Didn't find class "com.example.b.MainActivity

问题:如果在Order And Export选项卡中的jar没有被勾选有可能jar不会被打包到最终生成的apk包中(尤其是v4包)解决方法:选中项目右键--》properties--》找到Java Build Path --》选中选项卡中的Order And Export --》选中可以打勾的jar点Ok,完成

2016-04-20 11:01:29 990

空空如也

空空如也

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

TA关注的人

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