File locations differ on different devices

RW
Rene Winkel
Flora Holland

We were hoping to use Custom Data for targeting our profiles to the devices. We are currently using Zebra TC57 and Casio IT-G400 devices. I have no issues reading the %sdcard%Settings.ini on a Zebra device, however the Casio doesn't seem to use this location. In the file manager I can see a sdcard folder, but it seems to reside under /internal storage/ .

How would I go about finding a location for the settings file that will be available on both devices?

Do you have a list of locations I can target using a macro, as I only know of %sdcard% at the moment?

5 years ago
Android
ANSWERS
RC
Raymond Chan Diamond Contributor
5 years ago

The MobiControl macro %sdcard% may refer to different directory in either internal Flash or external SD-card memory system.  One has to manually find the mount point on the file-system, e.g. by using the file-explorer tool in a non-html5 remote-control session,  for each device model/firmware version on hand.   The macro can be used as a base to reference other folder to put your custom .ini file for data collection, provided that any app/service supposed to be updating the .ini file has the required read/write access permission of the directory referenced.

RW
Rene Winkel
5 years ago

Thanks for your answer, Raymond. Just to clarify: you are saying MobiControl *always* uses the macro %sdcard%? So if I write a file to that location using a profile, I should be able to reference that file in my Custom Data configuration? 

You see, currently, the Custom Data from my ini file isn't read on my Casio devices. The profile containing the ini file is installed, but I can't find the file anywhere on the file system.