Find Jobs
Hire Freelancers

Fix project Android Kotlin - take photo - error - URI NULL

€8-30 EUR

Completed
Posted 7 months ago

€8-30 EUR

Paid on delivery
I have an android project that imports a web page into a webview. this web page contains a form with a file type input. By clicking this input I can start the camera of my Android device to capture the photograph, but when I click onActivityResult and therefore when I retrieve the image I receive a NULL URI. and so I can't send the photo with JS to the web page. So I need help fixing this problem. In maximum 1 day! //OPEN CAMERA // WebViewChromeClient personalizzato val captureIntent = Intent(MediaStore.ACTION_IMAGE_CAPTURE) private inner class MyWebChromeClient : WebChromeClient() { override fun onShowFileChooser( webView: WebView?, filePathCallback: ValueCallback<Array<Uri>>?, fileChooserParams: [login to view URL] ): Boolean { mFilePathCallback = filePathCallback if ([login to view URL](packageManager) != null) { [login to view URL](captureIntent) } else { // Gestione se la fotocamera non è disponibile } return true } } //OUTPUT CAMERA // Gestisci il risultato dell'attività di scelta del file override fun onActivityResult(requestCode: Int, resultCode: Int, data: Intent?) { [login to view URL](requestCode, resultCode, data) if (requestCode > 1) { if (resultCode == Activity.RESULT_OK) { // L'immagine è stata catturata con successo Log.d("Acquisizione Immagine", "Immagine catturata con successo") if (data != null && [login to view URL] != null) { val imageUri = [login to view URL] <-------------------------------------------- URI NULL Log.d("URI dell'immagine", [login to view URL]()) // Ora puoi procedere con l'invio dell'immagine al server if (imageUri != null) { sendImageToService(imageUri) } } else { Log.e("Acquisizione Immagine", "URI dell'immagine nullo") } } else if (resultCode == Activity.RESULT_CANCELED) { // L'utente ha annullato l'acquisizione dell'immagine Log.d("Acquisizione Immagine", "Acquisizione annullata") } else { // Si è verificato un errore durante l'acquisizione dell'immagine Log.e("Acquisizione Immagine", "Errore durante l'acquisizione") } } }
Project ID: 37333645

About the project

13 proposals
Remote project
Active 7 mos ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
I have extensive experience in resolving Android WebView issues, and I understand the challenge you're facing with NULL URIs when capturing images. I'm confident that I can quickly identify and fix the problem, ensuring that image capture functions seamlessly. I'll also ensure that the JS communication with the web page is properly established. You can count on a solution within a day, so your project progresses smoothly.
€40 EUR in 1 day
5.0 (16 reviews)
4.1
4.1
13 freelancers are bidding on average €32 EUR for this job
User Avatar
Hi,Hope you're doing blissful! I've Gone through with the requirements you've shared for your project. And I'm sure I can provide you best on this with my skills and experience. Lets have chat on this.
€30 EUR in 1 day
4.9 (41 reviews)
5.5
5.5
User Avatar
Hi there! My name is Pradeep and I'm the CEO of Aahan Technologies, an international software design and development company that builds comprehensive, custom solutions for enterprise mobile and web. I'm excited to hear about your project and help you solve your problem with Android Kotlin - take photo - error - URI NULL. We have a team of highly skilled developers who have extensive experience in Android development and other relevant fields such as HTML5, JavaScript, PHP. Our team is well versed in various continuous integration tools such as Travis CI, Jenkins and Strider which allows us to quickly deploy our projects across various environments such as local machine, cloud or both. In addition to this, we also offer payment gateway API integration services through GoEmerchant and Braintree which allow us to accept payments from client's end without any issues. Furthermore we also offer continuous integration services through Travis CI and Jenkins which ensures project quality at all times while reducing development time significantly.
€19 EUR in 1 day
5.0 (25 reviews)
5.1
5.1
User Avatar
Hello! My name is Narendra and I am a professional freelancer dedicated to providing top-tier services at competitive rates. With extensive experience in developing web applications and mobile applications, I have worked on a variety of projects.
€19 EUR in 7 days
4.9 (10 reviews)
4.3
4.3
User Avatar
Hey man It seems like you're trying to capture an image using the Android camera in Kotlin and encountering an issue with a null URI when attempting to access the captured image. To resolve this issue, we need to ensure that the camera app returns the captured image's URI correctly. wecan make use of the onActivityResult method to handle the image capture result. Ping me Thanks
€49 EUR in 1 day
3.1 (4 reviews)
3.8
3.8
User Avatar
I understand that you're looking for someone to help fix your Android Kotlin project - take photo - error - URI NULL in maximum 1 day. With my extensive experience in web development, I'm confident that I can provide the necessary expertise to deliver a successful outcome. I have extensive experience in version control systems like Github and Gitlab as well as containerization with Docker. Additionally, I'm familiar with external APIs such as Google Maps, Captcha, Firebase and Facebook which can be used to integrate into your project. Additionally I have experience with payment methods such as PayPal and Stripe which can be used to facilitate transactions within your app endpoints. Finally, I have worked on projects that have required integration of external APIs such as Google Maps, Captcha, Firebase and Facebook which can be used to facilitate transactions within your app endpoints.
€19 EUR in 2 days
4.1 (3 reviews)
1.6
1.6
User Avatar
Hello, I can provide you with an updated code for testing to verify whether it works or not. If you need help with your project within 1 day then please don't hesitate to contact me. Thank you, Radhika
€19 EUR in 7 days
5.0 (1 review)
0.9
0.9
User Avatar
Hi, I go your requirements, I can help to solve out this issue. Let's connect over the chat for resolve this issue today only.
€20 EUR in 1 day
0.0 (0 reviews)
0.0
0.0

About the client

Flag of ITALY
Torino, Italy
5.0
16
Payment method verified
Member since Feb 3, 2015

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.