Find Jobs
Hire Freelancers

Add download function to webView - Android

$10-30 USD

Terminado
Publicado hace más de 8 años

$10-30 USD

Pagado a la entrega
I would like to add download functionality to my webview browser. if the url contains ".mp3", I want the file to be downloaded just the way any regular browser does it. I found this code on stackoverflow but I'm not sure how to apply it. It might help you. -------------------------------------------------------------------------------------- if([login to view URL]().contains(".mp3") { Request request = new Request( [login to view URL](url)); [login to view URL](); [login to view URL](DownloadManager.Request.VISIBILITY_VISIBLE_NOTIFY_COMPLETED); [login to view URL](Environment.DIRECTORY_DOWNLOADS, "download"); // You can change the name of the downloads, by changing "download" to everything you want, such as the mWebview title... DownloadManager dm = (DownloadManager) getSystemService(DOWNLOAD_SERVICE); [login to view URL](request); } -------------------------------------------------------------------------------------- Please help.
ID del proyecto: 7987314

Información sobre el proyecto

8 propuestas
Proyecto remoto
Activo hace 9 años

¿Buscas ganar dinero?

Beneficios de presentar ofertas en Freelancer

Fija tu plazo y presupuesto
Cobra por tu trabajo
Describe tu propuesta
Es gratis registrarse y presentar ofertas en los trabajos
Adjudicado a:
Avatar del usuario
Hi I can do work on your android app . You can check my existing apps at [login to view URL] [login to view URL] Please consider me for this work Thanks
$29 USD en 1 día
4,9 (7 comentarios)
3,5
3,5
8 freelancers están ofertando un promedio de $22 USD por este trabajo
Avatar del usuario
Hello sir, just send me the code in the inbox Iil get it done for you tonight for 25$ its an easy task . Regards, Pavle
$25 USD en 1 día
5,0 (10 comentarios)
4,3
4,3
Avatar del usuario
i already worked in webview and i understand your issue.....i will fix that .....even if the snippet you share didn't work.....thanks
$15 USD en 1 día
4,2 (1 comentario)
1,1
1,1
Avatar del usuario
A proposal has not yet been provided
$25 USD en 1 día
0,0 (0 comentarios)
0,0
0,0
Avatar del usuario
I can do the job for small budget!! and it will be professionnal and easy to use within your browser!!!
$10 USD en 3 días
0,0 (0 comentarios)
0,0
0,0
Avatar del usuario
A proposal has not yet been provided
$10 USD en 2 días
0,0 (0 comentarios)
0,0
0,0

Sobre este cliente

Bandera de UNITED STATES
Florida, United States
5,0
47
Miembro desde ene 16, 2013

Verificación del cliente

¡Gracias! Te hemos enviado un enlace para reclamar tu crédito gratuito.
Algo salió mal al enviar tu correo electrónico. Por favor, intenta de nuevo.
Usuarios registrados Total de empleos 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)
Cargando visualización previa
Permiso concedido para Geolocalización.
Tu sesión de acceso ha expirado y has sido desconectado. Por favor, inica sesión nuevamente.