CsPro's loadcase function for CAPI

Discussions about creating CAPI applications to run on Android devices
Forum rules
New release: CSPro 8.0
Post Reply
rgethan
Posts: 2
Joined: April 19th, 2020, 11:58 pm

CsPro's loadcase function for CAPI

Post by rgethan »

I am trying to run the data entry application MyCAPI_Intro on a Samsung Android (A10), using the codes provided for occupation codes from a CsPro tutorial (easily found online). But, the device failed to successfully read the external file. I got the following message: "Occupation code 1111 NOT FOUND in occupation file '/storage/emulated/0/Dict/ISCO08.csdb'". However, the codes worked perfectly on Windows computers.

Here are the first few entries in the ISCO08 File:

1111Alderman
1112Administrator, city
1112Administrator, intergovernmental organization
1342Administrator, hospital
1345Academic, university: head of department or faculty
2111Aerodynamicist

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

Re: CsPro's loadcase function for CAPI

Post by josh »

Make sure that the directory layout of you application files on the Android device is the same as it was on Windows. With that error it sounds like it is not. It is looking for the lookup file outside the CSEntry directory.
rgethan
Posts: 2
Joined: April 19th, 2020, 11:58 pm

Re: CsPro's loadcase function for CAPI

Post by rgethan »

Many thanks; this solves my problem.
Romeo
Post Reply