I just developing a communication application like Whatsapp and I just want to know can i compress and decode an image for thumbnail with BASE64 with size of 4Kb to send it via FCM to target phone ?
As far as I know , you need to upload that first and then you can send that link using FCM and on the another side you need to fetch that image.
Related
I'm trying to implement an Android app that uploads an image taken by the user to an API which removes the image's background, and sends it back to the Users device.
Here is the API for more info. I'm trying to send a jpeg image and receive the image as a jpeg aswell.
The API docs state that the POST request has to be multipart/form. I don't have any experience on making API calls using Volley and was wondering if any one could help me figure out how to do it. Thanks in advance.
I want to take an image from raspberry and recive it on and Android App (this is the problem). I already have a Java project that create an image and store it in a predefined location. I don't know how to create a server on Android app, and how to upload my image on the server. I think i will create a post webservice on raspberry to upload the image on my phone app.The image from rpi must be displayed on the phone (like notification or something). I need help on Android app, I don't know how to recive the image on the phone/how to send it from rpi location/how to show the notification when the image was send it/ how to show the image on the phone.
I want to send image from android through Web API to windows server file system. There would be bulk use of this API or process for uploading images. So, Please help me out what should be the best approach for this ?
I tried converting image to base64 in android and then sending it to API but i was not getting proper base 64 and i found this a dicey approach.
This is the solution for my problem.
Am new to Java, I have taken a screenshot of file using html2canvas, Now I need to send mail by attaching that screenshot using Ajax with Java. am able to send mail without screenshot but I need to send with screenshot and am not getting where the screenshot file is storing.
Once I get the screenshot by using html2canvas so am not able to do this is it possible to send screenshot without using PHP?
html2canvas doesn't save your image but its base 64 decoded stream. You can generate a base64DecoderStream and then send an email using the Java mail API. Hope this helps.
Thanks.
I am trying to developer an Android application which allows to capture pictures with the camera, and send the pictures to a Java server.
I don't need the picture after, so I do not need to store it in the phone locally.
I was able to successfully to transfer simple text from client to server, but I'm having problems with images.
What do I need to do to be able to send images from the Android client, and should anything special be made in the server apart from what it is doing now?
Solution is to use http request with MultipartEntity.