Find Jobs
Hire Freelancers

Android Java HTTP Post .bin file

min £36 GBP / hour

完了済み
投稿日: 2年以上前

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: 32051463

プロジェクトについて

14個の提案
リモートプロジェクト
アクティブ 3年前

お金を稼ぎたいですか?

Freelancerで入札する利点

予算と期間を設定してください
仕事で報酬を得る
提案をご説明ください
登録して仕事に入札するのは無料です
アワード者:
ユーザーアバター
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 5日以内
4.7 (12 レビュー)
3.9
3.9
この仕事に14人のフリーランサーが、平均£36 GBP/時間で入札しています
ユーザーアバター
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 5日以内
5.0 (42 レビュー)
6.9
6.9
ユーザーアバター
* * * * * * * * * * * * * * * * * * * * * * * * 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 40日以内
4.9 (27 レビュー)
6.1
6.1
ユーザーアバター
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 40日以内
4.5 (55 レビュー)
6.6
6.6
ユーザーアバター
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 41日以内
4.8 (3 レビュー)
2.1
2.1
ユーザーアバター
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 40日以内
5.0 (1 レビュー)
0.3
0.3
ユーザーアバター
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 40日以内
0.0 (0 レビュー)
0.0
0.0

クライアントについて

UNITED KINGDOMのフラグ
Harwich, United Kingdom
5.0
16
お支払い方法確認済み
メンバー登録日:10月 4, 2014

クライアント確認

ありがとうございます!無料クレジットを受け取るリンクをメールしました。
メールを送信中に問題が発生しました。もう一度お試しください。
登録ユーザー 投稿された仕事の合計
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
プレビューを読み込み中
位置情報へのアクセスが許可されました。
あなたのログインセッションの有効期限がきれ、ログアウトされました。もう一度ログインしてください。