Showing posts with label Android Things. Show all posts
Showing posts with label Android Things. Show all posts

Tuesday, October 23, 2018

Iot Developer Story: Deeplocal

Posted past times Dave Smith, Developer Advocate for IoT

Deeplocal is a Pittsburgh-based innovation studio that makes inventions every bit marketing to assistance the world's nearly loved brands say their stories. The squad at Deeplocal built several fun in addition to engaging robotics projects using Android Things. Leveraging the developer ecosystem surrounding the Android platform in addition to the compute ability of Android Things hardware, they were able to chop-chop in addition to easily create robots powered past times reckoner vision in addition to machine learning.

DrawBot

DrawBot is a DIY drawing robot that transforms your selfies into physical industrial plant of art.

"The Android Things platform helped us motion chop-chop from an idea, to prototype, to concluding product. Switching from proper substantive upwards apps to embedded code was slow inwards Android Studio, in addition to nosotros were able to line inwards OpenCV modules, motor drivers, in addition to other libraries every bit needed. The concluding version of our paradigm was created ii weeks later on unboxing our laid about Android Things developer kit."

- Brian Bourgeois, Producer, Deeplocal

Want to construct your ain DrawBot? See the Hackster.io project for all the origin code, schematics, in addition to 3D models.

HandBot

Influenza A virus subtype H5N1 robotic manus that learns in addition to reacts to manus gestures, HandBot visually recognizes gestures in addition to applies machine learning.

"The Android Things platform made integration endure for Handbot a breeze. Using TensorFlow, nosotros were able to educate a neural network to recognize manus gestures. Once this was created, nosotros were able to role Android Things drivers to implement games inwards easy-to-read Android code. In a affair of weeks, nosotros went from a fresh developer kit to competing against a robot manus inwards Rock, Paper, Scissors."

- Mike Derrick, Software Engineer, Deeplocal

Want to construct your ain HandBot? See the Hackster.io project for all the origin code, schematics, in addition to 3D models.

Visit the Google Hackster community to explore to a greater extent than inspiring ideas only similar these, in addition to bring together Google's IoT Developers Community on Google+ to acquire the latest platform updates, enquire questions, in addition to hash out ideas.

Sunday, October 21, 2018

Android Things Developer Preview 7

Android Things Developer Preview 7

Posted yesteryear Dave Smith, Developer Advocate for IoT

Today we're releasing Developer Preview seven (DP7) of Android Things, Google's platform that enables Android developers to exercise Internet of Things (IoT) devices. The platform also supports powerful applications such equally video as well as good processing as well as on-board automobile learning amongst TensorFlow.

The latest preview is based on Android 8.1 as well as is updated to back upward version 11.8.0 of Google Play Services. For all the details of what's included inwards DP7, run across the release notes. Here are some of the highlights:

Console enhancements as well as device updates

New features are also available inwards the Android Things Console to get upward production administration from image to production:

  • Product Models. Create multiple software variations of the same hardware product, as well as cope the builds as well as updates for each independently.
  • Product Sharing. Grant additional user accounts access to sentiment as well as cope the models, builds, as well as updates for a given product.
  • Analytics. View metrics on device activations as well as update statistics for your products.
  • Update Channels. Deploy software builds to groups of devices for evolution or beta testing, without disrupting production devices inwards the field.

Devices tin subscribe to unlike update channels using novel APIs added to UpdateManager. See the updated Device Updates API guide as well as console documentation to acquire to a greater extent than well-nigh configuring update channel subscriptions.

Addressing developer feedback

We've received tons of amazing feedback from developers as well as thence far, as well as focused heavily on addressing many of the peak reported issues inwards this release:

  • Improved photographic tv set camera resolution support. Apps tin straight off capture icon information upward to the amount native resolution of the photographic tv set camera hardware.
  • Support for MIDI. Use the MidiManager API to construct a virtual MIDI device inwards your app or interface amongst external MIDI controllers.
  • Better testability of Android Things apps. The Peripheral I/O API straight off exposes interfaces instead of abstract classes, allowing local unit of measurement tests to supersede these objects amongst mocks as well as stubs to a greater extent than easily.
  • Consistent API naming. This unloose renames many of the existing Android Things API classes to render a to a greater extent than consistent developer sense across the entire surface. See the updated API reference to review how bundle as well as flat names get got changed.

New Bluetooth APIs

