[DUG] XE5 Android questions

Jeremy Coulter jscoulter at gmail.com
Mon Sep 23 13:46:14 NZST 2013


the flash light worked fine for me on an HTC sensation. It could be
permission John.


On Mon, Sep 23, 2013 at 12:56 PM, Jolyon Smith <jsmith at deltics.co.nz> wrote:

>  All the information I've been able to find relating to LED control has
> been very involved, Android SDK level info.
>
> e.g.
> http://stackoverflow.com/questions/5503480/use-camera-flashlight-in-android
>
> Flashlight control is tied to the camera and (as I am finding out myself)
> interacting with the camera is a minefield of different device behaviors
> and idiosyncrasies, not *just* permissions.
>
> If there is some wrinkle with your device that FireMonkey does not take
> into account you may have to wait for Embarcadero to identify and fix it,
> or roll up your sleeves and try to get to grips with the JNI "bridge" to
> try to apply the techniques suggested by Android developers.
>
>
> I'm surprised though.  I thought if the app worked on iOS you could just
> recompile it for Android ?  ;)
>
> --
> Jolyon Smith
>
> On 23 September 2013 11:57, John Bird <johnkbird at paradise.net.nz> wrote:
>
>   Two XE5 mobile Android questions:
>
> 1 - tried the sample Flashlight app on a Galaxy Nexus, and everything
> works
> apart from it doesn't turn on the flash.  (Have another non-Delphi
> flashlight app that
> does).  What permissions are needed in project options - anything apart
> from
> camera ones which are already on?
>
> 2 - Tried connecting a Nexus 4 as well, and this one would not appear on
> the
> Project Android target list (for deployment) no matter what I tried.
> With
> the Galaxy Nexus it also doesn't appear until the dialog on the phone
> about
> "Allow USB Debugging - the computer's RSA key fingerprint is
> xx:xx:xx:xx:xx......    OK".   Once that is OK'd it appears.   But the
> Nexus
> 4 never shows that dialog.  All the same developer options are turned on
> otherwise.   Any ideas?
>
>
> _______________________________________________
> NZ Borland Developers Group - Delphi mailing list
> Post: delphi at listserver.123.net.nz
> Admin: http://delphi.org.nz/mailman/listinfo/delphi
> Unsubscribe: send an email to delphi-request at listserver.123.net.nz with
> Subject: unsubscribe
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listserver.123.net.nz/pipermail/delphi/attachments/20130923/bd53472b/attachment-0001.html 


More information about the Delphi mailing list