All Products
Search
Document Center

Access Android

Last Updated: May 25, 2021

The Device ID component can be integrated to the mPaaS in the native AAR mode, the mPaaS Inside mode, and the component-based mode.

Before you begin

Add the SDK

Native AAR mode

In your project, install the Device ID component on the Component Management (AAR) page. For more information, see AAR component management.

mPaaS Inside mode

In your project, install the Device ID component on the Component Management page.
For more information, see Manage component dependencies.

Component-based mode

In your Portal and Bundle projects, install the Device ID component on the Component Management page.
For more information, see Manage component dependencies.

Obtain device ID

 
  1. UTDevice
  2. /**
  3. * Obtain the unique device ID.
  4. *
  5. *
  6. * @return Unique device ID
  7. */
  8. public static String getUtdid(Context context);