# FishBun **Repository Path**: ts_ohos/FishBun ## Basic Information - **Project Name**: FishBun - **Description**: FishBun is a highly customizable image picker for openharmony. 主要涉及功能为读取手机图片,并进行选择操作。以及部分关于开发相关的配置。 - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 3 - **Forks**: 2 - **Created**: 2021-04-16 - **Last Updated**: 2024-10-16 ## Categories & Tags **Categories**: harmonyos-selector **Tags**: None ## README # FishBun 本项目是基于开源项目fishbun进行harmonyos化的移植和开发的,可以通过项目标签以及 [github地址](https://github.com/sangcomz/FishBun). 移植版本:release/1.0.0-alpha05 ## 项目介绍 ### 项目名称:FishBun ### 所属系列:harmonyos的第三方组件适配移植 ### 功能: FishBun is a highly customizable image picker for harmonyos. 主要涉及功能为读取手机图片,并进行选择操作。以及部分关于开发相关的配置。 ### 项目移植状态:基本移植,但部分功能如调用系统相机需要系统后续支持完善 ### 调用差异:基本没有使用差异,请参照demo使用 ### 原项目Doc地址:https://github.com/sangcomz/FishBun ### 编程语言:java ## 安装教程 方案一 建议下载开源代码并参照demo引入相关库: compile project(path: ':FishBun') 方案二 项目根目录的build.gradle中的repositories添加: mavenCentral() module目录的build.gralde中dependencies添加: implementation 'com.gitee.ts_ohos:fishbun:1.0.0' ### 项目截图(涉及文件仅供demo测试使用) ![demo运行效果](screenshoot/fishbun.jpg) ###使用方法 FishBun.with(getAbility()) .setImageAdapter(new GlideAdapter()) .setMaxCount(10) .setActionBarColor(Color.getIntColor("#3F51B5"), Color.getIntColor("#303F9F")) .setCamera(true) .setSelectedImages(path) .startAlbum(); ## 版本迭代 - v1.0.0 项目初次提交 ## 版本和许可信息 Copyright 2019 Seokwon Jeong Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.