简体   繁体   中英

In MIT App inventor Application how to get the device id

Is there any way to get device Id using MIT App inventor?

I am using Activity starter from other stuff and setting properties like this:

  • Action: android.intent.action.ACTION_MAIN
  • Activity Class: TelephonyManager
  • Activity Package: android.telephony

Is this the correct process for getting the device id?

as Gary already mentioned, this is currently not possible with AI

However, you can identify a user with OAuth, see an example here http://puravidaapps.com/taifunOA.php . 但是,您可以使用OAuth标识用户,请参阅http://puravidaapps.com/taifunOA.php上的示例。 The user can authorize the app to get his email address for identification.

UPDATE : now with the new Extension feature, you can use an extension to get this information, see also my answer here .

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