How to obtain a device ID when creating an Application and Device Policy