【转载请注明出处:http://blog.csdn.net/leytton/article/details/78275085

《树莓派Android Things物联网开发》系列文章专栏 http://blog.csdn.net/column/details/17741.html

树莓派Android Things物联网开发:入门及资料汇总

树莓派Android Things物联网开发:创建一个Things项目

树莓派Android Things物联网开发:树莓派GPIO引脚图

树莓派Android Things物联网开发:按键中断及消抖

树莓派Android Things物联网开发:已知Bug发行说明

树莓派Android Things物联网开发:GitHub案例程序汇总

Samples 案例

Welcome to code samples for Android Things. Here you will find code snippets and tutorials to help you build embedded applications and integrate hardware peripherals. You can get started with the following samples:

欢迎来到Android Things代码案例。在这里你将找到代码片段和教程来帮助你构建嵌入式应用和集成硬件外围设备。你可以通过以下例子开始:

  • Simple PIO - Runs basic code that exercises the PIO APIs in Java. Each sample is an Android module that can be run independently.
  • 在Java中运行PIO API的基本代码。每个样本都是可以独立运行的Android模块。
  • Native PIO - Runs basic code that exercises the PIO APIs in C/C++. Each sample is an Android module that can be run independently
  • 在C/C++中运行PIO API的基本代码。每个样本都是可以独立运行的Android模块。
  • Simple UI - Basic user interface that represents each GPIO on the board by an interactive switch widget on the display.
  • 基本用户界面,通过显示屏上的交互式开关组件控制板上的每个GPIO。
  • Button - Using a button input driver from the peripheral driver library to listen for GPIO state changes and generate Android key events.
  • 通过外围驱动库的按键输入驱动监听GPIO的状态改变,并产生Android按键事件。
  • UART Loopback - Emulates a loopback adapter for the selected UART port. Echoes all data back out the same port.
  • 串口操作示例
  • Doorbell - Smart doorbell that captures a camera image, analyzes it, and sends it to a companion app using the Google Cloud Platform and Firebase.
  • 智能门铃,从摄像头捕获一张图像进行分析,并使用Google Cloud Platform和Firebase将其发送到应用程序。
  • Weather Station - Integration of multiple peripheral sensors to analyze and display current weather information. Data can optionally push to the Google Cloud Platform for further analysis.
  • 气象站,集成多个外围传感器来分析和显示当前天气信息。数据可以选择推送到Google Cloud Platform进行进一步分析。
  • TensorFlow - Demonstrates accessing the camera, performing object recognition and image classification using machine learning, and speaking out the results using text-to-speech (TTS).
  • TensorFlow,演示访问摄像机,使用机器学习进行对象识别和图像分类,并使用文本转语音(TTS)说出结果。
  • Bluetooth Audio - Enables a Bluetooth device to connect to a peer device and play audio on it (and vice-versa).
  • 蓝牙音频,启用蓝牙设备连接到终端设备并播放音频(反之亦然)。
  • Bluetooth GATT Server - Exposes time information to client Bluetooth devices. The Android client receives a notification when the time is changed on the server.
  • 蓝牙GATT服务器,向客户端蓝牙设备提供时间信息。在服务器上更改时间时,Android客户端会收到通知。
  • USB Enumerator - Iterates over all the USB devices discovered by the host and prints their interfaces and endpoints.
  • USB枚举,遍历主机所有USB设备,并打印其接口和终端。
  • Edison Candle - Uses an animation API to flicker a pair of LEDs to mimic the behavior of a candle. Includes hardware design files and a bill of materials to assist in building a production device.
  • 使用动画API闪动两个LED来模拟蜡烛。包括硬件设计文件和物料清单以便制作生产。
  • Cloud IoT Sensor Hub - Integration of a motion detector and weather-related peripheral sensors. Data is pushed to the Google Cloud Platform for low-latency messaging.
  • 云IOT传感集线器,集成运动检测和天气相关外围传感器。数据被推送到Google Cloud Platform以进行低延迟消息传递。
  • Google Assistant API - Demonstrates how to call the Google Assistant gRPC API from a device. Records the spoken request from a connected microphone and plays back the Assistant's spoken response on a connected speaker.
  • 演示如何从设备调用Google Assistant gRPC API。从连接的麦克风记录语音请求,并通过扬声器播放的语音响应。
  • Drivers - Sample peripheral drivers for Android Things. Includes drivers for an OLED screen, GPS, accelerometer, and more.
  • Android的外设驱动程序。包括OLED屏幕,GPS,加速度计等驱动程序。

You can find additional code samples at the Android Things page on GitHub.

您可以在GitHub的 Android Things页面 上找到其他代码示例 。

英文原文链接https://developer.android.com/things/sdk/samples.html

