Query Android system values

Hi everyone,

I'm building an application to monitor the state / usage of our health workers
: serial number of the phone they currently use, current versions of installed
software (CommCare obviously, but other like Barcode Reader for example),
usage of the SD Card, etc...

I wonder if anyone knows a way to retrieve these informations by querying the
system within CommCare ODK itself ? Things like :

  • Installed version of package com.example.application
  • Available Internal memory / SD Card storage used for Pictures / Videos, etc

I could ask the staff to manually check and enter these values, but it seems
more convenient to have them automatically filled as hidden values.

Many thanks,

··· -- Charles Flèche mHealth Advisor Télécoms Sans Frontières http://www.tsfi.org Première Urgence - Aide Médicale Internationale http://www.pu-ami.org

Charles,

Some of this info is available from CommCare, but unfortunately I imagine
that most of what you're looking to do (monitoring the overall state of the
phone/install situation) is going to be somewhat difficult from inside the
app.

Have you looked into tools like Meraki System Manager
https://play.google.com/store/apps/details?id=com.meraki.sm&hl=en which are
designed to manage fleets of phones?

-Clayton

··· On Wed, Dec 17, 2014 at 8:04 AM, Charles Flèche wrote: > > Hi everyone, > > I'm building an application to monitor the state / usage of our health > workers > : serial number of the phone they currently use, current versions of > installed > software (CommCare obviously, but other like Barcode Reader for example), > usage of the SD Card, etc... > > I wonder if anyone knows a way to retrieve these informations by querying > the > system within CommCare ODK itself ? Things like : > * Installed version of package com.example.application > * Available Internal memory / SD Card storage used for Pictures / Videos, > etc > > I could ask the staff to manually check and enter these values, but it > seems > more convenient to have them automatically filled as hidden values. > > Many thanks, > > > -- > Charles Flèche > mHealth Advisor > Télécoms Sans Frontières http://www.tsfi.org > Première Urgence - Aide Médicale Internationale http://www.pu-ami.org > > -- > You received this message because you are subscribed to the Google Groups > "commcare-users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to commcare-users+unsubscribe@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. >

I've also heard of people using lookout for similar types of stuff:

··· On Wed, Dec 17, 2014 at 10:43 AM, Clayton Sims wrote: > > Charles, > > Some of this info is available from CommCare, but unfortunately I imagine > that most of what you're looking to do (monitoring the overall state of the > phone/install situation) is going to be somewhat difficult from inside the > app. > > Have you looked into tools like Meraki System Manager > https://play.google.com/store/apps/details?id=com.meraki.sm&hl=en which > are designed to manage fleets of phones? > > -Clayton > > On Wed, Dec 17, 2014 at 8:04 AM, Charles Flèche wrote: >> >> Hi everyone, >> >> I'm building an application to monitor the state / usage of our health >> workers >> : serial number of the phone they currently use, current versions of >> installed >> software (CommCare obviously, but other like Barcode Reader for example), >> usage of the SD Card, etc... >> >> I wonder if anyone knows a way to retrieve these informations by querying >> the >> system within CommCare ODK itself ? Things like : >> * Installed version of package com.example.application >> * Available Internal memory / SD Card storage used for Pictures / Videos, >> etc >> >> I could ask the staff to manually check and enter these values, but it >> seems >> more convenient to have them automatically filled as hidden values. >> >> Many thanks, >> >> >> -- >> Charles Flèche >> mHealth Advisor >> Télécoms Sans Frontières http://www.tsfi.org >> Première Urgence - Aide Médicale Internationale http://www.pu-ami.org >> >> -- >> You received this message because you are subscribed to the Google Groups >> "commcare-users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to commcare-users+unsubscribe@googlegroups.com. >> For more options, visit https://groups.google.com/d/optout. >> > -- > You received this message because you are subscribed to the Google Groups > "commcare-users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to commcare-users+unsubscribe@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. >

Will definitely take a look at Meraki, many thanks Clayton.

··· On Wednesday 17 December 2014 10:43:59 Clayton Sims wrote: > Have you looked into tools like Meraki System Manager > https://play.google.com/store/apps/details?id=com.meraki.sm&hl=en which are > designed to manage fleets of phones?

--
Charles Flèche
mHealth Advisor
Télécoms Sans Frontières http://www.tsfi.org
Première Urgence - Aide Médicale Internationale http://www.pu-ami.org