Skip to content

Commit

Permalink
修改导入包规则,加入apk下载
Browse files Browse the repository at this point in the history
  • Loading branch information
aaatttcccc committed Oct 9, 2021
1 parent fc9bed8 commit 9cc2478
Show file tree
Hide file tree
Showing 10 changed files with 46 additions and 40 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,3 @@
/.idea/dictionaries/
/.idea/inspectionProfiles/
/.idea/shelf/
/apk/app-release.apk
21 changes: 10 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,10 @@ A non-X library version, no longer maintained(https://github.com/zhongjhATC/Albu
- Recording support for segment recording, video editing will be added in the future
- Image editing supports color graffiti, input text, Mosaic processing, rotation, cropping and other processing
- Support recording processing
- All recorded photos are compressed
- Deep compression is available for all recorded photos, custom compression is available for pictures, LuBan compression is available for Demo, and FFMPEG compression is available for videos
- Perfect cache management system
- Improved animation effects, which will be added later
- Performance optimizations, memory leaks -- all carefully addressed

## import

Expand All @@ -51,24 +54,20 @@ A non-X library version, no longer maintained(https://github.com/zhongjhATC/Albu
#### Step 2. Add the dependency

dependencies {
// a must
implementation 'com.google.android.material:material:1.2.1'
implementation 'it.sephiroth.android.library.imagezoom:imagezoom:+'

// if you want to simplify the code and at the same time use multilibrary and progresslibrary, albumCameraRecorderCommon, can directly use the combined library
implementation 'com.github.zhongjhATC.AlbumCameraRecorder:combined:1.1.27X'
implementation 'com.github.zhongjhATC.AlbumCameraRecorder:combined:1.1.28X'

// Public library, if not using the combined library above
implementation 'com.github.zhongjhATC.AlbumCameraRecorder:albumCameraRecorderCommon:1.1.27X'
implementation 'com.github.zhongjhATC.AlbumCameraRecorder:albumCameraRecorderCommon:1.1.28X'
// core lib, call display album, screen recording, recording, etc
implementation 'com.github.zhongjhATC.AlbumCameraRecorder:multilibrary:1.1.27X'
implementation 'com.github.zhongjhATC.AlbumCameraRecorder:multilibrary:1.1.28X'
// It is mainly used to display the relevant upload progress after obtaining data. If you only need to obtain photos, videos and recordings, you don't need to use this
implementation 'com.github.zhongjhATC.AlbumCameraRecorder:progresslibrary:1.1.27X'
implementation 'com.github.zhongjhATC.AlbumCameraRecorder:progresslibrary:1.1.28X'

// use it with editing pictures
implementation 'com.github.zhongjhATC.AlbumCameraRecorder:imageedit:1.1.27X'
implementation 'com.github.zhongjhATC.AlbumCameraRecorder:imageedit:1.1.28X'
// For editing video
implementation 'com.github.zhongjhATC.AlbumCameraRecorder:videoedit:1.1.27X'
implementation 'com.github.zhongjhATC.AlbumCameraRecorder:videoedit:1.1.28X'
}

## snapshoot
Expand Down
24 changes: 12 additions & 12 deletions README_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,12 @@
- 录制拍照长按按钮等所有UI可自定义,全是svg图片可以很好的处理动画细节
- 录制支持分段录制,以后还会加入视频编辑
- 图片编辑支持颜色涂鸦、输入文字、马赛克处理、旋转、裁剪等处理
- 支持录音处理
- 所有录制拍照都经过了压缩处理
- 支持拍摄、录制时的水印功能
- 自带权限功能,无需修改任意代码,权限功能包括权限检测、发送权限时告知为何请求、多次拒绝后会提示是否跳转到设置界面设置权限。也可以自定义权限
- 所有录制拍照都可以选择深度压缩处理,图片可选择自定义压缩处理,也可以使用Demo中的LuBan压缩,视频压缩则是使用ffmpeg处理
- 完善的缓存管理系统
- 完善的动画效果,后续还会继续增加
- 性能优化,内存泄漏这些都一一仔细处理过

## 引入

Expand All @@ -52,24 +56,20 @@
#### Step 2. Add the dependency

dependencies {
// 必须的
implementation 'com.google.android.material:material:1.2.1'
implementation 'it.sephiroth.android.library.imagezoom:imagezoom:+'

// 如果想简化代码并且同时用到multilibrary和progresslibrary、albumCameraRecorderCommon,可以直接使用combined库
implementation 'com.github.zhongjhATC.AlbumCameraRecorder:combined:1.1.27X'
implementation 'com.github.zhongjhATC.AlbumCameraRecorder:combined:1.1.28X'

// 公共库,如果不使用上面的combined库
implementation 'com.github.zhongjhATC.AlbumCameraRecorder:albumCameraRecorderCommon:1.1.27X'
implementation 'com.github.zhongjhATC.AlbumCameraRecorder:albumCameraRecorderCommon:1.1.28X'
// 核心lib,调用显示相册、录屏、录音等
implementation 'com.github.zhongjhATC.AlbumCameraRecorder:multilibrary:1.1.27X'
implementation 'com.github.zhongjhATC.AlbumCameraRecorder:multilibrary:1.1.28X'
// 配套使用,主要用于获取数据后进行相关显示,相应的上传进度显示,如果你只需要获取照片录像录音等数据,可以不需要使用这个
implementation 'com.github.zhongjhATC.AlbumCameraRecorder:progresslibrary:1.1.27X'
implementation 'com.github.zhongjhATC.AlbumCameraRecorder:progresslibrary:1.1.28X'

// 配套编辑图片使用
implementation 'com.github.zhongjhATC.AlbumCameraRecorder:imageedit:1.1.27X'
implementation 'com.github.zhongjhATC.AlbumCameraRecorder:imageedit:1.1.28X'
// 配套编辑视频使用
implementation 'com.github.zhongjhATC.AlbumCameraRecorder:videoedit:1.1.27X'
implementation 'com.github.zhongjhATC.AlbumCameraRecorder:videoedit:1.1.28X'
}

## 快照
Expand Down
21 changes: 10 additions & 11 deletions README_EN.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,10 @@ A non-X library version, no longer maintained(https://github.com/zhongjhATC/Albu
- Recording support for segment recording, video editing will be added in the future
- Image editing supports color graffiti, input text, Mosaic processing, rotation, cropping and other processing
- Support recording processing
- All recorded photos are compressed
- Deep compression is available for all recorded photos, custom compression is available for pictures, LuBan compression is available for Demo, and FFMPEG compression is available for videos
- Perfect cache management system
- Improved animation effects, which will be added later
- Performance optimizations, memory leaks -- all carefully addressed

## import

Expand All @@ -51,24 +54,20 @@ A non-X library version, no longer maintained(https://github.com/zhongjhATC/Albu
#### Step 2. Add the dependency

dependencies {
// a must
implementation 'com.google.android.material:material:1.2.1'
implementation 'it.sephiroth.android.library.imagezoom:imagezoom:+'

// if you want to simplify the code and at the same time use multilibrary and progresslibrary, albumCameraRecorderCommon, can directly use the combined library
implementation 'com.github.zhongjhATC.AlbumCameraRecorder:combined:1.1.27X'
implementation 'com.github.zhongjhATC.AlbumCameraRecorder:combined:1.1.28X'

// Public library, if not using the combined library above
implementation 'com.github.zhongjhATC.AlbumCameraRecorder:albumCameraRecorderCommon:1.1.27X'
implementation 'com.github.zhongjhATC.AlbumCameraRecorder:albumCameraRecorderCommon:1.1.28X'
// core lib, call display album, screen recording, recording, etc
implementation 'com.github.zhongjhATC.AlbumCameraRecorder:multilibrary:1.1.27X'
implementation 'com.github.zhongjhATC.AlbumCameraRecorder:multilibrary:1.1.28X'
// It is mainly used to display the relevant upload progress after obtaining data. If you only need to obtain photos, videos and recordings, you don't need to use this
implementation 'com.github.zhongjhATC.AlbumCameraRecorder:progresslibrary:1.1.27X'
implementation 'com.github.zhongjhATC.AlbumCameraRecorder:progresslibrary:1.1.28X'

// use it with editing pictures
implementation 'com.github.zhongjhATC.AlbumCameraRecorder:imageedit:1.1.27X'
implementation 'com.github.zhongjhATC.AlbumCameraRecorder:imageedit:1.1.28X'
// For editing video
implementation 'com.github.zhongjhATC.AlbumCameraRecorder:videoedit:1.1.27X'
implementation 'com.github.zhongjhATC.AlbumCameraRecorder:videoedit:1.1.28X'
}

## snapshoot
Expand Down
9 changes: 9 additions & 0 deletions UPDATE.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,13 @@
# 历史更新
## 1.1.28X
- 九宫展示数据增加动画
- 优化初次加载九宫展示界面的速度
- 修复某些低版本机器没有加入相册库的问题
- 修复偶尔闪退的问题
- 统一缓存逻辑,在拍摄、录制、录音中产生的文件会默认在cache文件夹中,当确认后,才将cache文件转移并且进行压缩到配置的正式目录
- AlbumCameraRecorderApi增加获取缓存文件大小和删除缓存方法
- 增加图片、视频压缩功能

## 1.1.27X
- 独立出imagezoom,防止库冲突
- 修改状态栏的更多兼容性
Expand Down
Binary file added apk/app-release.apk
Binary file not shown.
2 changes: 1 addition & 1 deletion imageedit/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ android {
dependencies {

implementation "androidx.appcompat:appcompat:$rootProject.ext.appcompatSdkVersion"
compileOnly "com.google.android.material:material:$rootProject.ext.androidMaterialSdkVersion"
implementation "com.google.android.material:material:$rootProject.ext.androidMaterialSdkVersion"
implementation "androidx.constraintlayout:constraintlayout:$rootProject.ext.constraintlayoutSdkVersion"
implementation project(path: ':albumCameraRecorderCommon')
}
4 changes: 2 additions & 2 deletions multilibrary/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ dependencies {
implementation "androidx.appcompat:appcompat:$rootProject.ext.appcompatSdkVersion"
implementation "androidx.constraintlayout:constraintlayout:$rootProject.ext.constraintlayoutSdkVersion"
implementation 'androidx.asynclayoutinflater:asynclayoutinflater:1.0.0'
compileOnly "com.google.android.material:material:$rootProject.ext.androidMaterialSdkVersion"
compileOnly 'it.sephiroth.android.library.imagezoom:imagezoom:+'
implementation "com.google.android.material:material:$rootProject.ext.androidMaterialSdkVersion"
implementation 'it.sephiroth.android.library.imagezoom:imagezoom:+'
// 图片
compileOnly 'com.github.bumptech.glide:glide:3.7.0'
compileOnly 'com.squareup.picasso:picasso:2.5.2'
Expand Down
2 changes: 1 addition & 1 deletion progresslibrary/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ dependencies {
implementation "androidx.recyclerview:recyclerview:$rootProject.ext.recyclerviewSdkVersion"
implementation "androidx.appcompat:appcompat:$rootProject.ext.appcompatSdkVersion"
implementation "androidx.constraintlayout:constraintlayout:$rootProject.ext.constraintlayoutSdkVersion"
compileOnly "com.google.android.material:material:$rootProject.ext.androidMaterialSdkVersion"
implementation "com.google.android.material:material:$rootProject.ext.androidMaterialSdkVersion"

// 图片
compileOnly 'com.github.bumptech.glide:glide:3.7.0'
Expand Down
2 changes: 1 addition & 1 deletion videoedit/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ android {
dependencies {

implementation "androidx.appcompat:appcompat:$rootProject.ext.appcompatSdkVersion"
compileOnly "com.google.android.material:material:$rootProject.ext.androidMaterialSdkVersion"
implementation "com.google.android.material:material:$rootProject.ext.androidMaterialSdkVersion"

compileOnly project(':albumCameraRecorderCommon')
implementation 'com.github.microshow:RxFFmpeg:4.9.0'
Expand Down

0 comments on commit 9cc2478

Please sign in to comment.