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 <[email protected]> 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 <[email protected]> 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: [email protected] > Admin: http://delphi.org.nz/mailman/listinfo/delphi > Unsubscribe: send an email to [email protected] with > Subject: unsubscribe >
_______________________________________________ NZ Borland Developers Group - Delphi mailing list Post: [email protected] Admin: http://delphi.org.nz/mailman/listinfo/delphi Unsubscribe: send an email to [email protected] with Subject: unsubscribe
