Find Jobs
Hire Freelancers

Modify Delphi FMX code to take the bitmap from a timage and send the image to androids gallery.

$10-30 USD

Cerrado
Publicado hace más de 5 años

$10-30 USD

Pagado a la entrega
procedure [login to view URL](Sender: TObject); var Intent: JIntent; FileName, DestFileName: string; Data: Jnet_Uri; CompName: JComponentName; lFile: JFile; const IMAGE_FILENAME = '[login to view URL]'; // need to get the bitmap in a timage and use this intent to open it in androids gallery. begin FileName := [login to view URL] + PathDelim + IMAGE_FILENAME; // deployed to "assets" log.d(FileName); DestFileName := [login to view URL] + PathDelim + IMAGE_FILENAME; [login to view URL](FileName, DestFileName, true); Intent := [login to view URL]; [login to view URL](TJIntent.JavaClass.ACTION_VIEW); if TJBuild_VERSION.JavaClass.SDK_INT >= TJBuild_VERSION_CODES.JavaClass.N then begin lFile := [login to view URL](StringToJString(FileName)); [login to view URL](TJIntent.JavaClass.FLAG_GRANT_READ_URI_PERMISSION); Data := [login to view URL]([login to view URL], StringToJString('[login to view URL]'), lFile); end else Data := [login to view URL] (StringToJString('file://' + DestFileName)); [login to view URL](Data, StringToJString('image/jpg')); try [login to view URL](Intent); except on E: Exception do begin [login to view URL] := [login to view URL]; end; end; end; I have a timage on a form. It has a bitmap in it. I need to get the image from the timage and use this intent to send the image to androids gallery/photos.
ID del proyecto: 18691299

Información sobre el proyecto

1 propuesta
Proyecto remoto
Activo hace 5 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
1 freelancer está ofertando un promedio de $25 USD por este trabajo
Avatar del usuario
I am learning
$25 USD en 1 día
0,0 (0 comentarios)
0,0
0,0

Sobre este cliente

Bandera de UNITED STATES
Clintwood, United States
5,0
62
Forma de pago verificada
Miembro desde abr 3, 2007

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.