we are developing the application using the .Net webservice(soap protocal) for that i need Pass GUID from android class.
in .Net we have statement like below Guid myGuid1 = new Guid();
i need the similar functionality in Android , is there any way to make this kind of functionality in android code?
Regards, Jeyavel N
A class that represents an immutable universally unique identifier (UUID). A UUID represents a 128-bit value. There exist different variants of these global identifiers.
Originally Answered: How can I know the uuid of my device? 1- Enter *#*#8255#*#* in your phone dialer, you'll be shown your device ID (as 'aid') in GTalk Service Monitor. m. 2- Another way to find the ID is by going to the Menu >Settings > About Phone > Status.
A GUID (globally unique identifier) is a 128-bit text string that represents an identification (ID). Organizations generate GUIDs when a unique reference number is needed to identify information on a computer or network. A GUID can be used to ID hardware, software, accounts, documents and other items.
Yes you should use UUID like the following code:
String uniqueID = UUID.randomUUID().toString();
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With