Android-Ultra-Photo-Selector


Source link: https://github.com/AizazAZ/Android-Ultra-Photo-Selector

Android Ultra Photo Selector

Select images from Android devices made easy :-) In preview you can also Zoom images. You can select images from different albums. I am using UIL, so you can configure image caching your own way, if you want to change. on your mobil phone. Selection image result is also preserved. See AndroidManifest.xml for more details.

 Intent intent = new Intent(context, activity);
  intent.putExtra(PhotoSelectorActivity.KEY_MAX, maxImage);
  intent.addFlags(Intent.FLAG_ACTIVITY_NO_ANIMATION);
  context.startActivityForResult(intent, requestCode);

 @Override protected void onActivityResult(int requestCode, int resultCode, Intent data) {
  if (resultCode != RESULT_OK)
return;  if (requestCode == SELECT_IMAGE_CODE) {
// selected image
if (data != null && data.getExtras() != null) {

 @SuppressWarnings("unchecked")
 List<PhotoModel> photos = (List<PhotoModel>) data.getExtras().getSerializable("photos");

 if (photos == null || photos.isEmpty()) {

  UIHelper.ToastMessage(this, R.string.no_photo_selected);

 
}
 else {

  Intent intent = new Intent(this, YourOwnLogic.class);

  Bundle b = new Bundle();

  b.putSerializable("album_pojo", albumPojo);

  b.putSerializable("photos", (Serializable) photos);

  intent.putExtras(b);

  startActivity(intent);

  finish();

 
}

}
  
}
 
  • Select Images from Album

  • Browsing all device folders that have images

  • Preview & zoom selected images

Resources

EtsyBlur is an Android library that allows developers to easily add a glass-like effect.

ExpandableTextView is an Android library that allows developers to easily create an TextView which can expand/collapse just like the Google Play's app description.

IntelliJ / Android Studio plugin for Android Holo Colors.

Android Library for easy GCM integration. Including push notifications sender task for Gradle.

Helper to upload Gradle Android Artifacts to Maven repositories.

PhotographicPrintAnimator realize a beautiful photographic print animation as described in the Material design spec

Topics


2D Engines   3D Engines   9-Patch   Action Bars   Activities   ADB   Advertisements   Analytics   Animations   ANR   AOP   API   APK   APT   Architecture   Audio   Autocomplete   Background Processing   Backward Compatibility   Badges   Bar Codes   Benchmarking   Bitmaps   Bluetooth   Blur Effects   Bread Crumbs   BRMS   Browser Extensions   Build Systems   Bundles   Buttons   Caching   Camera   Canvas   Cards   Carousels   Changelog   Checkboxes   Cloud Storages   Color Analysis   Color Pickers   Colors   Comet/Push   Compass Sensors   Conferences   Content Providers   Continuous Integration   Crash Reports   Credit Cards   Credits   CSV   Curl/Flip   Data Binding   Data Generators   Data Structures   Database   Database Browsers   Date &   Debugging   Decompilers   Deep Links   Dependency Injections   Design   Design Patterns   Dex   Dialogs   Distributed Computing   Distribution Platforms   Download Managers   Drawables   Emoji   Emulators   EPUB   Equalizers &   Event Buses   Exception Handling   Face Recognition   Feedback &   File System   File/Directory   Fingerprint   Floating Action   Fonts   Forms   Fragments   FRP   FSM   Functional Programming   Gamepads   Games   Geocaching   Gestures   GIF   Glow Pad   Gradle Plugins   Graphics   Grid Views   Highlighting   HTML   HTTP Mocking   Icons   IDE   IDE Plugins   Image Croppers   Image Loaders   Image Pickers   Image Processing   Image Views   Instrumentation   Intents   Job Schedulers   JSON   Keyboard   Kotlin   Layouts   Library Demos   List View   List Views   Localization   Location   Lock Patterns   Logcat   Logging   Mails   Maps   Markdown   Mathematics   Maven Plugins   MBaaS   Media   Menus   Messaging   MIME   Mobile Web   Native Image   Navigation   NDK   Networking   NFC   NoSQL   Number Pickers   OAuth   Object Mocking   OCR Engines   OpenGL   ORM   Other Pickers   Parallax List   Parcelables   Particle Systems   Password Inputs   PDF   Permissions   Physics Engines   Platforms   Plugin Frameworks   Preferences   Progress Indicators   ProGuard   Properties   Protocol Buffer   Pull To   Purchases   Push/Pull   QR Codes   Quick Return   Radio Buttons   Range Bars   Ratings   Recycler Views   Resources   REST   Ripple Effects   RSS   Screenshots   Scripting   Scroll Views   SDK   Search Inputs   Security   Sensors   Services   Showcase Views   Signatures   Sliding Panels   Snackbars   SOAP   Social Networks   Spannable   Spinners   Splash Screens   SSH   Static Analysis   Status Bars   Styling   SVG   System   Tags   Task Managers   TDD &   Template Engines   Testing   Testing Tools   Text Formatting   Text Views   Text Watchers   Text-to   Toasts   Toolkits For   Tools   Tooltips   Trainings   TV   Twitter   Updaters   USB   User Stories   Utils   Validation   Video   View Adapters   View Pagers   Views   Watch Face   Wearable Data   Wearables   Weather   Web Tools   Web Views   WebRTC   WebSockets   Wheel Widgets   Wi-Fi   Widgets   Windows   Wizards   XML   XMPP   YAML   ZIP Codes