**** BEGIN LOGGING AT Sat Feb 02 02:59:57 2008 Feb 02 03:31:53 is there a simple way to determine a user's XMPP username? Feb 02 03:54:39 is there a unique identifier that can be used to identify a phone? Feb 02 05:05:06 anyone here familiar with the xmpp functionality? Feb 02 05:44:41 any google employees present? Feb 02 07:17:13 howdy Feb 02 08:07:06 nsfx: yes? Feb 02 23:11:26 does anybody know of any sort of identifier can be used to uniquely identify a user or phone? Feb 02 23:23:45 Garett: well you always got IMEI, but that follows the phone not the user. Feb 02 23:24:36 not sure if every type of phone has it either. wikipedia says it is GSM and UMTS. Feb 02 23:25:35 hmm Feb 02 23:25:42 what about a unique application id? Feb 02 23:26:34 i see you can do a getUniqueId as seen here: http://code.google.com/android/reference/android/database/sqlite/SQLiteProgram.html Feb 02 23:26:50 but woudl that be unique for the application, but common for all instances of that application? Feb 02 23:27:03 it would be ok if it was always different for every instance of an app Feb 02 23:31:16 hmm, it could mean both I guess Feb 02 23:31:17 doesn't look like we have access to information on the SIM Feb 02 23:31:27 so the IMEI idea is out Feb 02 23:31:46 generally the IMEI is exposed in other ways Feb 02 23:31:56 in J2ME it's via system properties Feb 02 23:32:03 hmm Feb 02 23:32:20 the emulator probably doesn't have anything like that atm Feb 02 23:32:59 the bets way to identify a user i guess is by their XMPP username, but that is only available if they specify it... it doesn't help for users who havent' set that up yet Feb 02 23:33:46 it would be really nice to identify them too if possible Feb 02 23:33:51 gonna have to wait for dna scanning ;) Feb 02 23:33:56 heh Feb 02 23:34:53 do you have a basis for thinking that the phone's user will change? Feb 02 23:35:45 ya... that's definitely a possiblity -- and that's hwy the XMPP thing is the best solution Feb 02 23:35:59 anything like what? Feb 02 23:36:06 and an IMEI thing would work well too in those situations Feb 02 23:36:16 because that's on the SIM card that usually follows the owner Feb 02 23:36:29 isn't it a phone thing, not a sim thing? Feb 02 23:36:46 i thought it was stored on the sim? Feb 02 23:36:47 so that they can still talk to the phone even if it gets stolen/the sim swapped out Feb 02 23:37:04 hmm Feb 02 23:37:20 i guess i should do some more research Feb 02 23:38:39 can we get the users phone number? Feb 02 23:39:12 that's a network service Feb 02 23:39:15 so... sometimes Feb 02 23:39:47 android.os.SystemProperties.get(android.telephony.TelephonyProperties.PROPERTY_LINE1_NUMBER); Feb 02 23:40:25 set number [sysprops get [telprops -field PROPERTY_LINE1_NUMBER]] Feb 02 23:40:41 sleep time Feb 02 23:41:53 ok.. this might work ok for users who haven't set up their Feb 02 23:41:56 xmpp address **** ENDING LOGGING AT Sun Feb 03 02:59:56 2008