Device ID

Hi all,

I am trying to save the number I assigned to each of devices to my
instances. I can get the guys to just enter it manually, by looking at the
sticker on the back, but I figured it should be possible to run the
deviceid through a pulldata() function to automatically retrieve the number
from a list. However, it seems the device id depends not only on the
device, but also on the form being used: different forms will assign
different deviceids on the same machine. Is this behaviour intentional? And
if so, is there any other way to do this apart from the manual way?

Thanks,
Koen

Try this bind for

This consistently gives me same id for any number of forms. i.e. device
imei number.

Thanks.

Would/should this not be exactly the same as the "deviceid" type in
XLSForm?

··· On Thursday, June 26, 2014 12:15:35 PM UTC+2, Ayub wrote: > > Try this bind for > > jr:preloadParams="deviceid"/> > > This consistently gives me same id for any number of forms. i.e. device > imei number. >

Yes, this is the same.

Yaw

··· -- Need ODK services? http://nafundi.com provides form design, server setup, professional support, and software development for ODK.

On Thu, Jun 26, 2014 at 5:29 AM, Koen koen.leuveld@gmail.com wrote:

Thanks.

Would/should this not be exactly the same as the "deviceid" type in XLSForm?

On Thursday, June 26, 2014 12:15:35 PM UTC+2, Ayub wrote:

Try this bind for

This consistently gives me same id for any number of forms. i.e. device
imei number.

--

Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en


You received this message because you are subscribed to the Google Groups
"ODK Community" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to opendatakit+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Hmmm... this is what I am using, and I am certain I've got devices with
different deviceids in different forms.

I am using ODK 1.4.3 on Acer Iconia B1 tablets running Android 4.1.2 by the
way.

··· On Thursday, June 26, 2014 3:48:19 PM UTC+2, Yaw Anokwa wrote: > > Yes, this is the same. > > Yaw > -- > Need ODK services? http://nafundi.com provides form design, server > setup, professional support, and software development for ODK. > > On Thu, Jun 26, 2014 at 5:29 AM, Koen <koen.l...@gmail.com > wrote: > > Thanks. > > > > Would/should this not be exactly the same as the "deviceid" type in > XLSForm? > > > > > > On Thursday, June 26, 2014 12:15:35 PM UTC+2, Ayub wrote: > >> > >> Try this bind for > >> > >> >> jr:preloadParams="deviceid"/> > >> > >> This consistently gives me same id for any number of forms. i.e. device > >> imei number. > > > > -- > > -- > > Post: opend...@googlegroups.com > > Unsubscribe: opendatakit...@googlegroups.com > > Options: http://groups.google.com/group/opendatakit?hl=en > > > > --- > > You received this message because you are subscribed to the Google > Groups > > "ODK Community" group. > > To unsubscribe from this group and stop receiving emails from it, send > an > > email to opendatakit...@googlegroups.com . > > For more options, visit https://groups.google.com/d/optout. >

Koen,

Device ID reports either the cellular IMEI, WiFi MAC address, or
Android ID (a unique identifier assigned by the operating system).
What gets reported depends on the device.

Your email doesn't really explain what the problem is, so the more
details you can provide, the better.

Yaw

··· -- Need ODK services? http://nafundi.com provides form design, server setup, professional support, and software development for ODK.

On Fri, Jun 27, 2014 at 2:37 AM, Koen koen.leuveld@gmail.com wrote:

Hmmm... this is what I am using, and I am certain I've got devices with
different deviceids in different forms.

I am using ODK 1.4.3 on Acer Iconia B1 tablets running Android 4.1.2 by the
way.

On Thursday, June 26, 2014 3:48:19 PM UTC+2, Yaw Anokwa wrote:

Yes, this is the same.

Yaw

Need ODK services? http://nafundi.com provides form design, server
setup, professional support, and software development for ODK.

On Thu, Jun 26, 2014 at 5:29 AM, Koen koen.l...@gmail.com wrote:

Thanks.

Would/should this not be exactly the same as the "deviceid" type in
XLSForm?

On Thursday, June 26, 2014 12:15:35 PM UTC+2, Ayub wrote:

Try this bind for

This consistently gives me same id for any number of forms. i.e. device
imei number.

--

Post: opend...@googlegroups.com
Unsubscribe: opendatakit...@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en


