Page 1 of 1

SnapShot

Posted: January 28th, 2016, 3:59 am
by MrTaco
Hi guys

Is it possible to take a picture on CSPro 6.2 if so please help me with the coding

Regards
Thabiso

Re: SnapShot

Posted: January 28th, 2016, 5:59 am
by Gregory Martin
Take a look at the execsystem function in the helps: http://www.csprousers.org/help/html/exe ... droid).htm

This code, for example, would take a photo and put it in the same folder as your application, with the photo named after the current date and time:
execsystem("camera:" + maketext("%s%08d%06d.jpg",pathname(application),sysdate("YYYYMMDD"),systime()));

Re: SnapShot

Posted: January 28th, 2016, 6:57 am
by josh
Search this forum for photo. There have been a number of postings discussing this already.

Re: SnapShot

Posted: January 29th, 2016, 2:06 am
by MrTaco
Thanks it works perfectly....