What did you use to get the MAC, when I tried it on my Droid (gen 1)
with the wifi off I get a NullPointerException

On Feb 15, 4:48 pm, Oceanblue <[email protected]> wrote:
> Thanks for your input Brad.
>
> I've decided to go with MAC address for now. I tested with my device
> with wi-fi switched off & in Airplane mode & I was able to retrieve
> the MAC address (using Android API) in both cases. Hope this is the
> right choice.
>
> On Feb 15, 12:19 pm, Brad McNeiL <[email protected]> wrote:
>
> > Just a note if you choose to use the IMEI/MEID - On some HTC devices,
> > if the device is put in to the Airplane mode, switched off (while
> > taking a flight scenario), and then if the device is powered back on,
> > and then taken out of the Airplane mode. This might seem like a very
> > normal thing to do.
>
> > However, if you check the settings for the IMEI/MEID it comes up as 'N/
> > A'. :( This applies to retrieving it via the API as well.
>
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to