I am very beginner in this developing android application. I developed one application already which captures image and detect face from it than save it in gallery of my mobile. Now i want to store this captured image in my own created database. So please guide me .
1) how to create my own database.
2) how to save captured image into this database.
3) Please let me know the procedure step by step.
The code that detect the face and all that stuff is here in this link.
http://www.edumobile.org/android/android-programming-tutorials/face-detection-example-tutorials-in-android/
Please guide me.
Check the below code
Android SQLite Database with Multiple Tables
and only save the image path to database
Create a table to save images.
For that there will be a auto increment column and another column
How To Save and Retrieve path image in SQLite android
Related
I have to create functionality for an application where I have to take pictures and save it to a SQLite database. I have implemented the camera for now using the camera intent in android, but the image gets saved to the gallery. I have read the Camer2 and CamerX API documentation and the image still gets saved to a device folder. Is there any way to avoid this?
You can checkout https://stackoverflow.com/a/64651558/277368 on how to get in-memory image with CameraX. Then you need to serialize the image and save it to SQLite on your own.
I'm trying to develop a hybrid app with Intel xdk and cordova.
How would it be possible to take several pictures, store the path to them in a form, and then when "submit" button in the form is pressed, the pictures along with the other inserted information is sent to a database?
I don't want the user to be able to access the path or pictures.
Thanks in advance
I'm new in Android development want to save camera pic in oracle database using dot.net web services.
Please share your some knowledge to help me to implement this project.
Thank you so much
Try this for capture photo and save it to server
You can also use this for already captured Images
In You case First Create a web server for to Save Image to oracel db set path of that
check this answer for that
I am working on an Android app where I have customized the camera. Now I want to delete all the images from the gallery that have been clicked once they have been uploaded in the server. This has been done successfully. However I am not sure whether they are retained in Android's own database. Can anyone please tell me how to see if the image data are saved anywhere in Android's own database once they have been deleted from the picture gallery as I need to take care of this as well.
for my android application,I need to take a photo with the built-in camera and save it to a database in a blob field.
I can take a photo and save it to a blob field, but the device also saves the photo local. To avoid the device filling with photos, I don't want to save the photo local on the device, only in the db.
I'm using Android 2.3.3, my test device is a Samsung Galaxy S II with default photo-application.
How can I do this?
Thanx,
Robby
You could write an own Activity to take the pictures.
http://developer.android.com/reference/android/hardware/Camera.html
As I read you don't have to save your pictures there.
After capturing photo using camera you can store the image in database using blob file. After storing in database is done you can delete the photo from that path.
Thanks
Deepak