MCPcopy Index your code
hub / github.com/coomar2841/image-chooser-library

github.com/coomar2841/image-chooser-library @v1.5.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release v1.5.0 ↗ · + Follow
290 symbols 770 edges 40 files 32 documented · 11%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Makes it easy and simple to integrate "Attach that photo/video" feature into your android apps.

Don't worry about various devices/OS variations.

Don't worry about out-of-memory errors.

Don't worry about creating thumbnails to show a preview.

Picking up any file for your app, and it's details.

Get it on Google Play

Code less for capturing images/videos
  • Supports picking up images/videos from phone gallery.
  • Supports capturing images/videos using the phone camera.
  • Generates thumb-nails for the any chosen media.
  • Works on most(99%) of the phones/os versions.
  • (New) Supports picking up files in general.
  • Similar code base to implement irrespective of Android version of device.
Maven

<dependency>
    <groupId>com.kbeanie</groupId>
    <artifactId>image-chooser-library</artifactId>
    <version>1.5.0</version>
</dependency>

Configuring on Android Studio

compile 'com.kbeanie:image-chooser-library:1.5.0@aar'

Apps using Image Chooser Library
App Name Link to Play Store
Image Chooser App
Blogaway

If you would like to add your app to this list, drop me an email.

To build the project:

./gradlew assembleDebug ./gradlew assembleRelease

  • If you wanna publish to your own repo, lets say if you made some custom changes, set up the following Gradle properties in gradle.properties. It can be found in one of two places: 1) vi ~/.gradle/gradle.properties, or 2) /gradle.properties

  • sonatypeRepo (pointing to your Maven repo).

  • sonatypeUsername (username to that repo)
  • sonatypePassword (password to your repo)
  • scmUrl (URL pointing to your Maven server. Example: 'scm:git@github.com:coomar2841/image-chooser-library.git')

chooserReleaseKeyAlias (the absolute path to the key store you wanna sign with). Example: /Users/donald/keystores/mykeystore.keystore.jks chooserReleaseKeyPassword= chooserReleaseStoreFile= chooserReleaseStorePassword=

To build and upload to your repo: ./gradlew uploadArchives

Release Notes

Version "1.5.0"
  1. Removed launcher icon from the library source
  2. Bug Fixes
Version "1.4.4"
  1. Minor fix: Launcher Icon collision with default project icon
Version "1.4.3"
  1. Minor bug fixes.
License

Copyright 2013 Kumar Bibek

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.


Extension points exported contracts — how you extend this code

ImageChooserListener (Interface)
(no doc) [5 implementers]
image-chooser-library/src/main/java/com/kbeanie/imagechooser/api/ImageChooserListener.java
ImageProcessorListener (Interface)
(no doc) [4 implementers]
image-chooser-library/src/main/java/com/kbeanie/imagechooser/threads/ImageProcessorListener.java
VideoProcessorListener (Interface)
(no doc) [4 implementers]
image-chooser-library/src/main/java/com/kbeanie/imagechooser/threads/VideoProcessorListener.java
VideoChooserListener (Interface)
(no doc) [3 implementers]
image-chooser-library/src/main/java/com/kbeanie/imagechooser/api/VideoChooserListener.java
FileProcessorListener (Interface)
(no doc) [2 implementers]
image-chooser-library/src/main/java/com/kbeanie/imagechooser/threads/FileProcessorListener.java

Core symbols most depended-on inside this repo

close
called by 19
image-chooser-library/src/main/java/com/kbeanie/imagechooser/helpers/StreamHelper.java
startActivity
called by 12
image-chooser-library/src/main/java/com/kbeanie/imagechooser/api/BChooser.java
getDirectory
called by 11
image-chooser-library/src/main/java/com/kbeanie/imagechooser/api/FileUtils.java
getInstance
called by 10
image-chooser-library/src/main/java/com/kbeanie/imagechooser/factory/UriFactory.java
getTimeInMillis
called by 9
image-chooser-library/src/main/java/com/kbeanie/imagechooser/factory/DateFactory.java
choose
called by 8
image-chooser-library/src/main/java/com/kbeanie/imagechooser/api/BChooser.java
setMediaExtension
called by 7
image-chooser-library/src/main/java/com/kbeanie/imagechooser/threads/MediaProcessorThread.java
setupAds
called by 6
app/src/main/java/com/beanie/imagechooserapp/BasicActivity.java

Shape

Method 250
Class 32
Interface 8

Languages

Java100%

Modules by API surface

image-chooser-library/src/main/java/com/kbeanie/imagechooser/threads/MediaProcessorThread.java26 symbols
image-chooser-library/src/main/java/com/kbeanie/imagechooser/api/BChooser.java16 symbols
app/src/main/java/com/beanie/imagechooserapp/ImageChooserActivity.java16 symbols
image-chooser-library/src/main/java/com/kbeanie/imagechooser/api/VideoChooserManager.java13 symbols
image-chooser-library/src/main/java/com/kbeanie/imagechooser/api/ChosenVideo.java12 symbols
image-chooser-library/src/main/java/com/kbeanie/imagechooser/api/ImageChooserManager.java11 symbols
image-chooser-library/src/main/java/com/kbeanie/imagechooser/api/ChosenFile.java11 symbols
app/src/main/java/com/beanie/imagechooserapp/fragments/ImageChooserFragment.java11 symbols
app/src/main/java/com/beanie/imagechooserapp/VideoChooserActivity.java11 symbols
image-chooser-library/src/main/java/com/kbeanie/imagechooser/threads/VideoProcessorThread.java10 symbols
image-chooser-library/src/main/java/com/kbeanie/imagechooser/api/MediaChooserManager.java10 symbols
image-chooser-library/src/main/java/com/kbeanie/imagechooser/api/ChosenImage.java10 symbols

For agents

$ claude mcp add image-chooser-library \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page