Android mobile devices give away controls to users for pairing amongst as well as connecting to Bluetooth devices through the Settings app. IoT devices running Android Things demand to programmatically perform these same operations. The novel BluetoothConnectionManager API enables apps to get got command of the pairing as well as connector process. See the novel Bluetooth API guide for to a greater extent than details.

Sample updates

Last yr at Google I/O, nosotros demonstrated building an app using Kotlin on Android Things. For developers using Kotlin, nosotros get got started publishing Kotlin versions of the Android Things samples. Today you lot tin download the Button as well as LED sample inwards both Kotlin as well as Java, amongst to a greater extent than samples to follow really soon.

We get got also migrated the TensorFlow Image Classifier sample app to piece of job the TensorFlow Lite library, reducing the size of the pre-trained TensorFlow model yesteryear over 90% as well as the fourth dimension required to variety out the images yesteryear or as well as thence 50%.

Feedback

Please mail us your feedback yesteryear filing bug reports as well as feature requests, equally good equally asking whatsoever questions on Stack Overflow. You tin also bring together Google's IoT Developers Community on Google+, a dandy resources to acquire updates as well as hash out ideas. We await frontwards to seeing what you lot construct amongst Android Things!

Thursday, October 18, 2018

Android Things Liberate Candidate

Posted past times Dave Smith, Developer Advocate for IoT

Earlier this twelvemonth at CES, nosotros showcased consumer products powered past times Android Things from partners similar Lenovo, LG, JBL, iHome, together with Sony. We are excited to run into Android Things enable the wider developer ecosystem equally well. Today nosotros are announcing the concluding preview unloosen of Android Things, Developer Preview 8, before the upcoming stable release.

Feature consummate SDK

Developer Preview 8 represents the concluding API surface exposed inwards the Android Things back upwards library for the upcoming stable release. There volition endure no to a greater extent than breaking API changes before the stable v1.0 unloosen of the SDK. For details on all the API changes included inwards DP8, run into the release notes. Refer to the updated SDK reference to review the classes together with methods inwards the concluding SDK.

This unloosen likewise brings novel features inwards the Android Things developer console to brand edifice together with managing production devices easier. Here are approximately notable updates:

Production-focused console enhancements

With an midpoint towards edifice together with transportation production devices amongst the upcoming LTS release, nosotros accept made several updates to the Android Things developer console:

  • Enhanced OTA: Unpublish the electrical current OTA laid upwards when issues are discovered inwards the field.
  • Visual storage layout: Configure the device storage allocated to apps together with information for each build, together with larn an overview of how much storage your apps require.
  • Font/locale controls: Configure the laid of supported fonts together with locales packaged into each build.
  • Group sharing: Product sharing has been extended to include back upwards for Google Groups.

App library

The novel app library enables yous to grapple APKs to a greater extent than easily without the shout out for to bundle them together inwards a dissever zipped bundle. Track private versions, review permissions, together with portion your apps amongst other console users. See the app library documentation for to a greater extent than details.

Permissions

On mobile devices, apps request permissions at runtime together with the cease user grants them. In before previews, Android Things granted these same permissions automatically to apps on device boot. Beginning inwards DP8, these permissions are granted using a novel interface inwards the developer console, giving developers to a greater extent than command of the permissions used past times the apps on their device.

This modify does non bear on development, equally Android Studio grants all permissions past times default. Developers using the command describe of piece of occupation tin flame append the -g flag to the adb install command to larn the same behavior. To exam how apps on your device take away amongst for sure permissions revoked, role the pm command:

$ adb crunch pm [grant|revoke] <permission-name> ...

App launch behavior

Embedded devices shout out for to launch their primary application automatically later the device boots, together with relaunch it if the app terminates unexpectedly. In before previews, the principal app on the device could brain for a custom IOT_LAUNCHER intent to enable this behavior. Beginning inwards DP8, this category is replaced past times the touchstone CATEGORY_HOME intent.

<activity android:name=".HomeActivity">     ...      <!-- Launch activity automatically on boot, relaunch on termination. -->     <intent-filter>         <action android:name="android.intent.action.MAIN"/>         <category android:name="android.intent.category.HOME"/>         <category android:name="android.intent.category.DEFAULT"/>     </intent-filter> </activity>

Apps that incorporate an IOT_LAUNCHER intent filter volition no longer endure triggered on boot. Update your apps to role CATEGORY_HOME instead.

Feedback

