java - how to capture image from Camera in Android? -
i have made application capture photos camera.
i have created 2 activities: in activity1 there 1 button starts camera wehen clicked. when image captured, passed activity2.
however, when run application , start activity1 (with 1 button) , click on button start camera displays pop window showing message "unfortunately, camera has stopped". there no errors in log-cat or on console.
can me. please. lot.
make sure add permissions
<uses-permission android:name="android.permission.camera" /> <uses-permission android:name="android.permission.write_external_storage" />
if doesn't fix youre problem u should show youre code
Comments
Post a Comment