{"id":18789243,"url":"https://github.com/dsiner/album","last_synced_at":"2025-07-31T02:14:16.827Z","repository":{"id":202173105,"uuid":"318145790","full_name":"Dsiner/Album","owner":"Dsiner","description":"A local image selector for Android; 支持仿微信图片选择UI，实现了拍照、图片选择（单选/多选）、预览、编辑画图等功能","archived":false,"fork":false,"pushed_at":"2021-01-10T15:53:31.000Z","size":766,"stargazers_count":8,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-20T14:18:00.742Z","etag":null,"topics":["album","android-image-picker","android-image-selector","android-image-viewer","drawing","gallery"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Dsiner.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2020-12-03T09:48:28.000Z","updated_at":"2021-11-05T06:17:34.000Z","dependencies_parsed_at":null,"dependency_job_id":"f3c94341-b462-4ce3-ba16-83326c8c31c8","html_url":"https://github.com/Dsiner/Album","commit_stats":null,"previous_names":["dsiner/album"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Dsiner/Album","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dsiner%2FAlbum","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dsiner%2FAlbum/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dsiner%2FAlbum/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dsiner%2FAlbum/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Dsiner","download_url":"https://codeload.github.com/Dsiner/Album/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dsiner%2FAlbum/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267977577,"owners_count":24175188,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-31T02:00:08.723Z","response_time":66,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["album","android-image-picker","android-image-selector","android-image-viewer","drawing","gallery"],"created_at":"2024-11-07T21:07:02.204Z","updated_at":"2025-07-31T02:14:16.775Z","avatar_url":"https://github.com/Dsiner.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Album for Android\n\n[![License](https://img.shields.io/badge/license-Apache%202-green.svg)](https://www.apache.org/licenses/LICENSE-2.0)\n[![API](https://img.shields.io/badge/API-11%2B-green.svg?style=flat)](https://android-arsenal.com/api?level=11)\n\n\u003e Album is a local image selector for Android.\n\n## Set up\nMaven:\n```xml\n\u003cdependency\u003e\n  \u003cgroupId\u003ecom.dsiner.lib\u003c/groupId\u003e\n  \u003cartifactId\u003ealbum\u003c/artifactId\u003e\n  \u003cversion\u003e2.0.0\u003c/version\u003e\n\u003c/dependency\u003e\n```\n\nor Gradle:\n```groovy\n// AndroidX\nimplementation 'com.dsiner.lib:album:2.0.0'\n// Or Support\nimplementation 'com.dsiner.lib:album:1.0.1'\n```\n\n## Features\n- Use it in Activity or Fragment\n- Take a picture\n- Select images\n- Preview pictures in the gallery and select pictures in the gallery.\n- Supports zooming, by various touch gestures.\n- Supports drawing, you can draw pictures in different colors.\n\n## Screenshot\n![Artboard](https://github.com/Dsiner/Album/blob/master/image/album.png)\n\n## How do I use it?\nPreview:\n```java\n    PhotoPreviewActivity.openActivity(this, Arrays.asList(url1, url2, url3), 1);\n```\n\nTake a picture:\n```java\n    CaptureActivity.openActivityForResult(this, REQUEST_CODE_CAPTURE);\n```\n\nSelect images:\n```java\n    Album.with(this)\n            .capture(false)\n            .spanCount(4)\n            .originEnable(true)\n            .maxSelectable(9)\n            .startActivityForResult(REQUEST_CODE_ALBUM);\n```\n\n## Thanks\n- [PhotoView](https://github.com/chrisbanes/PhotoView)\n- [Matisse](https://github.com/zhihu/Matisse)\n\n## Licence\n\n```txt\nCopyright 2017 D\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdsiner%2Falbum","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdsiner%2Falbum","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdsiner%2Falbum/lists"}