You received this message because you are subscribed to the Google
Groups
"ODK Community" group.
To unsubscribe from this group and stop receiving emails from it, send
an
email to opendatakit...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--

Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en


You received this message because you are subscribed to the Google Groups
"ODK Community" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to opendatakit+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Hi,

Sorry if I wasn't clear. Kind of stressed out, and it shows from the
messages I've been typing here. But anyway: from your message it seems that
if I fill in two different forms on the same tablet, I should get the same
Device ID, right? Well, I get a different deviceid for different forms, on
the same tablet. This is not the behaviour I anticipated.

Koen

··· On Friday, June 27, 2014 4:08:45 PM UTC+2, Yaw Anokwa wrote: > > Koen, > > Device ID reports either the cellular IMEI, WiFi MAC address, or > Android ID (a unique identifier assigned by the operating system). > What gets reported depends on the device. > > Your email doesn't really explain what the problem is, so the more > details you can provide, the better. > > Yaw > -- > Need ODK services? http://nafundi.com provides form design, server > setup, professional support, and software development for ODK. > > On Fri, Jun 27, 2014 at 2:37 AM, Koen <koen.l...@gmail.com > wrote: > > Hmmm... this is what I am using, and I am certain I've got devices with > > different deviceids in different forms. > > > > I am using ODK 1.4.3 on Acer Iconia B1 tablets running Android 4.1.2 by > the > > way. > > > > > > On Thursday, June 26, 2014 3:48:19 PM UTC+2, Yaw Anokwa wrote: > >> > >> Yes, this is the same. > >> > >> Yaw > >> -- > >> Need ODK services? http://nafundi.com provides form design, server > >> setup, professional support, and software development for ODK. > >> > >> On Thu, Jun 26, 2014 at 5:29 AM, Koen wrote: > >> > Thanks. > >> > > >> > Would/should this not be exactly the same as the "deviceid" type in > >> > XLSForm? > >> > > >> > > >> > On Thursday, June 26, 2014 12:15:35 PM UTC+2, Ayub wrote: > >> >> > >> >> Try this bind for > >> >> > >> >> >> >> jr:preloadParams="deviceid"/> > >> >> > >> >> This consistently gives me same id for any number of forms. i.e. > device > >> >> imei number. > >> > > >> > -- > >> > -- > >> > Post: opend...@googlegroups.com > >> > Unsubscribe: opendatakit...@googlegroups.com > >> > Options: http://groups.google.com/group/opendatakit?hl=en > >> > > >> > --- > >> > You received this message because you are subscribed to the Google > >> > Groups > >> > "ODK Community" group. > >> > To unsubscribe from this group and stop receiving emails from it, > send > >> > an > >> > email to opendatakit...@googlegroups.com. > >> > For more options, visit https://groups.google.com/d/optout. > > > > -- > > -- > > Post: opend...@googlegroups.com > > Unsubscribe: opendatakit...@googlegroups.com > > Options: http://groups.google.com/group/opendatakit?hl=en > > > > --- > > You received this message because you are subscribed to the Google > Groups > > "ODK Community" group. > > To unsubscribe from this group and stop receiving emails from it, send > an > > email to opendatakit...@googlegroups.com . > > For more options, visit https://groups.google.com/d/optout. >

Koen,

Sorry about the stress, my friend. Could be worse, no? You could be
collecting data on paper...

In general, yes, the device ID should be the same if you fill
different forms on the same tablet.

Take a look at the XML of both forms. Find the bind for the device ID
node on both forms.

Copy and paste both binds to dpaste.com and send out a link. Those
binds should be the same.

My guess is that you might be looking at instanceID and not deviceID.

Yaw

··· -- Need ODK services? http://nafundi.com provides form design, server setup, professional support, and software development for ODK.

On Fri, Jun 27, 2014 at 8:29 AM, Koen koen.leuveld@gmail.com wrote:

Hi,

Sorry if I wasn't clear. Kind of stressed out, and it shows from the
messages I've been typing here. But anyway: from your message it seems that
if I fill in two different forms on the same tablet, I should get the same
Device ID, right? Well, I get a different deviceid for different forms, on
the same tablet. This is not the behaviour I anticipated.

Koen

On Friday, June 27, 2014 4:08:45 PM UTC+2, Yaw Anokwa wrote:

Koen,

