Take a picture
android.media.action.IMAGE_CAPTURE
An application implementing this intent protocol allows the user to capture an image.
Read also the Android documentationUse
public void startTakeAPicture() { Intent intent = new Intent("android.media.action.IMAGE_CAPTURE"); if (intent.resolveActivity(getPackageManager()) != null) { startActivity(intent); } }
Example intent filter
<activity ...> <intent-filter> <action android:name="android.media.action.IMAGE_CAPTURE" /> <category android:name="android.intent.category.DEFAULT" /> </intent-filter> </activity>
Apps Providing an Implementation
Search on Google Play, AppBrain, Amazon App store or similar (not yet available - please make this happen!)