Page 1 of 1

AUTHENTICATION (USING CSENTRY TO CALL ANOTHER ANDROID APPLICATION ON A DEVICE)

Posted: August 31st, 2016, 6:06 pm
by segxy4manu
AUTHENTICATION (USING CSENTRY TO CALL ANOTHER ANDROID APPLICATION ON A DEVICE)
how do i use logic to call up an Authentication application on an android device which is used to capture bio-metrics finger print

Re: AUTHENTICATION (USING CSENTRY TO CALL ANOTHER ANDROID APPLICATION ON A DEVICE)

Posted: September 1st, 2016, 7:28 am
by josh
You can use the execsystem function to launch other applications on Android. You need to know the full name id of the app which you can get by viewing the app on Google Play in a web browser (not in the Play Store app). For example if you find the BBC News app on the Play Store in your browser the URL (from the address bar in the browser) will be https://play.google.com/store/apps/deta ... le.news.ww To launch this app from CSPro take the part of the URL after "id=" and use it in the call to execsystem:

Code: Select all

if execsystem("app:bbc.mobile.news.ww") <>1 then
  errmsg("Failed to launch BBC News, is it installed on your system?");
endif;
The problem with a fingerprint reading app is that there may not be any way to get a result from the app that you launched. execsystem will start the other application but there is no way for CSPro to know if the fingerprint scan failed or identified the correct person. If you are writing your own fingerprint scanning app then you could have it write the results to a file and then read that file from CSPro but if it is an app that you get from Google Play or one that comes with the device then this will not be possible.

Re: AUTHENTICATION (USING CSENTRY TO CALL ANOTHER ANDROID APPLICATION ON A DEVICE)

Posted: November 30th, 2016, 11:47 pm
by CSProUser
Can the same function be utilized to notify the supervisor that a particular interview was completed without sending actual interview data?
I just want to send a skype notification with the household address.
Thank you.

Re: AUTHENTICATION (USING CSENTRY TO CALL ANOTHER ANDROID APPLICATION ON A DEVICE)

Posted: December 1st, 2016, 7:04 am
by josh
You could use it to launch Skype but there isn't a way I know of to automatically have Skype send the notification.