Device ID reports either the cellular IMEI, WiFi MAC address, or
Android ID (a unique identifier assigned by the operating system).
What gets reported depends on the device.

Your email doesn't really explain what the problem is, so the more
details you can provide, the better.

Yaw

Need ODK services? http://nafundi.com provides form design, server
setup, professional support, and software development for ODK.

On Fri, Jun 27, 2014 at 2:37 AM, Koen koen.l...@gmail.com wrote:

Hmmm... this is what I am using, and I am certain I've got devices with
different deviceids in different forms.

I am using ODK 1.4.3 on Acer Iconia B1 tablets running Android 4.1.2 by
the
way.

On Thursday, June 26, 2014 3:48:19 PM UTC+2, Yaw Anokwa wrote:

Yes, this is the same.

Yaw

Need ODK services? http://nafundi.com provides form design, server
setup, professional support, and software development for ODK.

On Thu, Jun 26, 2014 at 5:29 AM, Koen koen.l...@gmail.com wrote:

Thanks.

Would/should this not be exactly the same as the "deviceid" type in
XLSForm?

On Thursday, June 26, 2014 12:15:35 PM UTC+2, Ayub wrote:

Try this bind for

This consistently gives me same id for any number of forms. i.e.
device
imei number.

--

Post: opend...@googlegroups.com
Unsubscribe: opendatakit...@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en


You received this message because you are subscribed to the Google
Groups
"ODK Community" group.
To unsubscribe from this group and stop receiving emails from it,
send
an
email to opendatakit...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--

Post: opend...@googlegroups.com
Unsubscribe: opendatakit...@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en


You received this message because you are subscribed to the Google
Groups
"ODK Community" group.
To unsubscribe from this group and stop receiving emails from it, send
an
email to opendatakit...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--

Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en


You received this message because you are subscribed to the Google Groups
"ODK Community" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to opendatakit+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Koen,

This would be extraordinary behavior for any device and I think that people
may be having a hard time quite believing it. You might want to
triple-check to make sure that you're not being confused by data from
multiple devices, old data, etc. Then, you might do some work to try to
figure out from where these various device ID's are coming. Perhaps you are
getting the Wifi MAC address when connected to Wifi but the IMEI when not?
You should be able to look deeply into the ID's you're getting to figure
out how your device is behaving.

Best,

Chris

··· On Fri, Jun 27, 2014 at 11:29 AM, Koen wrote:

Hi,

Sorry if I wasn't clear. Kind of stressed out, and it shows from the
messages I've been typing here. But anyway: from your message it seems that
if I fill in two different forms on the same tablet, I should get the same
Device ID, right? Well, I get a different deviceid for different forms, on
the same tablet. This is not the behaviour I anticipated.

Koen

On Friday, June 27, 2014 4:08:45 PM UTC+2, Yaw Anokwa wrote:

Koen,

Device ID reports either the cellular IMEI, WiFi MAC address, or
Android ID (a unique identifier assigned by the operating system).
What gets reported depends on the device.

Your email doesn't really explain what the problem is, so the more
details you can provide, the better.

Yaw

Need ODK services? http://nafundi.com provides form design, server
setup, professional support, and software development for ODK.

On Fri, Jun 27, 2014 at 2:37 AM, Koen koen.l...@gmail.com wrote:

Hmmm... this is what I am using, and I am certain I've got devices with
different deviceids in different forms.

I am using ODK 1.4.3 on Acer Iconia B1 tablets running Android 4.1.2 by
the
way.

On Thursday, June 26, 2014 3:48:19 PM UTC+2, Yaw Anokwa wrote:

Yes, this is the same.

Yaw

Need ODK services? http://nafundi.com provides form design, server
setup, professional support, and software development for ODK.

On Thu, Jun 26, 2014 at 5:29 AM, Koen koen.l...@gmail.com wrote:

Thanks.

Would/should this not be exactly the same as the "deviceid" type in
XLSForm?

On Thursday, June 26, 2014 12:15:35 PM UTC+2, Ayub wrote:

Try this bind for

This consistently gives me same id for any number of forms. i.e.
device

imei number.

--

Post: opend...@googlegroups.com
Unsubscribe: opendatakit...@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en


You received this message because you are subscribed to the Google
Groups
"ODK Community" group.
To unsubscribe from this group and stop receiving emails from it,
send

an
email to opendatakit...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--

