CWAC-Cam2 – is an effort to create an in-app ACTION_IMAGE_CAPTURE/ACTION_VIDEO_CAPTURE workalike, with a bit more configurability.
You still integrate by opening up a separate activity, but it is all within your own app, rather than relying upon device or user-specific third-party camera apps.
ProGuard rules for CWAC-Cam2
ProGuard obfuscates classes, fields, and methods with short names. Unused classes, attributes, methods and fields will be removed by ProGuard's optimization step. Use the next rules in proguard-rules.pro file to fix errors.
# CWAC-Cam2 -keep class com.commonsware.cwac.** { *; }
For more information about CWAC-Cam2 please see the website.