This is a simple project to get you started using the Clarifai API in Android apps. It uses the Clarifai Java Client to perform image recognition on photos stored on your device. Full Clarifai API documentation can be found at developer.clarifai.com.
This project can be built and run in Android Studio. No customization is required.
Alternately, you can build and install from the command-line with:
./gradlew installDebug
RecognitionActivity is a simple Activity that prompts the user to select a photo from their photo library and then sends it to the Clarifai API for tagging. This Activity demonstrates how to prepare the image for sending to Clarifai and how to handle the response.
Feel free to use this project as a base for building your app. You can also use the ClarifaiClient from other projects by adding the following dependency to your app/build.gradle file:
compile 'com.clarifai:clarifai-api-java:1.2.0'
More information on the client and usage examples can be found here.