measuring slope of land

Discussions about CSEntry
Post Reply
sjonabro

measuring slope of land

Post by sjonabro »

Hi,

Do you know if there is any way of incorporating an app that measures the slope (degree) of a farm? This app does it, for example, and I would like to incorporate it to CSPRo:
https://play.google.com/store/apps/deta ... eter&hl=en

Thanks!
sjona
josh
Posts: 2399
Joined: May 5th, 2014, 12:49 pm
Location: Washington DC

Re: measuring slope of land

Post by josh »

If the app is installed on the device you can launch it from logic using the execsystem command. This will start the app from within CSEntry but there is no way to automatically retreive the results and put them into CSEntry. That would have to be done manually.

The logic would be something like:

Code: Select all

if execsystem("app:info.physicssolutions.multiclinometer") <>1 then
  errmsg("Failed to launch multi clinometer, is it installed on your system?");
endif;
The string that is passed into execsystem (info.physicssolutions.multiclinometer) comes from the URL of the app in the Google Play store.
Post Reply