forked from vieux/OpenUDID
-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
34 lines (29 loc) · 1.58 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
_/_/ _/ _/ _/_/_/ _/_/_/ _/_/_/
_/ _/ _/_/_/ _/_/ _/_/_/ _/ _/ _/ _/ _/ _/ _/
_/ _/ _/ _/ _/_/_/_/ _/ _/ _/ _/ _/ _/ _/ _/ _/
_/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/
_/_/ _/_/_/ _/_/_/ _/ _/ _/_/ _/_/_/ _/_/_/ _/_/_/
_/
_/
// Created by Victor Vieux on 9/9/11.
// Copyright 2011 OpenUDID.org
//
// iOS / MacOS code: https://github.com/ylechelle/OpenUDID
// Android code: https://github.com/vieux/OpenUDID
//
// Contributors:
// https://github.com/ylechelle (initiator & iOS code)
// https://github.com/samrobbins (Mac OS port)
// https://github.com/vieux (Android version)
Synopsis: an open source project to provide a universal and persistent
Unique Device IDentifier (UDID) solution for Android
Usage:
* Add this to your manifest:
<service android:name="org.openudid.OpenUDID_service">
<intent-filter>
<action android:name="org.openudid.GETUDID" />
</intent-filter>
</service>
* Call `void OpenUDID_manager.sync(Context yourContext);` to initialize the OpenUDID
* Call `boolean OpenUDID_manager.isInitialized();` to check if the initialization is over (it's asynchronous)
* Call `String OpenUDID_manager.getOpenUDID();` to retrieve your OpenUDID