Skip to content

Commit

Permalink
解决Moto手机拍照失败问题
Browse files Browse the repository at this point in the history
  • Loading branch information
pengjianbo committed Jan 14, 2016
1 parent 1e4c850 commit a65225d
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 7 deletions.
Binary file modified GalleryFinal-Sample.apk
Binary file not shown.
11 changes: 6 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,18 +27,16 @@ Demo apk二维码地址:
通过Gradle抓取:

```gradle
compile 'cn.finalteam:galleryfinal:1.4.5'
compile 'cn.finalteam:galleryfinal:1.4.6'
compile 'com.android.support:support-v4:23.1.1'
```

# Next VERSION
* 添加多选强制裁剪
* ……

# 1.4.5更新内容
* 解决拍照强制裁剪无效问题
* 解决拍照时返回Intent偶尔为空问题

# 1.4.6更新内容
* 解决Moto手机拍照失败问题

## 具体使用
1、通过gradle把GalleryFinal添加到你的项目里
Expand Down Expand Up @@ -519,6 +517,9 @@ setPauseOnScrollListener//设置imageloader滑动加载图片优化OnScrollListe


# 更新日志
# V1.4.6
* 解决Moto手机拍照失败问题

## V1.4.5
* 解决拍照强制裁剪无效问题
* 解决拍照时返回Intent偶尔为空问题
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ protected void takePhotoAction() {
@Override
public void onActivityResult(int requestCode, int resultCode, Intent data) {
if ( requestCode == GalleryFinal.TAKE_REQUEST_CODE ) {
if (data!=null && resultCode == RESULT_OK && mTakePhotoUri != null) {
if (resultCode == RESULT_OK && mTakePhotoUri != null) {
final String path = mTakePhotoUri.getPath();
final PhotoInfo info = new PhotoInfo();
info.setPhotoId(Utils.getRandom(10000, 99999));
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ project_groupId=cn.finalteam
#包类型,Android库是aar
project_packaging=aar
#项目版本
project_version=1.4.5
project_version=1.4.6
#项目官方网站的地址,没有的话就用Github上的地址
project_siteUrl=https://github.com/pengjianbo/GalleryFinal
#项目的Git地址
Expand Down

0 comments on commit a65225d

Please sign in to comment.