Find Jobs
Hire Freelancers

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

€8-30 EUR

Concluído
Publicado há 4 meses

€8-30 EUR

Pago na entrega
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") } } }
ID do Projeto: 37333645

Sobre o projeto

13 propostas
Projeto remoto
Ativo há 4 meses

Quer ganhar algum dinheiro?

Benefícios de ofertar no Freelancer

Defina seu orçamento e seu prazo
Seja pago pelo seu trabalho
Descreva sua proposta
É grátis para se inscrever e fazer ofertas em trabalhos
Concedido a:
Avatar do Usuário
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 em 1 dia
5,0 (16 avaliações)
4,1
4,1
13 freelancers are bidding on average €32 EUR for this job
Avatar do Usuário
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 em 1 dia
4,9 (41 avaliações)
5,5
5,5
Avatar do Usuário
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 em 1 dia
5,0 (25 avaliações)
5,1
5,1
Avatar do Usuário
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 em 7 dias
4,9 (10 avaliações)
4,3
4,3
Avatar do Usuário
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 em 1 dia
3,1 (4 avaliações)
3,8
3,8
Avatar do Usuário
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 em 2 dias
4,1 (3 avaliações)
1,6
1,6
Avatar do Usuário
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 em 7 dias
5,0 (1 avaliação)
0,9
0,9
Avatar do Usuário
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 em 1 dia
0,0 (0 avaliações)
0,0
0,0

Sobre o cliente

Bandeira do(a) ITALY
Torino, Italy
5,0
16
Método de pagamento verificado
Membro desde fev. 3, 2015

Verificação do Cliente

Obrigado! Te enviamos um link por e-mail para que você possa reivindicar seu crédito gratuito.
Algo deu errado ao enviar seu e-mail. Por favor, tente novamente.
Usuários Registrados Total de Trabalhos Publicados
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Carregando pré-visualização
Permissão concedida para Geolocalização.
Sua sessão expirou e você foi desconectado. Por favor, faça login novamente.