Post: opend...@googlegroups.com
Unsubscribe: opendatakit...@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en


You received this message because you are subscribed to the Google
Groups
"ODK Community" group.
To unsubscribe from this group and stop receiving emails from it, send
an
email to opendatakit...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--

Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en


You received this message because you are subscribed to the Google Groups
"ODK Community" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to opendatakit+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Echoing Chris...

Is this for both forms under the same conditions? i.e., same wifi
connectivity, same cellular reception, etc?

If so, for a given tablet, what ids are you seeing? Is it IMEI, MAC, or
AndroidID?

You can change the deviceid jr:preloadParams to uri:deviceid and it will
prefix the id value with the designator of which one is being used.

http://opendatakit.org/help/form-design/examples/#Property_values

··· On Fri, Jun 27, 2014 at 8:36 AM, Christopher Robert wrote:

Koen,

This would be extraordinary behavior for any device and I think that
people may be having a hard time quite believing it. You might want to
triple-check to make sure that you're not being confused by data from
multiple devices, old data, etc. Then, you might do some work to try to
figure out from where these various device ID's are coming. Perhaps you are
getting the Wifi MAC address when connected to Wifi but the IMEI when not?
You should be able to look deeply into the ID's you're getting to figure
out how your device is behaving.

Best,

Chris

On Fri, Jun 27, 2014 at 11:29 AM, Koen koen.leuveld@gmail.com wrote:

Hi,

Sorry if I wasn't clear. Kind of stressed out, and it shows from the
messages I've been typing here. But anyway: from your message it seems that
if I fill in two different forms on the same tablet, I should get the same
Device ID, right? Well, I get a different deviceid for different forms, on
the same tablet. This is not the behaviour I anticipated.

Koen

On Friday, June 27, 2014 4:08:45 PM UTC+2, Yaw Anokwa wrote:

Koen,

Device ID reports either the cellular IMEI, WiFi MAC address, or
Android ID (a unique identifier assigned by the operating system).
What gets reported depends on the device.

Your email doesn't really explain what the problem is, so the more
details you can provide, the better.

Yaw

Need ODK services? http://nafundi.com provides form design, server
setup, professional support, and software development for ODK.

On Fri, Jun 27, 2014 at 2:37 AM, Koen koen.l...@gmail.com wrote:

Hmmm... this is what I am using, and I am certain I've got devices
with
different deviceids in different forms.

I am using ODK 1.4.3 on Acer Iconia B1 tablets running Android 4.1.2
by the
way.

On Thursday, June 26, 2014 3:48:19 PM UTC+2, Yaw Anokwa wrote:

Yes, this is the same.

Yaw

Need ODK services? http://nafundi.com provides form design, server
setup, professional support, and software development for ODK.

On Thu, Jun 26, 2014 at 5:29 AM, Koen koen.l...@gmail.com wrote:

Thanks.

Would/should this not be exactly the same as the "deviceid" type in
XLSForm?

On Thursday, June 26, 2014 12:15:35 PM UTC+2, Ayub wrote:

Try this bind for

This consistently gives me same id for any number of forms. i.e.
device

imei number.

--

Post: opend...@googlegroups.com
Unsubscribe: opendatakit...@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en


You received this message because you are subscribed to the Google
Groups
"ODK Community" group.
To unsubscribe from this group and stop receiving emails from it,
send

an
email to opendatakit...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--

Post: opend...@googlegroups.com
Unsubscribe: opendatakit...@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en


You received this message because you are subscribed to the Google
Groups
"ODK Community" group.
To unsubscribe from this group and stop receiving emails from it, send
an
email to opendatakit...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--

Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en


You received this message because you are subscribed to the Google Groups
"ODK Community" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to opendatakit+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--

Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en


You received this message because you are subscribed to the Google Groups
"ODK Community" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to opendatakit+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
Mitch Sundt
Software Engineer
University of Washington
mitchellsundt@gmail.com

Thanks all, it must be that sometimes the MAC address is stored, and
sometimes the Android ID.

I've been trying to get different device ID from different forms, but
obviously this has failed so far to get it to show up on purpose. So I've
been going back through all my device data to find one that has been used
extensively. In a classroom setting, which would have wi-fi access if there
was power at the time, this device id was assigned: 98:ff:d0:4b:6d:c0. This
looks like a MAC address to my untrained eye. When the same device was
taken to the field (no wi-fi) it displays 4596fce2ce7f7a5d, which seems
like it could be an Android ID.

