SnapShot

Other discussions about CSPro
Forum rules
New release: CSPro 8.0
Post Reply
MrTaco
Posts: 128
Joined: November 18th, 2014, 1:55 am

SnapShot

Post 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
Gregory Martin
Posts: 1777
Joined: December 5th, 2011, 11:27 pm
Location: Washington, DC

Re: SnapShot

Post 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()));
josh
Posts: 2399
Joined: May 5th, 2014, 12:49 pm
Location: Washington DC

Re: SnapShot

Post by josh »

Search this forum for photo. There have been a number of postings discussing this already.
MrTaco
Posts: 128
Joined: November 18th, 2014, 1:55 am

Re: SnapShot

Post by MrTaco »

Thanks it works perfectly....
Post Reply