Page 1 of 1

Geotag picture

Posted: August 11th, 2021, 6:02 am
by muhaliraza
Is it possible to capture geotag pictures in cspro?

Re: Geotag picture

Posted: August 11th, 2021, 7:25 am
by htuser
Dear Muhaliraza,
The Geotag feature is related to the Android photo capture software. Once you configure it on Android, CSPro will capture and save a geotagged photo.
Hope this help you.
Best

Re: Geotag picture

Posted: August 11th, 2021, 12:50 pm
by muhaliraza
I checked again. The camera software in my device is taking geotag images, but when I take a picture from cspro. The picture is not geotagged. The camera software that cspro application opens by default does not have more options for setting.

Re: Geotag picture

Posted: August 11th, 2021, 1:09 pm
by muhaliraza
Dear htuser, one quick question. Can i open the camera application in csentery using the SystemApp commenad? any example to do it?

Re: Geotag picture

Posted: August 11th, 2021, 2:29 pm
by muhaliraza
I tried and open the camera software installed on my device using the following logit:

function picture()
SystemApp pic;
pic.exec("com.sec.android.app.camera");
end;

But I do not know how to save the picture to my csentry folder.

Re: Geotag picture

Posted: August 11th, 2021, 5:06 pm
by htuser
Try to see if CSEntry have permission for location.
If yes, it depends on which app your device is using to take the photo.
I don't see which intent can be used in systemApp to enable or force geotagging...

https://stackoverflow.com/questions/408 ... s-on-or-no
https://stackoverflow.com/questions/694 ... is-enabled
https://stackoverflow.com/questions/602 ... era-progra
https://stackoverflow.com/questions/707 ... and-geotag

The CSPro Developer can help you more!
Best

Re: Geotag picture

Posted: August 13th, 2021, 11:16 am
by Gregory Martin
We'll look into adding this an option in the future.

For now, your best option may be to start the GPS, take the photo, capture the GPS reading that occurred while the photo was being taken (gps with the readlast option), and save it to your dictionary or somewhere where you can later associate it with the photo.