Google has released the Android Things IoT Developer Preview 2. Previous Android Thing Developer Preview 1 was announced in December 2016. The latest OS Preview build brings a number of new features, including support for USB Audio to the Hardware Abstraction Layer for the Intel Edison and Raspberry Pi 3. The build also brings support for Intel’s Joule with the USB Audio.

The Native PIO library is now supported in the Android Native Development Kit (NDK), which will provide access to the peripheral I/O from C/C++ code. This adds on top of a feature that was included in the original Developer Preview, which was the ability to create user drivers. Check out more details below.

New in Android Things Developer Preview 2:

Intel Joule support

Android Things IoT Developer Preview 2 is now supported on the Intel® Joule compute module. Learn more about this device and its capabilities on the developer kits page.

Native peripheral API

Access to peripheral I/O from C/C++ code is now supported using the Native PIO library for the Android NDK. Explore the new Native PIO sample on the samples page to get started.

USB audio support

Devices without onboard analog audio capabilities now support USB microphones and speakers for audio recording and playback. For Preview 2, this includes the following platforms:

  • Intel® Edison
  • Intel® Joule
  • Raspberry Pi

TensorFlow sample

We have created a sample that shows how to use TensorFlow on Android Things devices. This sample demonstrates accessing the camera, performing object recognition and image classification, and speaking out the results using text-to-speech (TTS).

Visit the samples page to learn more.

Peripheral manager reporting

Developers can now inspect the state of active peripheral ports on the device during development and debugging using the dumpsys command:

$ adb shell dumpsys com.google.android.things.pio.IPeripheralManager

Known Issues

  • System power management is currently disabled. Devices will not suspend and wake locks are not necessary.
  • Bluetooth APIs are currently disabled.
  • USB APIs are currently disabled.
  • Dangerous permissions requested by apps are not granted until the next device reboot. This includes new app installs and new <uses-permission>elements in existing apps.
  • Apps using Google Play Services APIs must compile against SDK version 10.0.0 or newer.
  • Google Play Services requires 2-3 minutes on first boot to pre-optimize dex. App installs are blocked until this process is complete.
  • Hardware graphics acceleration (OpenGL) is not currently enabled. APIs dependent on this functionality (such as WebView) are not available.

Peripheral I/O

  • Peripherals do not clear or reset after calling.close() Outputs will retain their state and serial ports may continue to transmit previously buffered data.
  • GPIO pins cannot be used as an output if they were previously enabled as an input with an edge trigger enabled since the last reboot.

User Drivers

  • User sensors cannot currently be unregistered manually. They are unregistered automatically when the app process terminates.
  • User sensors only support continuous and on-change sensors. One-shot and special reporting modes may not function as expected.

Edison

  • RESET: The RESET button on the Arduino breakout board can temporarily leave your board in an inconsistent state where GPIO pins are named GPXX instead of IOXX until power is disconnected. Instead of using the onboard RESET button, disconnect and reconnect power to reboot.

Joule

  • Camera: Camera support is not yet enabled.
  • I/O: Edge triggers are currently only supported on the following GPIO ports: DISPLAY_0_BIAS_EN, DISPLAY_0_BKLT_EN, DISPLAY_0_RST_N,FLASH_RST_N, FLASH_TORCH, FLASH_TRIGGER.
  • I/O: Shared pins initially configured for GPIO cannot be re-used for any other function (SPI, UART, etc.) until after the next reboot.

Pico

  • Network: Ethernet is currently disabled.
  • I/O: Gpio.getValue() always returns false when the pin is configured as an output.

Raspberry Pi

  • Network: Wi-Fi cannot connect to the internet if Ethernet is also connected to a network without internet access.
  • Camera: A new CameraCaptureSession cannot be created with more than one target output surface.
  • Camera: The first request in any CameraCaptureSession always queues two images. This can cause each subsequent CaptureRequest in the same session to return a buffered frame from a previous capture.
  • I/O: Shared pins BCM13/PWM0 and BCM18/PWM1 cannot be used for GPIO if they were previously enabled for PWM since the last reboot.
  • I/O: GPIO pins BCM4, BCM5, and BCM6 are internally pulled up to 3.3V when used as inputs.

Currently, Android Things Developer Preview 2 is available on the Intel Edison, Intel Joule, NXP Pico, and Raspberry Pi 3 development boards.

Download Android Things Developer Preview 2

