自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(10)
  • 资源 (1)
  • 问答 (12)
  • 收藏
  • 关注

转载 百度地图error inflating class com.baidu.mapapi.map.MapView

在application 中添加SDKInitializer.initialize(getApplicationContext());

2016-10-31 14:24:55 480

原创 android studio 遇到点击run app 无效

android studio 遇到点击run app 无效,  去查看 build project里的  build gradle 版本   ,之前因为拉下来别人的代码  他们改了build版本   死活找不到原因,   结果一个一个撤回   是版本号的原因   。

2016-09-28 18:10:52 5356

转载 actionsheet使用

1.实现ActionSheetListener监听,其中onOtherButtonClick方法为点击回调,通过index判断点击的是哪个2.弹出ActionSheet.createBuilder(this, getSupportFragmentManager()) .setCancelButtonTitle("Cancel") .setOtherB

2016-06-15 10:31:27 554

原创 解决Jpush无法获得registrationid原因,出现缺少write_setting权限问题

之前用jupsh205版本运行Android6.0的机型出现write_setting权限缺失,升级版本到jpush210就可以解决这个问题,可是在另一个项目中用jpush205也可以正常运行Android6.0的机型,而且通过代码查询也没有write_setting权限,却可以正常运行,回头去看看代码有什么不同,  总之出现个别机型出现此bug可以用升级jpush版本解决,

2016-03-29 11:26:26 1542

转载 自定义textview旋转文字

public class RotateTextView extends TextView { private static final int DEFAULT_DEGREES = 0; private int mDegrees; public RotateTextView(Context context) { super(context, null);

2016-03-23 17:54:59 549

原创 PagerSlidingTabStrip应用

今天要做一个导航栏横滚+viewpager的页面,想了N种方法都好麻烦,然后就找到了这个类,真的很简单很方便,下面贴具体代码上代码<PagerSlidingTabStrip android:layout_below="@+id/iv_title" android:id="@+id/tabs" android:textColor="@color/gr

2016-03-18 15:45:37 547

原创 用ImageLoader加载圆角图片(不是圆形)

配置ImageLoader不多赘述了新建 DisplayImageOptions对象DisplayImageOptions options; options = newDisplayImageOptions.Builder().dispalyer(new RoundedBitmapDisplayer(20)).build(); // RoundedBitmapD

2016-03-17 10:36:02 455

转载 git更新错误Can't update: no tracked branch

Can't update: no tracked branchNo tracked branch configured for branch master.To make your branch track a remote branch call, for example,git branch --set-upstream master origin/master解决办法

2016-03-17 09:18:16 18647 1

原创 关于Android studio项目sdk1\build-tools\23.0.1\zipalign.exe'' finished with non-zero exit value 1问题

今天项目没动什么地方就出现了Error:Execution failed for task ':app:zipalignDebug'. > Process 'command 'D:\sdk1\build-tools\23.0.1\zipalign.exe'' finished with non-zero exit value 1错误,而且clean 也提示Error:Execu

2016-03-16 17:24:28 2578

原创 AS新建项目上传coding

1.coding新建项目,studio新建项目2.studio 的terminal中 输入命令 //前提做好git的环境变量2.1    git init2.2    git remote add origin https://git.coding.net/yuLook/aa.git  //路径改为coding中需关联的项目路径2.3    git add . // 追踪新文件,并

2016-03-10 10:41:35 821

安卓蓝牙改源码实现数据接收发送成功

改蓝牙4源码,实现基础的搜索连接,而且成功实现与蓝牙模块通信,发送接收数据,只需改service常量的服务,发送等uuid即可,第一手资料

2016-06-23

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

TA关注的人

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