树莓派Android Things物联网开发:GitHub案例程序汇总相关推荐

  1. 树莓派Android Things物联网开发:创建一个Things项目

    [转载请注明出处:http://blog.csdn.net/leytton/article/details/77854144] <树莓派Android Things物联网开发>系列文章专栏 ...

  2. [置顶]树莓派Android Things物联网开发:入门及资料汇总

    [转载请注明出处: http://blog.csdn.net/leytton/article/details/77848430] <树莓派Android Things物联网开发>系列文章专 ...

  3. android系统nfc开发,GitHub - hanjie511/MyNFC: android的NFC开发入门

    MyNFC android的NFC开发入门 NFC简述 近距离无线通信 (NFC) 是一组近距离无线技术,通常只有在距离不超过 4 厘米时才能启动连接.借助 NFC,您可以在 NFC 标签与 Andr ...

  4. APP项目开发失败案例经验汇总

    今天和大家分享一下之前碰到比较典型的APP项目开发失败案例,教训是残酷的,经验是宝贵的,整理了三个案例,如果大家看完觉得还行,给个辛苦赞~ 失败的外包案例(一) 项目名称:XXXAPP开发双版本 项目 ...

  5. 树莓派android摄像头驱动开发,树莓派开发笔记(九):基于CSI口的摄像头拍照程序(同样适用USB摄像头)...

    前话 前面开发完GPIO口的功能,还剩下2个接口,一个是摄像头,一个是显示屏.本篇我们开发一个基于CSI接口的摄像头拍照程序. Demo:摄像头CSI的拍照程序 树莓派摄像头 笔者买的不是USB网络摄 ...

  6. android studio编程实例,Android Studio JNI 开发简单案例

    进程保活,热修复,硬件接入等等都需要底层的支持,而底层代码是 C .C++ 写的,那么在 Android 中怎么调用底层的库呢?这里就需要了解 JNI 技术. Android Studio 出来两年多 ...

  7. Hadoop二次开发项目案例方案汇总

    大数据Hadoop应用开发技术正可谓如火如荼推进中,以为大数据已经不仅仅是局限在互联网领域,而是已经被上升到了国家战略的高度层面.大数据正在深刻影响和改变我们的日常生活和工作方式. Hadoop应用开 ...

  8. 《精通Android 5 多媒体开发》——第22章,第22.3节开发一个屏保程序

    本节书摘来自异步社区<精通Android 5 多媒体开发>一书中的第22章,第22.3节开发一个屏保程序,作者 王石磊,更多章节内容可以访问云栖社区"异步社区"公众号查 ...

  9. Android Things物联网开发经验总结

    目录 Android Things物联网开发--基础介绍(一) Android Things Android Things支持包 行为变更 权限 通知 Android Things物联网开发--硬件和 ...

最新文章

  1. make[1]: g++: Command not found
  2. 百度程序员妻子质疑老公不忠!每天很晚回家!周五下班不回家,说领导带他喝酒!结婚一年就出轨?...
  3. We Chall-Prime Factory-Writeup
  4. IE这回在css flex中扳回一局?
  5. python wpf教程_WPF使用IronPython库的简单Demo
  6. 【算法竞赛学习】气象海洋预测-Task4 模型建立之 TCNN+RNN
  7. python怎么读取github_六行代码获取Github排名前10的Python项目
  8. 虚拟机无法接受组播消息_IPTV(组播)骨干网完整解决方案--四川广电网络
  9. 如何让jQuery执行同步而不是异步的Ajax请求?
  10. html5 斗鱼 苹果,斗鱼ios端手游直播方法
  11. 2021-11-12 应用密码学:协议、算法与C源程序(目录)
  12. Android:ViewPage使用教程
  13. Android接入融云即时通讯SDK,实现单聊和发送自定义消息。
  14. 电子设计教程41:软启动电路-电阻+并联开关
  15. 脉冲云中使用的ajv
  16. fxmarket:9月25日黄金、沪深300、恒指策略分析
  17. VR看房:全景图和移动切换的实现
  18. Spring Boot(三):RestTemplate提交表单数据的三种方法
  19. 网络协议分析(第二版)期末复习资料一
  20. CF 71A [字符串统计]

热门文章

  1. 韶音科技2021研究员面试经验
  2. springboot出现“org.hibernate.proxy.HibernateProxy. Forgot to register a type adapter?“的解决办法
  3. 星际争霸,FF反作弊对战平台
  4. 史上最纯净的电脑系统重装教程,怕你不会,手把手教你,会了支持一下老学长!
  5. php变量输出的几种方式
  6. STL教程:C++ STL快速入门
  7. 为什么后浪不能让我产生共鸣
  8. 【opencv450-samples】delaunay 三角剖分和 voronoi 细分
  9. win7计算机开始里没有设置,win7系统开始菜单没有设置的解决方法?
  10. Qt QuaZip 解压zip文件