Create new Android Module
Name the application
Name the main Activity class
Name the Module and its location
Choose API 17 or higher
- In Preferences, find Java Compiler
- Add your project (AndroidCamera)
Set Java Compiler to Java 1.6
Set Module Language Level also to Java 6
Run the MainActivity class
Select emulator
follow the code tutorial :
http://tech.ukidlucas.net/2014/11/android-camera.html