Find Jobs
Hire Freelancers

Android Java HTTP Post .bin file

min £36 GBP / hour

Selesai
Disiarkan lebih dari 2 tahun yang lalu

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"); } }
ID Projek: 32051463

Tentang projek

14 cadangan
Projek jarak jauh
Aktif 3 tahun yang lalu

Ingin menjana wang?

Faedah membida di Freelancer

Tetapkan bajet dan garis masa anda
Dapatkan bayaran untuk kerja anda
Tuliskan cadangan anda
Ianya percuma untuk mendaftar dan membida pekerjaan
Dianugerahkan kepada:
Avatar Pengguna
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 dalam 5 hari
4.7 (12 ulasan)
3.9
3.9
14 pekerja bebas membida secara purata £36 GBP/jam untuk pekerjaan ini
Avatar Pengguna
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 dalam 5 hari
5.0 (42 ulasan)
6.9
6.9
Avatar Pengguna
* * * * * * * * * * * * * * * * * * * * * * * * 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 dalam 40 hari
4.9 (27 ulasan)
6.1
6.1
Avatar Pengguna
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 dalam 40 hari
4.5 (55 ulasan)
6.6
6.6
Avatar Pengguna
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 dalam 41 hari
4.8 (3 ulasan)
2.1
2.1
Avatar Pengguna
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 dalam 40 hari
5.0 (1 ulasan)
0.3
0.3
Avatar Pengguna
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 dalam 40 hari
0.0 (0 ulasan)
0.0
0.0

Tentang klien

Bendera UNITED KINGDOM
Harwich, United Kingdom
5.0
16
Kaedah pembayaran disahkan
Ahli sejak Okt 4, 2014

Pengesahan Klien

Terima kasih! Kami telah menghantar pautan melalui e-mel kepada anda untuk menuntut kredit percuma anda.
Sesuatu telah berlaku semasa menghantar e-mel anda. Sila cuba lagi.
Pengguna Berdaftar Jumlah Pekerjaan Disiarkan
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Memuatkan pratonton
Kebenaran diberikan untuk Geolocation.
Sesi log masuk anda telah luput dan telah dilog keluar. Sila log masuk sekali lagi.