Is there any way to force which number is being stored? In general, my guys
shouldn't be near any wi-fi hotspot when doing their work, but I'd rather
be 100% sure.

Koen

··· On Friday, June 27, 2014 5:42:18 PM UTC+2, Mitch Sundt wrote: > > Echoing Chris... > > Is this for both forms under the same conditions? i.e., same wifi > connectivity, same cellular reception, etc? > > If so, for a given tablet, what ids are you seeing? Is it IMEI, MAC, or > AndroidID? > > You can change the deviceid jr:preloadParams to uri:deviceid and it will > prefix the id value with the designator of which one is being used. > > http://opendatakit.org/help/form-design/examples/#Property_values > > > > > On Fri, Jun 27, 2014 at 8:36 AM, Christopher Robert <cro...@surveycto.com > wrote: > >> Koen, >> >> This would be extraordinary behavior for any device and I think that >> people may be having a hard time quite believing it. You might want to >> triple-check to make sure that you're not being confused by data from >> multiple devices, old data, etc. Then, you might do some work to try to >> figure out from where these various device ID's are coming. Perhaps you are >> getting the Wifi MAC address when connected to Wifi but the IMEI when not? >> You should be able to look deeply into the ID's you're getting to figure >> out how your device is behaving. >> >> Best, >> >> Chris >> >> >> >> On Fri, Jun 27, 2014 at 11:29 AM, Koen <koen.l...@gmail.com wrote: >> >>> Hi, >>> >>> Sorry if I wasn't clear. Kind of stressed out, and it shows from the >>> messages I've been typing here. But anyway: from your message it seems that >>> if I fill in two different forms on the same tablet, I should get the same >>> Device ID, right? Well, I get a different deviceid for different forms, on >>> the same tablet. This is not the behaviour I anticipated. >>> >>> Koen >>> >>> >>> On Friday, June 27, 2014 4:08:45 PM UTC+2, Yaw Anokwa wrote: >>> >>>> Koen, >>>> >>>> Device ID reports either the cellular IMEI, WiFi MAC address, or >>>> Android ID (a unique identifier assigned by the operating system). >>>> What gets reported depends on the device. >>>> >>>> Your email doesn't really explain what the problem is, so the more >>>> details you can provide, the better. >>>> >>>> Yaw >>>> -- >>>> Need ODK services? http://nafundi.com provides form design, server >>>> setup, professional support, and software development for ODK. >>>> >>>> On Fri, Jun 27, 2014 at 2:37 AM, Koen wrote: >>>> > Hmmm... this is what I am using, and I am certain I've got devices >>>> with >>>> > different deviceids in different forms. >>>> > >>>> > I am using ODK 1.4.3 on Acer Iconia B1 tablets running Android 4.1.2 >>>> by the >>>> > way. >>>> > >>>> > >>>> > On Thursday, June 26, 2014 3:48:19 PM UTC+2, Yaw Anokwa wrote: >>>> >> >>>> >> Yes, this is the same. >>>> >> >>>> >> Yaw >>>> >> -- >>>> >> Need ODK services? http://nafundi.com provides form design, server >>>> >> setup, professional support, and software development for ODK. >>>> >> >>>> >> On Thu, Jun 26, 2014 at 5:29 AM, Koen wrote: >>>> >> > Thanks. >>>> >> > >>>> >> > Would/should this not be exactly the same as the "deviceid" type >>>> in >>>> >> > XLSForm? >>>> >> > >>>> >> > >>>> >> > On Thursday, June 26, 2014 12:15:35 PM UTC+2, Ayub wrote: >>>> >> >> >>>> >> >> Try this bind for >>>> >> >> >>>> >> >> >>> jr:preload="property" >>>> >> >> jr:preloadParams="deviceid"/> >>>> >> >> >>>> >> >> This consistently gives me same id for any number of forms. i.e. >>>> device >>>> >> >> imei number. >>>> >> > >>>> >> > -- >>>> >> > -- >>>> >> > Post: opend...@googlegroups.com >>>> >> > Unsubscribe: opendatakit...@googlegroups.com >>>> >> > Options: http://groups.google.com/group/opendatakit?hl=en >>>> >> > >>>> >> > --- >>>> >> > You received this message because you are subscribed to the Google >>>> >> > Groups >>>> >> > "ODK Community" group. >>>> >> > To unsubscribe from this group and stop receiving emails from it, >>>> send >>>> >> > an >>>> >> > email to opendatakit...@googlegroups.com. >>>> >> > For more options, visit https://groups.google.com/d/optout. >>>> > >>>> > -- >>>> > -- >>>> > Post: opend...@googlegroups.com >>>> > Unsubscribe: opendatakit...@googlegroups.com >>>> > Options: http://groups.google.com/group/opendatakit?hl=en >>>> > >>>> > --- >>>> > You received this message because you are subscribed to the Google >>>> Groups >>>> > "ODK Community" group. >>>> > To unsubscribe from this group and stop receiving emails from it, >>>> send an >>>> > email to opendatakit...@googlegroups.com. >>>> > For more options, visit https://groups.google.com/d/optout. >>>> >>> -- >>> -- >>> Post: opend...@googlegroups.com >>> Unsubscribe: opendatakit...@googlegroups.com >>> Options: http://groups.google.com/group/opendatakit?hl=en >>> >>> --- >>> You received this message because you are subscribed to the Google >>> Groups "ODK Community" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to opendatakit...@googlegroups.com . >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> -- >> -- >> Post: opend...@googlegroups.com >> Unsubscribe: opendatakit...@googlegroups.com >> Options: http://groups.google.com/group/opendatakit?hl=en >> >> --- >> You received this message because you are subscribed to the Google Groups >> "ODK Community" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to opendatakit...@googlegroups.com . >> For more options, visit https://groups.google.com/d/optout. >> > > > > -- > Mitch Sundt > Software Engineer > University of Washington > mitche...@gmail.com >

