为了在 android sdk 中获取设备 ID,我编写了简单的这段代码::
import android.provider.Settings.Secure;
private String android_id = Secure.getString(getContext().getContentResolver(),
Secure.ANDROID_ID);
但我在 Adobe air
应用程序中需要它。我该怎么做?
最佳答案
您现在可以在除 TV 以外的其他平台上使用 AIR 3.0 上的 Native Extensions。
关于android - 在 Adobe Air 中获取设备 ID,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/7979300/