Find Jobs
Hire Freelancers

Android Java HTTP Post .bin file

min £36 GBP / hour

Complété
Publié il y a plus de 2 ans

min £36 GBP / hour

I am trying to upload a .bin file from an Android Java mobile app to an ESP32 web server. I know the upload is working as I can test it on a web browser, but I have tried different solutions from StackOverflow such Volley, httpClient etc but it crashes on the transfer. Any help how to complete the file upload, looks quite simple as it's just an HTTP post file transfer, I need working code. I do not need any app developing, just some working java code. http code [login to view URL]("POST", upload_path, true); [login to view URL](file); Android java code public void uploadfile() throws Exception { try { File file = new File("/storage/emulated/0/Download/[login to view URL]"); if ([login to view URL]()) { CloseableHttpClient httpClient = [login to view URL](); HttpPost uploadFile = new HttpPost("[login to view URL]"); MultipartEntityBuilder builder = [login to view URL](); // [login to view URL]("field1", "yes", ContentType.DEFAULT_BINARY); // This attaches the file to the POST: File f = new File("/storage/emulated/0/Download/[login to view URL]"); [login to view URL]( "file", new FileInputStream(f), ContentType.DEFAULT_BINARY, [login to view URL]() ); HttpEntity multipart = [login to view URL](); [login to view URL](multipart); // Code is crashing here CloseableHttpResponse response = [login to view URL](uploadFile); HttpEntity responseEntity = [login to view URL](); } } catch (Exception e) { Log.d("Debug", "Catch - software activity 1050"); } }
N° de projet : 32051463

Concernant le projet

14 propositions
Projet à distance
Actif à il y a 3 ans

Cherchez-vous à gagner de l'argent ?

Avantages de faire une offre sur Freelancer

Fixez votre budget et vos délais
Soyez payé pour votre travail
Surlignez votre proposition
Il est gratuit de s'inscrire et de faire des offres sur des travaux
Décerné à :
Avatar de l'utilisateur
Hi, would you be okay sharing you android codes? And the bin file, so that I can ensure working code for you, before sending back. Thanks, Cheers Kind Regards
£36 GBP en 5 jours
4,7 (12 commentaires)
3,9
3,9
14 freelances proposent en moyenne £36 GBP/heure pour ce travail
Avatar de l'utilisateur
Hello Brendon S.,   We have 20 years of strong experience in Java, JavaScript, Mobile App Development, Android, HTTP, as a result, we can successfully complete this project.   Please, review our profile here: https://www.freelancer.com/u/tangramua Here detailed information about our company, our portfolio, and the client's recent reviews.   Also, we wanted to personally discuss questions about your project, which helps us to give you the right estimation.   Best regards, Tangram Canada Inc.   P.S. As you see from details of your profile, you located in UK (Great Britain). Be informed that our technical offices located in Ukraine i.e. you will be able work with our developers almost in same time zone.
£40 GBP en 5 jours
5,0 (42 commentaires)
6,9
6,9
Avatar de l'utilisateur
* * * * * * * * * * * * * * * * * * * * * * * * Hello Brendon, I have read your job post very carefully. I do have 5 years of experience in mentioned technology. I can start work once you hire me and I will definitely provide you with a project covering all your requirements. I will provide 100% quality of work. I would like to discuss further scope of project via chatbox. Let's jump on a chat box. Awaiting your ping!!! Thanks & Regards, Virang Patel
£36 GBP en 40 jours
4,9 (27 commentaires)
6,1
6,1
Avatar de l'utilisateur
Hello, hope you're doing well. I have reviewed your project description and can help to upload .bin file from android Java mobile app to ESP32 web server without crashing on transfer as per your requirements. "Let's have a QUICK CHAT to discuss further" I have extensive experience in designing and development of Websites, Mobile Applications, Management Systems and E-commerce or Online Stores Solutions. Kindly have a look at my Portfolio and Client's reviews via this link, https://www.freelancer.com/u/junkyfunky Thanks, Faizan A.
£36 GBP en 40 jours
4,5 (55 commentaires)
6,6
6,6
Avatar de l'utilisateur
Hi There, i m Expert for JavaScript, Mobile App Development, Java, HTTP and Android. I am ready to work over your project. i have checked your Project Title is Android Java HTTP Post .bin file . its according my skills. Please visit my portfolio: https://www.freelancer.com/u/heenafullstacken Before accepting this offer please message me in my inbox to have a discussion about this Project. Regards Heena Full Stack Engineer
£36 GBP en 41 jours
4,8 (3 commentaires)
2,1
2,1
Avatar de l'utilisateur
Hello, Mr. Brendon, I hope you are well I am Hamza, a developer of Native Android applications in the Java language, I have many years of experience in this field, and I worked on many applications associated with web servers that use APIs, and programs associated with files and also worked on fixing many errors in many famous and well-known applications, and I hope that I can help you with your problem, and I expect to do it in very little time, But I have a question for you, Mr. Brendon, what kind of API do you use in your application? I hope you will contact me to discuss more details of the work.
£36 GBP en 40 jours
5,0 (1 commentaire)
0,3
0,3
Avatar de l'utilisateur
Hi, Greetings!!! It seems that you looking for an Android development expertise to develop your app with alluring UI/UX designs and reliable strong code development. Credibility, We have +12 years experience team in Android mobility design and development who are key expertise in PHP, Java, Javascript, Android SDK, working with APIs, Bug tracker, XML and JSON, Version controls, & UI/UX designs. We can provide you with the previous work samples which will give you a clear idea about our working style. Demonstrate Reliability, To move forward I would like to discuss regarding on app design themes and development framework which will give me the clear idea about your project concept. While timeline schedule and cost estimation we will discuss on chat. Please let me know if you are looking forward to working with us. Regards, Gauri Shukla
£36 GBP en 40 jours
0,0 (0 commentaires)
0,0
0,0

À propos du client

Drapeau de UNITED KINGDOM
Harwich, United Kingdom
5,0
16
Méthode de paiement vérifiée
Membre depuis oct. 4, 2014

Vérification du client

Merci ! Nous vous avons envoyé un lien par e-mail afin de réclamer votre crédit gratuit.
Une erreur a eu lieu lors de l'envoi de votre e-mail. Veuillez réessayer.
Utilisateurs enregistrés Total des travaux publiés
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Chargement de l'aperçu
Permission donnée pour la géolocalisation.
Votre session de connexion a expiré et vous avez été déconnecté. Veuillez vous connecter à nouveau.