Find Jobs
Hire Freelancers

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

€8-30 EUR

Abgeschlossen
Veröffentlicht vor 7 Monaten

€8-30 EUR

Bezahlt bei Lieferung
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") } } }
Projekt-ID: 37333645

Über das Projekt

13 Vorschläge
Remote Projekt
Aktiv vor 7 Monaten

Möchten Sie etwas Geld verdienen?

Vorteile einer Ausschreibung auf Freelancer

Legen Sie Ihr Budget und Ihren Zeitrahmen fest
Für Ihre Arbeit bezahlt werden
Skizzieren Sie Ihren Vorschlag
Sie können sich kostenlos anmelden und auf Aufträge bieten
Vergeben an:
Avatar des Nutzers
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 Tag
5,0 (16 Bewertungen)
4,1
4,1
13 Freelancer bieten im Durchschnitt €32 EUR für diesen Auftrag
Avatar des Nutzers
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 Tag
4,9 (41 Bewertungen)
5,5
5,5
Avatar des Nutzers
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 Tag
5,0 (25 Bewertungen)
5,1
5,1
Avatar des Nutzers
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 Tagen
4,9 (10 Bewertungen)
4,3
4,3
Avatar des Nutzers
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 Tag
3,1 (4 Bewertungen)
3,8
3,8
Avatar des Nutzers
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 Tagen
4,1 (3 Bewertungen)
1,6
1,6
Avatar des Nutzers
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 Tagen
5,0 (1 Bewertung)
0,9
0,9
Avatar des Nutzers
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 Tag
0,0 (0 Bewertungen)
0,0
0,0

Über den Kunden

Flagge von ITALY
Torino, Italy
5,0
16
Zahlungsmethode verifiziert
Mitglied seit Feb. 3, 2015

Kundenüberprüfung

Danke! Wir haben Ihnen per E-Mail einen Link geschickt, über den Sie Ihr kostenloses Guthaben anfordern können.
Beim Senden Ihrer E-Mail ist ein Fehler aufgetreten. Bitte versuchen Sie es erneut.
Registrierte Benutzer Veröffentlichte Jobs
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Vorschau wird geladen
Erlaubnis zur Geolokalisierung erteilt.
Ihre Anmeldesitzung ist abgelaufen und Sie wurden abgemeldet. Bitte melden Sie sich erneut an.