I’m probably missing something, but I can’t find in the API anything on how the deviceid is set for a particular device.
Best
Jørn
____________________________________________________________________________
Jorn Klungsoyr
openXdata - Centre for International Health, University of Bergen, Norway
www.openxdata.org / www.cih.uib.no / www.openrosa.org / www.open-mobile.org
Mobile: +4791365731, Skype/GoogleTalk: jornklung Alternative email: jorn.kl...@gmail.com
Post: Postboks 7800, 5020 Bergen, Visit: Årstadveien 21, 5th Floor, Bergen
------¤¤¤¤------
From: openrosa-...@googlegroups.com [mailto:openrosa-...@googlegroups.com] On Behalf Of Anton de Winter
Sent: Thursday, December 08, 2011 9:15 PM
To: openrosa-...@googlegroups.com
Subject: Re: Removing trailing slash from xmlns URL...
+1
On Thu, Dec 8, 2011 at 2:25 PM, Yaw Anokwa <yan...@gmail.com> wrote:
+1. i'm anti-trailing slashes.
On Thu, Dec 8, 2011 at 11:24, Jonathan Jackson <jjac...@dimagi.com> wrote:
> +1
>
>
>
> On Thu, Dec 8, 2011 at 2:20 PM, Mitch S <mitche...@gmail.com> wrote:
>>
>> I just noticed that there is a trailing slash on the xmlns URL specified
>> in the Metadata document.
>>
>> This is inconsistent with normal usage (I don't know any xmlns URLs that
>> end in slash).
>>
>> I would like to removed it.
>>
>> Any objections?
>>
>> --
>> Mitch Sundt
>> Software Engineer
>> University of Washington
>> mitche...@gmail.com
>
>
--
Anton de Winter
529 Main St
Charlestown, MA
02129
> related: device id formatting
> https://bitbucket.org/javarosa/javarosa/wiki/OpenRosaMetaDataSchema
Just wanted to chime in here and mention what we're using for Group
Complete.
Basically the whole notion of device IDs gets very screwy with Android
because there's very little that can be depended on. To work around
that and to ensure a more-or-less unique ID we use a UUID created from
the combination of the telephony device ID, telephony SIM serial number
and Android ID.
This gives us a fingerprint that looks like something like
00000000-1039-bc6c-ffff-ffff99d603a9
It's fugly but it works and is better than relying on just one piece of
information that might not be supplied, unique or reliable.
Cheers,
Matt
--
Matt Adams
Radical Dynamic
www.radicaldynamic.com