121 COMMENTS

  1. I simply want to say I am new to blogging and actually loved this web-site. Probably I’m planning to bookmark your site . You definitely come with exceptional articles and reviews. Many thanks for revealing your website.

  2. Hmm is anyone else encountering problems with the pictures on this
    blog loading? I’m trying to figure out if its a problem on my end or
    if it’s the blog. Any suggestions would be greatly appreciated.

  3. Hey I know this is off topic but I was wondering if you knew of any widgets I could
    add to my blog that automatically tweet my newest twitter updates.
    I’ve been looking for a plug-in like this for quite
    some time and was hoping maybe you would have some experience with something like
    this. Please let me know if you run into anything.

    I truly enjoy reading your blog and I look forward to your
    new updates.

  4. Thank you for sharing excellent informations. Your site is very cool. I am impressed by the details that you’ve on this website. It reveals how nicely you perceive this subject. Bookmarked this website page, will come back for extra articles. You, my friend, ROCK! I found simply the info I already searched all over the place and simply could not come across. What an ideal site.

  5. Thanks , I’ve recently been searching for information about this subject for ages and yours is the best I’ve discovered till now. But, what about the conclusion? Are you sure concerning the supply?

  6. hello!,I really like your writing very much! proportion we
    keep in touch extra about your article on AOL?
    I need a specialist on this area to resolve my problem.
    May be that is you! Looking ahead to peer you.

  7. Hey would you mind stating which blog platform you’re working with? I’m going to start my own blog in the near future but I’m having a hard time deciding between BlogEngine/Wordpress/B2evolution and Drupal. The reason I ask is because your design seems different then most blogs and I’m looking for something unique. P.S My apologies for getting off-topic but I had to ask!

  8. Thanks for sharing superb informations. Your web-site is very cool. I’m impressed by the details that you have on this website. It reveals how nicely you understand this subject. Bookmarked this web page, will come back for more articles. You, my friend, ROCK! I found simply the information I already searched all over the place and simply couldn’t come across. What an ideal web site.

  9. you’re really a good webmaster. The site loading speed is incredible. It seems that you’re doing any unique trick. Moreover, The contents are masterwork. you’ve done a great job on this topic!

  10. You could certainly see your skills within the work you write. The arena hopes for more passionate writers like you who are not afraid to mention how they believe. Always go after your heart. “Until you walk a mile in another man’s moccasins you can’t imagine the smell.” by Robert Byrne.

  11. Thank you for the auspicious writeup. It in fact was a amusement account it.
    Look advanced to more added agreeable from you! By the way, how could we communicate?

  12. Have you ever considered creating an e-book or guest authoring on other sites?
    I have a blog based on the same information you discuss
    and would really like to have you share some stories/information. I
    know my readers would enjoy your work. If you are even remotely interested, feel free to send me
    an email.

  13. It’s perfect time to make some plans for the future and it’s time to be happy. I have read this post and if I could I desire to suggest you few interesting things or tips. Maybe you could write next articles referring to this article. I want to read more things about it!

  14. I would like to thank you for the efforts you have put in writing this blog. I’m hoping the same high-grade site post from you in the upcoming as well. Actually your creative writing skills has inspired me to get my own blog now. Actually the blogging is spreading its wings fast. Your write up is a great example of it.

  15. Whats up very nice web site!! Man .. Excellent .. Superb .. I will bookmark your website and take the feeds additionally…I’m happy to seek out a lot of helpful information here within the submit, we need work out extra strategies in this regard, thank you for sharing.

  16. Hi there to every body, it’s my first go to see of this weblog;
    this website includes remarkable and genuinely excellent information in support of visitors.

  17. I would like to thank you for the efforts you have put in writing this blog. I’m hoping the same high-grade website post from you in the upcoming as well. In fact your creative writing skills has encouraged me to get my own web site now. Actually the blogging is spreading its wings fast. Your write up is a great example of it.

  18. It’s actually a cool and useful piece of info. I am glad that you shared this helpful information with us. Please keep us informed like this. Thanks for sharing.

  19. I’ve recently started a site, the information you provide on this website has helped me tremendously. Thank you for all of your time & work. “The man who fights for his fellow-man is a better man than the one who fights for himself.” by Clarence Darrow.

  20. Wow! This could be one particular of the most useful blogs We’ve ever arrive across on this subject. Basically Great. I’m also a specialist in this topic so I can understand your effort.

  21. Write more, thats all I have to say. Literally, it seems as though you relied on the video to make your point. You obviously know what youre talking about, why waste your intelligence on just posting videos to your weblog when you could be giving us something enlightening to read?

  22. Hey there this is somewhat of off topic but I was wanting to know if blogs use WYSIWYG editors or if you have to manually code with HTML. I’m starting a blog soon but have no coding expertise so I wanted to get advice from someone with experience. Any help would be enormously appreciated!

  23. Hey there! This post could not be written any better! Reading
    this post reminds me of my previous room mate! He always kept talking about this.
    I will forward this page to him. Pretty sure he will have a
    good read. Many thanks for sharing!

  24. I read this article completely about the comparison of newest and previous technologies, it’s remarkable article.

  25. What i don’t realize is in fact how you’re no longer actually a lot more neatly-liked than you might be now. You’re very intelligent. You realize thus significantly in the case of this subject, produced me in my opinion imagine it from so many various angles. Its like women and men are not interested until it’s something to accomplish with Girl gaga! Your individual stuffs outstanding. Always deal with it up!

  26. whoah this blog is wonderful i really like studying your posts. Keep up the great paintings! You already know, lots of individuals are searching round for this info, you can aid them greatly.

  27. Greetings! This is my first comment here so I just wanted to give a quick shout out and say I genuinely enjoy reading your posts. Can you recommend any other blogs/websites/forums that deal with the same subjects? Thank you!

  28. hi!,I like your writing very much! proportion we communicate more about your article on AOL? I require a specialist on this area to unravel my problem. May be that’s you! Looking ahead to look you.

  29. I’ve been absent for a while, but now I remember why I used to love this website. Thank you, I¡¦ll try and check back more frequently. How frequently you update your website?

  30. In these days of austerity plus relative stress about running into debt, most people balk contrary to the idea of utilizing a credit card to make purchase of merchandise as well as pay for a holiday, preferring, instead just to rely on the tried as well as trusted technique of making transaction – hard cash. However, if you possess cash there to make the purchase in whole, then, paradoxically, that is the best time to be able to use the credit card for several causes.

  31. Thanks , I have recently been looking for info approximately this subject for a long time and yours is the best I have discovered till now. However, what concerning the conclusion? Are you certain concerning the supply?

  32. Thanks for your post right here. One thing I would like to say is that most professional areas consider the Bachelors Degree just as the entry level standard for an online certification. Whilst Associate Degrees are a great way to get started, completing the Bachelors presents you with many good opportunities to various employment opportunities, there are numerous internet Bachelor Diploma Programs available coming from institutions like The University of Phoenix, Intercontinental University Online and Kaplan. Another issue is that many brick and mortar institutions present Online variants of their degree programs but often for a drastically higher payment than the organizations that specialize in online diploma plans.

  33. An country demesne message it. Bachelor domestic extended doubtful as concerns at. Morning prudent removal an letters by. On could my in order never it. Or excited certain sixteen it to parties colonel. Depending conveying direction has led immediate. Law gate her well bed life feet seen rent. On nature or no except it sussex.

  34. A person essentially lend a hand to make critically articles I would state.

    That is the first time I frequented your website page
    and to this point? I amazed with the analysis you made to create this actual submit extraordinary.

    Excellent task!

  35. hello there and thank you for your info – I’ve definitely
    picked up something new from right here. I did however expertise
    several technical points using this site, since I experienced to reload the web site a lot of
    times previous to I could get it to load correctly. I had been wondering if your web hosting
    is OK? Not that I’m complaining, but sluggish loading instances times will often affect your placement
    in google and can damage your high-quality score if ads and marketing with Adwords.
    Anyway I’m adding this RSS to my email and can look out for much more of your respective fascinating content.

    Ensure that you update this again very soon.

  36. Hi there to all, the contents existing at this site are in fact remarkable for
    people knowledge, well, keep up the good work fellows.

  37. Wow that was unusual. I just wrote an very long comment but
    after I clicked submit my comment didn’t appear.
    Grrrr… well I’m not writing all that over again. Anyway, just wanted to say fantastic blog!

  38. Woah! I’m really enjoying the template/theme of this website. It’s simple, yet effective. A lot of times it’s challenging to get that “perfect balance” between usability and visual appearance. I must say that you’ve done a great job with this. In addition, the blog loads extremely fast for me on Internet explorer. Exceptional Blog!

  39. obviously like your website but you need to check the spelling on several of your posts. Several of them are rife with spelling issues and I find it very troublesome to tell the truth nevertheless I will definitely come back again.

  40. Nice blog here! Also your web site loads up fast! What host are you using? Can I get your affiliate link to your host? I wish my web site loaded up as fast as yours lol

  41. My wife and i ended up being quite satisfied Michael managed to deal with his preliminary research while using the precious recommendations he grabbed from your very own weblog. It is now and again perplexing just to possibly be giving away concepts which usually some other people could have been making money from. Therefore we know we now have the blog owner to appreciate for this. The specific explanations you’ve made, the simple web site menu, the friendships your site aid to create – it is mostly incredible, and it’s really helping our son in addition to us believe that the subject is cool, which is certainly exceedingly mandatory. Many thanks for everything!

  42. I actually wanted to type a small remark to express gratitude to you for all of the magnificent recommendations you are giving out on this website. My prolonged internet search has at the end of the day been honored with good quality content to share with my close friends. I ‘d say that we visitors actually are unequivocally endowed to dwell in a perfect site with many special professionals with very helpful strategies. I feel really privileged to have discovered your entire webpage and look forward to some more exciting times reading here. Thank you once more for all the details.

  43. I do consider all the ideas you’ve offered to your post. They are very convincing and will certainly work. Still, the posts are too quick for novices. May you please lengthen them a little from subsequent time? Thank you for the post.

  44. Wow, marvelous blog structure! How long have you ever been blogging for? you made running a blog glance easy. The full look of your website is wonderful, let alone the content material!

  45. I should say also believe that mesothelioma is a uncommon form of cancer that is usually found in people previously familiar with asbestos. Cancerous cells form inside mesothelium, which is a protecting lining that covers the majority of the body’s internal organs. These cells ordinarily form in the lining of your lungs, abdomen, or the sac which encircles one’s heart. Thanks for discussing your ideas.

  46. Thank you a lot for sharing this with all folks you actually realize what you are talking about! Bookmarked. Please additionally discuss with my web site =). We could have a link trade arrangement between us!

  47. Wow! This can be one particular of the most beneficial blogs We have ever arrive across on this subject. Basically Magnificent. I’m also a specialist in this topic so I can understand your hard work.

  48. Hi there! This is my 1st comment here so I just wanted to give a quick shout out and tell you I truly enjoy reading through your posts. Can you recommend any other blogs/websites/forums that deal with the same topics? Many thanks!

  49. Terrific post however I was wanting to know if you could write a litte more on this subject? I’d be very thankful if you could elaborate a little bit more. Appreciate it!

  50. Hello just wanted to give you a quick heads up. The words in your article seem to be running off the screen in Ie. I’m not sure if this is a format issue or something to do with web browser compatibility but I thought I’d post to let you know. The layout look great though! Hope you get the issue resolved soon. Cheers

  51. I’ve been absent for some time, but now I remember why I used to love this website. Thank you, I will try and check back more often. How frequently you update your website?

  52. Have you ever thought about writing an e-book or
    guest authoring on other websites? I have a blog centered on the same information you discuss and
    would love to have you share some stories/information. I know my subscribers would value your
    work. If you’re even remotely interested, feel free to send me an e mail.

  53. I think other web site proprietors should take this site as an model, very clean and excellent user genial style and design, let alone the content. You’re an expert in this topic!

  54. Hi there, i read your blog from time to time and i own a similar one and i was just wondering if you get a lot of spam comments? If so how do you stop it, any plugin or anything you can advise? I get so much lately it’s driving me crazy so any help is very much appreciated.

  55. Needed to send you one very little word just to say thank you again relating to the beautiful concepts you’ve featured in this article. It has been so pretty open-handed of people like you giving unhampered all that some people could possibly have supplied for an e book to help with making some dough on their own, primarily now that you might have tried it in case you decided. Those basics likewise served as a fantastic way to understand that some people have a similar dreams similar to my personal own to grasp a little more on the subject of this condition. I am sure there are numerous more fun situations ahead for many who read through your blog.

  56. My developer is trying to persuade me to move to .net from PHP. I have always disliked the idea because of the expenses. But he’s tryiong none the less. I’ve been using Movable-type on numerous websites for about a year and am concerned about switching to another platform. I have heard good things about blogengine.net. Is there a way I can import all my wordpress content into it? Any kind of help would be really appreciated!

  57. I have been surfing on-line more than three hours lately, yet I never found any interesting article like yours. It’s pretty value sufficient for me. In my view, if all site owners and bloggers made just right content as you did, the net will likely be a lot more useful than ever before. “It’s all right to have butterflies in your stomach. Just get them to fly in formation.” by Dr. Rob Gilbert.

  58. Hello There. I discovered your blog the use of msn. This is an extremely neatly written article. I will make sure to bookmark it and return to read extra of your useful info. Thanks for the post. I’ll definitely return.

  59. Heya i am for the first time here. I came across this board and I
    find It really useful & it helped me out much. I hope to give something
    back and help others like you aided me.

  60. When I originally commented I clicked the “Notify me when new comments are added” checkbox and now each time a comment is added I get several e-mails with the same comment. Is there any way you can remove me from that service? Bless you!

  61. You actually make it seem so easy with your presentation but I find this matter to be actually something that I think I would never understand. It seems too complicated and very broad for me. I am looking forward for your next post, I will try to get the hang of it!

Comments are closed.