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

Chiuso
Pubblicato circa 5 anni fa

$10-30 USD

Pagato al completamento
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.
Rif. progetto: 18691299

Info sul progetto

1 proposta
Progetto a distanza
Attivo 5 anni fa

Hai voglia di guadagnare un po'?

I vantaggi delle offerte su Freelancer

Imposta il tuo budget e le scadenze
Fatti pagare per il lavoro svolto
Delinea la tua proposta
La registrazione e le offerte sui lavori sono gratuite
1 freelance ha fatto un'offerta media di $25 USD per questo lavoro
Avatar dell'utente
I am learning
$25 USD in 1 giorno
0,0 (0 valutazioni)
0,0
0,0

Info sul cliente

Bandiera: UNITED STATES
Clintwood, United States
5,0
62
Metodo di pagamento verificato
Membro dal apr 3, 2007

Verifica del cliente

Grazie! Ti abbiamo inviato tramite email il link per richiedere il tuo bonus gratuito.
Non è stato possibile inviarti l'email. Riprova per piacere.
di utenti registrati di lavori pubblicati
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Caricamento anteprima
Autorizzazione per la geolocalizzazione concessa.
La tua sessione è scaduta ed è stato effettuato il log out. Accedi nuovamente per piacere.