Post has attachment
Application Image View

video:
https://drive.google.com/open?id=0B3lgP35ATRuNT1RXUkphMVZudWc
apk:
https://drive.google.com/open?id=0B3lgP35ATRuNT3dIVlNYUUlXc2c
zip::
https://drive.google.com/open?id=0B3lgP35ATRuNLUNnRl9GclRxS0E

This example shows how to use imageView to show images from the phone pictures (MediaStore),
from a web site or when taking a picture.
It also shows how to add text to an image (see activity_main.xml)
Just click on the image to see what happens

it requires to use URL: you need android.permission.INTERNET:
AndroidManifest:

<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />

to use the camera you also need:
AndroidManifest:

<uses-feature android:name="android.hardware.camera"
android:required="true" />

it also uses AsyncTask, doInBackground and onPostExecute to get the image from a web site
before showing it on the imageView.
the AsyncTask is a task that will be executed in parallel, and onPostExecute is the task executed
when the AsyncTask finish its execution.

it also requires intent filters to capture an image (take a picture)
AndroidManifest:

<intent-filter>
<action android:name="android.intent.action.VIEW" />
<action android:name="android.media.action.IMAGE_CAPTURE" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>

Post has attachment

Post has attachment

Post has attachment

Post has attachment

Post has attachment

Post has attachment

Post has attachment

Post has attachment
Application Calculator version 2 video

Post has attachment
Wait while more posts are being loaded