how to store photo in android through dotnet webservices - android

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

Related

How do I avoid saving captured image in my device?

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.

Uploading image to a database

I'm trying to develop an android app which displays the images stored in a database hosted on a server . As of now , i'm using Firebase , which supports only text and i'm storing the url of the image to be displayed in my app .
Are there any other options for me to store images on the internet and retrieve them in my App ?
You can encode the images themselves using Base64 and storing them directly. But what you are doing is usually the best option.
To learn how to encode images to Base64, see here:
https://stackoverflow.com/a/9224180/5935255

Google+ share image using URL like Facebook

I'm currently looking for a way to share in Google+ using URL from web and not from local storage. Problem is that I've used UniversalImageLoader to cache my image and I don't have the image file of the images I wanted to post on my share. I wanted it to be as simple the way facebook done their sharing but using the setContentUrl(Uri.parse(IMG_URL)) will give me the way I wanted it minus the image URL below the post.
Other workarounds I'm thinking is to download the image using the URL, store it somewhere on the device then share it using the setStream(Uri.parse(IMG_URI)) but only problem is that I will need to wait more compared to sharing using URL.
Now is there's any way I can achieve a faster image sharing on Google+? Or if ever is there's a way I can convert the cached file back into image so that I can share it using Stream?

Android Application Database to Save Images

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

how to view all images in android's built- in gallery from a php page

I am developing an application to display all the images in android's built-in gallery in to a php page. I posted the uri (content://media/extrenal/images/media) of the gallery images to the php page. I was not able to recreate images by using webView's function loadUrl().
Should I need to upload the whole gallery to another directory and display the images?
Or passing the bitmap itself will do?
Please suggest me an idea to solve the problem.
I think you should make an ashynchronous connection of your application with an php application on the server, which will tell the android app to upload the requested image, and when the java app receives the upload command, make the app upload the picture to the server, and make the server php app display the image uploaded. I know this is a bit complicated, but this is the only thing that is comparatively easier than doing socket transports and other things. Good luck :)

Categories

Resources