android-intents


Source link: https://github.com/d-tarasov/android-intents

#android-intents

A collection of well-known Android intents for most common actions. Helps you call thirdparty apps to do generic work instead of you. You can call camera app for taking photos, share text, make calls, send SMS messages, scan barcodes and QR-codes and more. See methods and javadocs of IntentUtils class inside of library.

Also demo app available at Google Play

Intents Collection

At this moment collection includes this intents

  • Share Text - share text via thirdparty app like twitter, facebook, email, sms etc.
  • Send SMS - send SMS message using built-in app
  • Send Email - send email using appropriate app
  • Show Location - opens the Maps application to the given coordinates
  • Open Play Store - opens app page at Google Play store
  • Find Location - opens the Maps application to the given query
  • Show Street View - opens Street View app
  • Show Location Settings - opens system settings location services screen
  • Call Phone - call to phone using standard dialer
  • Dial Phone - opens standard dialer without starting a call
  • Open Link - opens a web page in standard browser
  • Open Audio - opens an audio file in appropriate app
  • Open Video - opens a video file in appropriate app
  • Open Image - opens an image file in appropriate app
  • Open Text - opens a text file in appropriate app
  • Pick File - opens file manager to choose a file
  • Pick Contact - pick a contact from phone book
  • Pick Contact With Phone - pick a contact only from contacts with phone number
  • Pick Image - pick image from gallery
  • Capture Photo - call standard camera app for taking a shot
  • Crop Image - call gallery app to crop your image

Installation

The library is available on maven central repository, just download jar and add it to your project classpath or add the following dependency

Maven

<dependency>
  <groupId>com.dmitriy-tarasov</groupId>
  <artifactId>android-intents</artifactId>
  <version>%latest_version%</version> </dependency>

Gradle

compile 'com.dmitriy-tarasov:android-intents:%latest_version%'

Release History

v1.2.0 (?/?/2013): New features

  • Pick image from gallery
  • Pick contact with phone

v1.1.0 (20/08/2013): New features

  • Open audio intent
  • Open video intent
  • Open image intent
  • Open text intent
  • Pick file intent
  • Pick contact intent
  • Show location settings intent
  • Demo app improvements

v1.0.1 (11/08/2013): Bugfixes

  • Fixed issue #1: attach sources and javadocs to release builds
  • Fixed issue #2: problem in IntentUtils#openLink with urls without protocol

v1.0.0 (28/02/2013): First release

  • Share text intent
  • Send SMS intent
  • Send email intent
  • Play Store intent
  • Capture photo intent
  • Crop image intents
  • Dialer intents
  • Browser intents
  • Map intents
  • Street View intent
  • isIntentAvailable method for checking thirdparty apps availability
  • Demo application

Future releases

  • integration with zxing intent integrator
  • add icons to list items
  • demo app UI on old androids

License

Apache Version 2.0

Resources

This is a Java API which wraps the REST-based Flickr API.

Android Fab Button with Gooey effect.

A colorful SeekBar for picking color.

A lightweight FrameLayout which can have a maximum / minimum width and height, simple as that.

Performance metrics library for Android development (including dagger2metrics).

A simple Android color picker library.

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