Thanks to all of yous inwards the developer community for sharing your feedback amongst us throughout developer preview. Join Google's IoT Developers Community on Google+ to allow us know what you're edifice amongst Android Things together with how nosotros tin flame amend the platform inwards time to come releases to tending yous laid upwards connected devices at scale!

Wednesday, October 17, 2018

Say Hullo To Android Things 1.0

Posted past times Dave Smith, Developer Advocate for IoT

Android Things is Google's managed OS that enables you lot to produce in addition to hold Internet of Things devices at scale. We render a robust platform that does the heavy lifting amongst certified hardware, rich developer APIs, in addition to secure managed software updates using Google's back-end infrastructure, then you lot tin focus on edifice your product.

After a developer preview amongst over 100,000 SDK downloads, we're releasing Android Things 1.0 to developers today amongst long-term back upward for production devices. Developer feedback in addition to engagement has been critical inwards our journeying towards 1.0, in addition to nosotros are grateful to the over 10,000 developers who produce got provided us feedback through the number tracker, at workshop events, in addition to through our Google+ community.

Powerful production hardware

Today, nosotros are announcing back upward for novel System-on-Modules (SoMs) based on the NXP i.MX8M, Qualcomm SDA212, Qualcomm SDA624, in addition to MediaTek MT8516 hardware platforms. These modules are certified for production role amongst guaranteed long-term back upward for 3 years, making it easier to convey prototypes to market. Development hardware in addition to reference designs for these SoMs volition hold upward available inwards the coming months.

New SoMs from NXP, Qualcomm, in addition to MediaTek

The Raspberry Pi 3 Model B in addition to NXP i.MX7D devices volition popular off along to hold upward supported every bit developer hardware for you lot to image in addition to attempt your production ideas. Support for the NXP i.MX6UL devices volition non continue. See the updated supported platforms page for to a greater extent than details on the differences betwixt production in addition to image hardware.

Secure software updates

One of the meat tenets of Android Things is powering devices that rest secure over time. Providing timely software updates over-the-air (OTA) is a primal business office of that. Stability fixes in addition to safety patches are supported on production hardware platforms, in addition to automatic updates are enabled for all devices past times default. For each long-term back upward version, Google volition offering gratis stability fixes in addition to safety patches for 3 years, amongst additional options for extended support. Even later on the official back upward window ends, you lot volition even then hold upward able to popular off along to force app updates to your devices. See the program policies for to a greater extent than details on software update support.

Use of the Android Things Console for software updates is express to 100 active devices for non-commercial use. Developers who recollect to send a commercial production running Android Things must sign a distribution agreement amongst Google to take the device limit. Review the updated price inwards the Android Things SDK License Agreement in addition to Console Terms of Service.

Hardware configuration

The Android Things Console includes a novel interface to configure hardware peripherals, enabling build-time command of the Peripheral I/O connections available in addition to device properties such every bit GPIO resistors in addition to I2C jitney speed. This characteristic volition popular off along to hold upward expanded inwards hereafter releases to comprehend to a greater extent than peripheral hardware configurations.

Production ready

Over the past times several months, we've worked closely amongst partners to convey products built on Android Things to market. These include Smart Speakers from LG and iHome in addition to Smart Displays from Lenovo, LG, in addition to JBL, which showcase powerful capabilities similar Google Assistant in addition to Google Cast. These products are hitting shelves betwixt straightaway in addition to the terminate of summer.

Startups in addition to agencies are also using Android Things to image innovative ideas for a various laid of use-cases. Here are some examples nosotros are actually excited about:

  • Byteflies: Docking station that securely transmits wearable wellness information to the cloud
  • Mirego: Network of large photograph displays driven past times world photograph booths inwards downtown Montreal

If you're edifice a novel production powered past times Android Things, nosotros desire to operate amongst you lot too! We are introducing a exceptional express programme to partner amongst the Android Things squad for technical guidance in addition to back upward edifice your product. Space is express in addition to nosotros can't select everyone. If your fellowship is interested inwards learning more, delight allow us know here.

Additional resources

Take a await at the total release notes for Android Things 1.0, in addition to caput over to the Android Things Console to start out validating your devices for production amongst the 1.0 organization image. Visit the developer site to larn to a greater extent than nearly the platform in addition to explore androidthings.withgoogle.com to acquire started amongst kits, sample code, in addition to community projects. Finally, bring together Google's IoT Developers Community on Google+ to allow us know what you're edifice amongst Android Things!

Sunday, October 14, 2018

