简体   繁体   中英

Retrieving Android_Id on the moment user installs the app

how can i retrieve some data(for eg.Android ID) in android app on the moment user installs the app.In other words,i want to save Adnroid_ID even when user haven't even opened the app. Thanks in advance. PS I already have the code for retrieving Android_ID(No need for that)

Check out this answer which answers a similar query How to start a Service when .apk is Installed for the first time

In short, it is not possible to do anything till the app is started.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM