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
Yes you should use UUID like the following code:
String uniqueID = UUID.randomUUID().toString();
You can use the java.util.UUID class.
We can use
String uniqueID = UUID.randomUUID().toString();
An Instance ID or a GUID is scoped to the app that creates it, which prevents it from being used to track users across apps.For more information and significance please refer this link here
You will get UUID in Android,
UUID uuid = UUID.randomUUID();
String uuidInString = uuid.toString();