I'll answer my own question. I was able to copy a file containing the device specific Id to share using adb push /storage/emulated/0/Android/data/[YOURPACKAGENAME]/files/id.txt
Then to read it using *Java File* and *BufferedReader* from the Android things app. Le lundi 30 janvier 2017 14:54:30 UTC+1, Nicolas Mecozzi a écrit : > > Hi, > I would like to share an Id which is different from a RaspBerry 3 to > another. It would be preferable that de RaspBerry devices not to be > connected to the internet. > I checked Firebase remote config but it seems impossible to configure > every single RaspBerry independently from the Firebase console (limited > audience parameters don't include data like Android device unique Id). > Is there a way I could store a file containing this Id on the raspberry so > it can read it and share it using nearby at startup time ? > > Thanks > > Nicolas > > -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/android-developers. To view this discussion on the web visit https://groups.google.com/d/msgid/android-developers/91a793f2-c435-4f80-9c79-2f7963683ffd%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

