Please help me how to take a picture from a custom camera and display it on another activity, please give me more detailed answer, what code should i put, and where, please tell me if what kind of variables, int, strings, booleans should i create,
here is my code :
Main Activity :
You can use interface to pass YOUR_FILE_PATH from CameraPreview class to MainActivity class. then in MainActivity.java
in EditPicture activity
Finally, add
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
to your AndroidManifest.xml in order to allow your app writing to external storage.This is the example of how to write bitmap to external storage. If you want to store to internal storage such as cache or other options, please refer to http://developer.android.com/guide/topics/data/data-storage.html#filesInternal
Let me know if you need me to elaborate more.