All The (Android) Things At Google I/O

Melissa Daniels, Program Manager for Android Things

Android Things enables you lot to construct as well as maintain IoT devices at scale. We latterly released Android Things 1.0 alongside long-term back upward for production devices, therefore you lot tin sack easily direct hold an IoT device from image to commercial product.

We packed Google I/O this twelvemonth alongside Android Things content to inspire as well as empower the developer community, from talks as well as codelabs to interactive demos as well as a scavenger hunt. Here's a closer await at the fun materials nosotros had on display that you lot won't run into on the shelves of retail stores.

Demos

We introduced a handful of novel interactive Android Things demos across I/O, showcasing the AI as well as ML capabilities of the platform, therefore if you lot didn't acquire an chance to attend this year, here's a few of our favorites-- perfect for exploring from wherever you lot are inwards the world!

Smart Flowers: Flos Mobilis

What exercise you lot acquire when you lot combine automobile learning, Android Things as well as robotics? Flos Mobilis, a continuum robot where each bloom is backed past times an i.MX7D evolution board as well as a photographic boob tube camera to run an embedded neural cyberspace model that controls the displace of the flower. This is all done offline alongside no information stored or transmitted.

Smart Flowers: Flos Affectus

What if a robot could answer to the means you lot feel? Flos Affectus is a cluster of robotic flowers that "bloom" as well as "un-bloom" depending on the aspect detected on the user's face. The iv wide expressions Flos Affectus is trained to discovery are: happy, sad, angry, surprised. Using a photographic boob tube camera embedded inwards the caput of the alpha flower, the bloom cluster is able to discovery the user's human face upward as well as infer the facial emotion. The bloom cluster runs offline alongside no information stored or transmitted as well as demonstrates drive capabilities as well as on-device automobile learning models.

Rosie the Android

Initially designed past times a squad of Google engineers for the annual Grace Hopper conference, Rosie the Android is a five human foot selfie-taking Android, consummate alongside machine-learning capabilities. Inspired past times Rosie the Riveter, she's a fully controllable robot that tin sack direct hold photos, answer to commands, bicycle to a greater extent than or less as well as interact alongside those to a greater extent than or less her.

Did you lot direct hold a selfie alongside Rosie at I/O? Redeem your unique access code at g.co/rosie

Smart Projector

Smart Projector is built on Lantern, an Android Things projection exploring the human relationship betwixt surfaces as well as content — augmenting real-world objects as well as environments alongside glanceable, meaningful data. It leverages the Google Experiments projection known every bit Quick Draw, using the world's largest doodling information prepare that has been shared publicly to assist alongside automobile learning research.

To acquire to a greater extent than nigh Lantern or to start edifice your own, start here.

3D Printer

This modified Printrbot Smalls 3D Printer uses a real-time subsystem that showcases the flexibility of Android Things-- a microcontroller does the low-latency motor control, spell Android Things handles OpenGL rendering. By keeping most of the logic on a high-level platform similar Android you lot brand evolution as well as debugging much easier, thank you lot to Android's neat tooling.

The hereafter of 3D printing? Making real-time command every bit slow as well as portable every bit the residual of Android Things.

Codelabs

Phew! That was merely the tip of the demo iceberg. With therefore many demos as well as therefore many ways to role Android Things, it's slow to start imagining all the things you lot tin sack build! At I/O, nosotros helped a lot of developers acquire started edifice their offset Android Things device using the Android Things Starter Kit. We're making these codelabs available, therefore you lot tin sack acquire to them whenever you lot need, or construct your own.

Videos

Missed the I/O talks? Catch the recordings of each Android Things talk, therefore you lot tin sack start, pause, as well as rewind at your ain leisure. Or, merely lean back as well as sentinel them all.

What's novel inwards Android Things

Build effective OEM-level apps on Android Things

Build existent consumer devices alongside Android Things

Electronic blueprint for Android Things System on Modules

Women Techmakers panel: experiences developing on Android Things

Product design: how to construct improve products alongside Android Things

Device provisioning as well as authentication alongside Android Things

Update production devices inwards the champaign alongside the Android Things Console

Start building!

On overstep of all the resources nosotros merely mentioned, nosotros direct hold a corpus of information on our developer documentation, as well as our novel community website where you lot tin sack run into to a greater extent than inspiring projects as well as fifty-fifty submit your own. So, what are you lot waiting for? Pick upward an Android Things Starter Kit as well as start edifice something today!