Hi, Quick question: (I've already submitted to adc2)
I log in to my server using a username that I derive from either the sim card's line1number from the TelephonyManager.getLine1Number() or if that is null then the device id from Settings.Secure.getString (getContentResolver(), Settings.Secure.ANDROID_ID); Ok, now everything seemed fine till one of my testers logged in with a blank string id! I've assumed its a special case with the sim card and hence have added a check for userId.trim().equals("") to switch to grabbing to device id, but this is going to keep me up at night because I haven't been able to replicate it and it could potentially knock me out of the competition (people can't log in!). Has anyone encountered something like this before? Cheers and goodluck in adc2! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---