Koen,

On my Nexus, even if WiFi is off, I can still get the MAC address. My
guess is that this is a problem that is specific to the Acer Iconia
B1.

There is no support for forcing one type of Device ID, but feel free
to file a feature request at
https://code.google.com/p/opendatakit/issues/list.

As a workaround, maybe add a question that asks enumerators to enter
their enumerator ID. Or maybe have them create Google accounts and add
a uri:email question (See http://opendatakit.org/help/form-design).

Yaw

··· -- Need ODK services? http://nafundi.com provides form design, server setup, professional support, and software development for ODK.

On Sat, Jun 28, 2014 at 2:02 AM, Koen koen.leuveld@gmail.com wrote:

Thanks all, it must be that sometimes the MAC address is stored, and
sometimes the Android ID.

I've been trying to get different device ID from different forms, but
obviously this has failed so far to get it to show up on purpose. So I've
been going back through all my device data to find one that has been used
extensively. In a classroom setting, which would have wi-fi access if there
was power at the time, this device id was assigned: 98:ff:d0:4b:6d:c0. This
looks like a MAC address to my untrained eye. When the same device was taken
to the field (no wi-fi) it displays 4596fce2ce7f7a5d, which seems like it
could be an Android ID.

Is there any way to force which number is being stored? In general, my guys
shouldn't be near any wi-fi hotspot when doing their work, but I'd rather be
100% sure.

Koen

On Friday, June 27, 2014 5:42:18 PM UTC+2, Mitch Sundt wrote:

Echoing Chris...

Is this for both forms under the same conditions? i.e., same wifi
connectivity, same cellular reception, etc?

If so, for a given tablet, what ids are you seeing? Is it IMEI, MAC, or
AndroidID?

You can change the deviceid jr:preloadParams to uri:deviceid and it will
prefix the id value with the designator of which one is being used.

http://opendatakit.org/help/form-design/examples/#Property_values

On Fri, Jun 27, 2014 at 8:36 AM, Christopher Robert cro...@surveycto.com wrote:

Koen,

This would be extraordinary behavior for any device and I think that
people may be having a hard time quite believing it. You might want to
triple-check to make sure that you're not being confused by data from
multiple devices, old data, etc. Then, you might do some work to try to
figure out from where these various device ID's are coming. Perhaps you are
getting the Wifi MAC address when connected to Wifi but the IMEI when not?
You should be able to look deeply into the ID's you're getting to figure out
how your device is behaving.

Best,

Chris

On Fri, Jun 27, 2014 at 11:29 AM, Koen koen.l...@gmail.com wrote:

Hi,

Sorry if I wasn't clear. Kind of stressed out, and it shows from the
messages I've been typing here. But anyway: from your message it seems that
if I fill in two different forms on the same tablet, I should get the same
Device ID, right? Well, I get a different deviceid for different forms, on
the same tablet. This is not the behaviour I anticipated.

Koen

On Friday, June 27, 2014 4:08:45 PM UTC+2, Yaw Anokwa wrote:

Koen,

Device ID reports either the cellular IMEI, WiFi MAC address, or
Android ID (a unique identifier assigned by the operating system).
What gets reported depends on the device.

Your email doesn't really explain what the problem is, so the more
details you can provide, the better.

Yaw

Need ODK services? http://nafundi.com provides form design, server
setup, professional support, and software development for ODK.

On Fri, Jun 27, 2014 at 2:37 AM, Koen koen.l...@gmail.com wrote:

Hmmm... this is what I am using, and I am certain I've got devices
with
different deviceids in different forms.

I am using ODK 1.4.3 on Acer Iconia B1 tablets running Android 4.1.2
by the
way.

On Thursday, June 26, 2014 3:48:19 PM UTC+2, Yaw Anokwa wrote:

Yes, this is the same.

Yaw

Need ODK services? http://nafundi.com provides form design, server
setup, professional support, and software development for ODK.

On Thu, Jun 26, 2014 at 5:29 AM, Koen koen.l...@gmail.com wrote:

Thanks.

Would/should this not be exactly the same as the "deviceid" type
in
XLSForm?

On Thursday, June 26, 2014 12:15:35 PM UTC+2, Ayub wrote:

Try this bind for

This consistently gives me same id for any number of forms. i.e.
device
imei number.

--

Post: opend...@googlegroups.com
Unsubscribe: opendatakit...@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en


You received this message because you are subscribed to the Google
Groups
"ODK Community" group.
To unsubscribe from this group and stop receiving emails from it,
send
an
email to opendatakit...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--

Post: opend...@googlegroups.com
Unsubscribe: opendatakit...@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en


You received this message because you are subscribed to the Google
Groups
"ODK Community" group.
To unsubscribe from this group and stop receiving emails from it,
send an
email to opendatakit...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--

Post: opend...@googlegroups.com
Unsubscribe: opendatakit...@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en


You received this message because you are subscribed to the Google
Groups "ODK Community" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to opendatakit...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--

Post: opend...@googlegroups.com
Unsubscribe: opendatakit...@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en


You received this message because you are subscribed to the Google Groups
"ODK Community" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to opendatakit...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
Mitch Sundt
Software Engineer
University of Washington
mitche...@gmail.com

--

Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en


You received this message because you are subscribed to the Google Groups
"ODK Community" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to opendatakit+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

This value has a well-defined order-of-preference:

(1) IMEI if available
(2) MAC if available
(3) Android ID as a final fall-back.

The Android ID has known bugs / flaws:

··· On Sat, Jun 28, 2014 at 5:19 PM, Yaw Anokwa wrote:

Koen,

On my Nexus, even if WiFi is off, I can still get the MAC address. My
guess is that this is a problem that is specific to the Acer Iconia
B1.

There is no support for forcing one type of Device ID, but feel free
to file a feature request at
https://code.google.com/p/opendatakit/issues/list.

As a workaround, maybe add a question that asks enumerators to enter
their enumerator ID. Or maybe have them create Google accounts and add
a uri:email question (See http://opendatakit.org/help/form-design).

Yaw

Need ODK services? http://nafundi.com provides form design, server
setup, professional support, and software development for ODK.

On Sat, Jun 28, 2014 at 2:02 AM, Koen koen.leuveld@gmail.com wrote:

Thanks all, it must be that sometimes the MAC address is stored, and
sometimes the Android ID.

I've been trying to get different device ID from different forms, but
obviously this has failed so far to get it to show up on purpose. So I've
been going back through all my device data to find one that has been used
extensively. In a classroom setting, which would have wi-fi access if
there
was power at the time, this device id was assigned: 98:ff:d0:4b:6d:c0.
This
looks like a MAC address to my untrained eye. When the same device was
taken
to the field (no wi-fi) it displays 4596fce2ce7f7a5d, which seems like it
could be an Android ID.

Is there any way to force which number is being stored? In general, my
guys
shouldn't be near any wi-fi hotspot when doing their work, but I'd
rather be
100% sure.

Koen

On Friday, June 27, 2014 5:42:18 PM UTC+2, Mitch Sundt wrote:

Echoing Chris...

Is this for both forms under the same conditions? i.e., same wifi
connectivity, same cellular reception, etc?

If so, for a given tablet, what ids are you seeing? Is it IMEI, MAC, or
AndroidID?

You can change the deviceid jr:preloadParams to uri:deviceid and it will
prefix the id value with the designator of which one is being used.

http://opendatakit.org/help/form-design/examples/#Property_values

On Fri, Jun 27, 2014 at 8:36 AM, Christopher Robert < cro...@surveycto.com> wrote:

Koen,

This would be extraordinary behavior for any device and I think that
people may be having a hard time quite believing it. You might want to
triple-check to make sure that you're not being confused by data from
multiple devices, old data, etc. Then, you might do some work to try to
figure out from where these various device ID's are coming. Perhaps
you are

getting the Wifi MAC address when connected to Wifi but the IMEI when
not?

You should be able to look deeply into the ID's you're getting to
figure out

how your device is behaving.

Best,

Chris

On Fri, Jun 27, 2014 at 11:29 AM, Koen koen.l...@gmail.com wrote:

Hi,

Sorry if I wasn't clear. Kind of stressed out, and it shows from the
messages I've been typing here. But anyway: from your message it
seems that

if I fill in two different forms on the same tablet, I should get the
same

Device ID, right? Well, I get a different deviceid for different
forms, on

the same tablet. This is not the behaviour I anticipated.

Koen

On Friday, June 27, 2014 4:08:45 PM UTC+2, Yaw Anokwa wrote:

Koen,

Device ID reports either the cellular IMEI, WiFi MAC address, or
Android ID (a unique identifier assigned by the operating system).
What gets reported depends on the device.

Your email doesn't really explain what the problem is, so the more
details you can provide, the better.

Yaw

Need ODK services? http://nafundi.com provides form design, server
setup, professional support, and software development for ODK.

On Fri, Jun 27, 2014 at 2:37 AM, Koen koen.l...@gmail.com wrote:

Hmmm... this is what I am using, and I am certain I've got devices
with
different deviceids in different forms.

I am using ODK 1.4.3 on Acer Iconia B1 tablets running Android
4.1.2

by the
way.

On Thursday, June 26, 2014 3:48:19 PM UTC+2, Yaw Anokwa wrote:

Yes, this is the same.

Yaw

Need ODK services? http://nafundi.com provides form design,
server

setup, professional support, and software development for ODK.

On Thu, Jun 26, 2014 at 5:29 AM, Koen koen.l...@gmail.com wrote:

Thanks.

Would/should this not be exactly the same as the "deviceid" type
in
XLSForm?

On Thursday, June 26, 2014 12:15:35 PM UTC+2, Ayub wrote:

Try this bind for

This consistently gives me same id for any number of forms.
i.e.

device
imei number.

--

Post: opend...@googlegroups.com
Unsubscribe: opendatakit...@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en


You received this message because you are subscribed to the
Google

Groups
"ODK Community" group.
To unsubscribe from this group and stop receiving emails from
it,

send
an
email to opendatakit...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--

Post: opend...@googlegroups.com
Unsubscribe: opendatakit...@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en


You received this message because you are subscribed to the Google
Groups
"ODK Community" group.
To unsubscribe from this group and stop receiving emails from it,
send an
email to opendatakit...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--

Post: opend...@googlegroups.com
Unsubscribe: opendatakit...@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en


You received this message because you are subscribed to the Google
Groups "ODK Community" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to opendatakit...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--

Post: opend...@googlegroups.com
Unsubscribe: opendatakit...@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en


You received this message because you are subscribed to the Google
Groups

"ODK Community" group.
To unsubscribe from this group and stop receiving emails from it, send
an

email to opendatakit...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
Mitch Sundt
Software Engineer
University of Washington
mitche...@gmail.com

--

Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en


You received this message because you are subscribed to the Google Groups
"ODK Community" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to opendatakit+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--

Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en


You received this message because you are subscribed to the Google Groups
"ODK Community" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to opendatakit+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
Mitch Sundt
Software Engineer
University of Washington
mitchellsundt@gmail.com