{"id":8451,"date":"2016-12-19T12:03:06","date_gmt":"2016-12-19T03:03:06","guid":{"rendered":"http:\/\/www.moonmile.net\/blog\/?p=8451"},"modified":"2016-12-19T12:23:59","modified_gmt":"2016-12-19T03:23:59","slug":"android-things-%e4%b8%8a%e3%81%a7-xamarin-android-%e3%82%92%e5%8b%95%e3%81%8b%e3%81%97%e3%81%a6-f-%e3%82%92%e4%bd%bf%e3%81%86","status":"publish","type":"post","link":"http:\/\/www.moonmile.net\/blog\/archives\/8451","title":{"rendered":"Android Things \u4e0a\u3067 Xamarin.Android \u3092\u52d5\u304b\u3057\u3066 F# \u3092\u4f7f\u3046"},"content":{"rendered":"<p>\u3053\u306e\u8a18\u4e8b\u306f\u3001<a href=\"http:\/\/qiita.com\/advent-calendar\/2016\/fsharp\">F# Advent Calendar 2016 &#8211; Qiita<\/a> \u306e 17\u65e5\u76ee\u3067\u3059\u3002\u306a\u3093\u304b\u3001\u66dc\u65e5\u3092\u52d8\u9055\u3044\u3057\u3066\u3044\u3066\u62c5\u5f53\u304c\u65e5\u66dc\u65e5\u3060\u3068\u601d\u3063\u3066\u3044\u305f\u3093\u3067\u3059\u3088\u306d\u3002<a href=\"http:\/\/www.1101.com\/store\/techo\/\">\u307b\u307c\u65e5\u624b\u5e33<\/a>\u304c\u6708\u66dc\u65e5\u306f\u3058\u307e\u308a\u306e\u30ab\u30ec\u30f3\u30c0\u30fc\u3092\u4f7f\u3063\u3066\u3044\u308b\u3082\u306e\u3060\u304b\u3089\u3001\u30ab\u30ec\u30f3\u30c0\u30fc\u306e\u53f3\u7aef\u306f\u65e5\u66dc\u65e5\u306a\u306e\u3067\u3059\u3088\u306d\u3002\u9577\u5e74\u4f7f\u3063\u3066\u3044\u3066\u4fbf\u5229\u3067\u3059\u2026\u3068\u3044\u3046\u5ba3\u4f1d\u306f\u3055\u3066\u304a\u304d\u3001F# \u306e\u8a71\u3067\u3059\u3002<\/p>\n<h2>Android Things \u304c\u767a\u8868\u3055\u308c\u305f<\/h2>\n<p><a href=\"https:\/\/developer.android.com\/things\/index.html\">Android Things <\/a>\u304c\u5148\u9031 Google \u304b\u3089\u767a\u8868\u3055\u308c\u307e\u3057\u305f\u3002<\/p>\n<p><a href=\"http:\/\/www.moonmile.net\/blog\/wp-content\/uploads\/2016\/12\/image-6.png\"><img loading=\"lazy\" decoding=\"async\" title=\"image\" style=\"border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; display: inline; padding-right: 0px; border-top-width: 0px\" border=\"0\" alt=\"image\" src=\"http:\/\/www.moonmile.net\/blog\/wp-content\/uploads\/2016\/12\/image_thumb-6.png\" width=\"640\" height=\"399\"><\/a><\/p>\n<p>\u3082\u3068\u3082\u3068\u3042\u3063\u305f\u3001Brillo \u306e\u9032\u5316\u5f62\u3068\u3044\u3046\u3053\u3068\uff08\u79c1\u306f Brillo \u81ea\u4f53\u3092\u3088\u304f\u77e5\u3089\u306a\u3044\uff09\u306a\u306e\u3067\u3059\u304c\u3001\u524d\u8eab\u306f\u3055\u3066\u304a\u304d\u3001Raspberry Pi \u7b49\u3067 Android \u304c\u52d5\u304f\u3068\u3044\u3046\u74b0\u5883\u3067\u3059\u3002\u3082\u3068\u3082\u3068\u3001Android \u306e\u8db3\u56de\u308a\u306f Linux \u306a\u8a33\u3067\u3059\u304b\u3089\u3001Raspberry Pi \u306e\u3088\u3046\u306b Linux \u4e92\u63db\u306e OS\uff08Raspbian\u306a\u3069\uff09\u304c\u52d5\u304f\u7d44\u307f\u8fbc\u307f\u30dc\u30fc\u30c9\u3067\u3042\u308c\u3070\u52d5\u304f\u53ef\u80fd\u6027\u3082\u3042\u3063\u305f\u3057\u3001\u3044\u307e\u307e\u3067\u3082 Raspberry Pi \u4e0a\u3067 Android 4.4 \u3092\u52d5\u304b\u3059\u3068\u304b\u3001Orange Pi \u3084 NanoPi \u306e\u3088\u3046\u306a Raspberry Pi \u4e92\u63db\u6a5f\u3067 Android 5.1 \u304c\u52d5\u304f\u3068\u3044\u3046\u30d1\u30bf\u30fc\u30f3\u3082\u3042\u308a\u307e\u3057\u305f\u3002\u5b9f\u306f\u3001\u3064\u3044\u5148\u65e5&nbsp; <a href=\"http:\/\/www.moonmile.net\/blog\/archives\/8443\">Android 5.1 \u3092\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u304b\u3089\u30d3\u30eb\u30c9\u3057\u3066 NanoPi 2 Fire \u3067\u52d5\u304b\u3059\u307e\u3067\u3002 | Moonmile Solutions Blog<\/a> \u306a\u5f62\u3067\u3001Android \u306e\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u304b\u3089\u30d3\u30eb\u30c9\u3057\u3066 NanoPi \u3067 Android 5.1 \u3092\u52d5\u304b\u3059\u3068\u3053\u308d\u307e\u3067\u305f\u3069\u308a\u7740\u3044\u305f\u3068\u3053\u308d\u3067\u3059\u3002<\/p>\n<p>\u3082\u3068\u3082\u3068\u3001\u30b9\u30de\u30fc\u30c8\u30d5\u30a9\u30f3\u306e\u52d5\u4f5c\u74b0\u5883\u3068\u3057\u3066\u958b\u767a\u3055\u308c\u305f Android \u3067\u3059\u304b\u3089\u3001\u30b9\u30de\u30fc\u30c8\u30d5\u30a9\u30f3\u3060\u3051\u306b\u30bf\u30fc\u30b2\u30c3\u30c8\u3092\u7d5e\u308b\u3068\u3001Android Things \u304c\u51fa\u3066\u304d\u305f\u610f\u5473\u304c\u3088\u304f\u308f\u304b\u3089\u306a\u3044\u3068\u601d\u3046\u306e\u3067\u3001\u5c11\u3057\u80cc\u666f\u3092\u89e3\u8aac\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n<h2>Android Things \u304c\u73fe\u308c\u305f\u80cc\u666f<\/h2>\n<p>\u30b9\u30c6\u30a3\u30c3\u30af\u30b3\u30f3\u30d4\u30e5\u30fc\u30bf\u3068 Raspberry Pi \u306e\u3088\u3046\u306a\u7d44\u307f\u8fbc\u307f\u30dc\u30fc\u30c9\uff08\u3053\u3053\u3067\u306f OS \u304c\u52d5\u304f\u7d44\u307f\u8fbc\u307f\u30dc\u30fc\u30c9\u3092\u5bfe\u8c61\u306b\u3057\u307e\u3059\uff09\u306e\u9055\u3044\u306f\u3001\u305d\u306e\u62e1\u5f35\u6027\u306b\u3042\u308a\u307e\u3059\u3002\u62e1\u5f35\u6027\u3068\u306f\u3044\u3063\u3066\u3082\u3001\u30c7\u30b9\u30af\u30c8\u30c3\u30d7 PC \u306e\u3088\u3046\u306b\u30b9\u30c8\u30ec\u30fc\u30b8\u3092\u5897\u3084\u305b\u308b\u3068\u304b\u30e1\u30e2\u30ea\u3092\u5897\u3084\u305b\u308b\u3068\u304b\u3068\u3044\u3046\u3053\u3068\u3067\u306f\u306a\u304f\u3066\uff08\u305d\u3046\u3044\u3046\u70b9\u3067\u3082\u3001\u30b9\u30c6\u30a3\u30c3\u30af\u30b3\u30f3\u30d4\u30e5\u30fc\u30bf\u306f\u62e1\u5f35\u6027\u304c\u3042\u308a\u307e\u305b\u3093\uff09\u3001GPIO \u306a\u3069\u3092\u4f7f\u3063\u3066\u6a5f\u5668\u5236\u5fa1\u304c\u3067\u304d\u308b\u3068\u3044\u3046\u300c\u62e1\u5f35\u6027\u300d\u306b\u306a\u308a\u307e\u3059\u3002\u3044\u308f\u3086\u308bL\u30c1\u30ab\u306e\u3088\u3046\u306bON\/OFF\u3067LED\u3092\u5149\u3089\u305b\u308b\u3060\u3051\u3067\u306a\u304f\u3001\u6db2\u6676\u30dc\u30fc\u30c9\u306e I2C \u901a\u4fe1\u3084\u3001\u5404\u7a2e\u30b5\u30fc\u30dc\u306e PWM \u5236\u5fa1\u306b\u3088\u308b\u30ed\u30dc\u30c3\u30c8\u306e\u52d5\u4f5c\u3001\u5404\u7a2e\u30bb\u30f3\u30b5\u30fc\u306e\u30c7\u30fc\u30bf\u53ce\u96c6\u306a\u3069\u306b\u4f7f\u3048\u307e\u3059\u3002<\/p>\n<p>\u304b\u3064\u3066\u3001\u30c7\u30fc\u30bf\u5236\u5fa1\u3084\u30ed\u30dc\u30c3\u30c8\u5236\u5fa1\u306f\u3001PC \u306b\u9ad8\u4fa1\u306a GPIO \u30dc\u30fc\u30c9\uff08\u78ba\u304b50\u4e07\u5186\u4f4d\u3057\u305f\u306f\u305a\uff09\u3092\u7e4b\u3052\u3066\u5236\u5fa1\u3057\u305f\u3068\u304d\u3082\u3042\u308b\u306e\u3067\u3059\u304c\u3001\u6700\u8fd1\u3060\u3068\u3001\u5b89\u4fa1\u306a Raspberry Pi \u306a\u3069\u3092\u4f7f\u3046\uff08\u5b66\u7fd2\u7528\u306e\u7d44\u307f\u8fbc\u307f\u3067\u3042\u308c\u30705,000\u5186\u7a0b\u5ea6\u3067\u3059\uff09\u3053\u3068\u304c\u53ef\u80fd\u3067\u3059\u3002\u305d\u3046\u3001\u3042\u308b\u610f\u5473\u3067\u300c\u58ca\u308c\u3066\u3082\u75db\u304f\u306a\u3044\u300d\u7a0b\u5ea6\u306e\u91d1\u984d\u306b\u306a\u308a\u307e\u3059\uff08\u307e\u3042\u3001\u500b\u4eba\u3067\u3084\u308b\u3068\u75db\u3044\u3051\u3069\uff09\u3002<\/p>\n<p>\u306a\u306e\u3067\u3001\u4eca\u3060\u3068\u3042\u308b\u7a0b\u5ea6\u5de5\u592b\u3059\u308c\u3070\u3001PC + \u7d44\u307f\u8fbc\u307f\u30dc\u30fc\u30c9\u3068\u3044\u3046\u91d1\u984d\u7684\u306b\u3082\u5834\u6240\u7684\u306b\u3082\u8cbb\u7528\u304c\u639b\u304b\u308b\u3082\u306e\u3092\u3001\u7d44\u307f\u8fbc\u307f\u30dc\u30fc\u30c9\u3067\u5c0f\u578b\u5316\u304b\u3064\u5b89\u4fa1\u306b\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u3063\u3066\u304d\u307e\u3057\u305f\u3002<\/p>\n<p>Raspberry Pi \u306e\u5834\u5408\u3001Linux \u3092\u4e57\u305b\u3066\u52d5\u304f\u306e\u3067\u57fa\u672c\u306f\u30bf\u30fc\u30df\u30ca\u30eb\u3067\u52d5\u304b\u3057\u307e\u3059\u3002\u5b66\u7fd2\u7528\u3068\u3057\u3066\u306f\u30c7\u30b9\u30af\u30c8\u30c3\u30d7PC\u306e\u4ee3\u308f\u308a\u3068\u3057\u3066\u4f7f\u3048\u308b\u3051\u3069\u3001\u30c7\u30a3\u30b9\u30d7\u30ec\u30a4\u7121\u3057\u306e\u5b89\u4fa1\u306a\u5236\u5fa1PC\u3068\u3057\u3066\u306e\u307b\u3046\u304c\u6709\u52b9\u306b\u4f7f\u3048\u307e\u3059\u3002\u3068\u3044\u3046\u306e\u3082\u3001\u753b\u9762\u307e\u308f\u308a\u304c\u975e\u529b\u3067\uff08\u6700\u8fd1\u306f\u9ad8\u6a5f\u80fd\u306b\u306a\u308a\u307e\u3057\u305f\u304c\u3001PC \u306e\u30b0\u30e9\u30d5\u30a3\u30c3\u30af\u30dc\u30fc\u30c9\u3088\u308a\u306f\u975e\u529b\u3067\u3059\uff09\u753b\u9762\u306e\u3042\u308c\u3053\u308c\u3068\u3001\u5236\u5fa1\u306e\u3042\u308c\u3053\u308c\u3092\u3084\u308d\u3046\u3068\u3059\u308b\u3068\u3001\u7d50\u69cb CPU \u304c\u5927\u5909\u306a\u3053\u3068\u306b\u306a\u3063\u3066\u3057\u307e\u3046\u306e\u3067\u3059\u3002\u3053\u3053\u3067\u3001\u300c\u4f4f\u307f\u5206\u3051\u300d\u3068\u3057\u3066\u3001\u9ad8\u4fa1\u306a UI \u306f PC \u3067\u3084\u3063\u3066\u3001\u5236\u5fa1\u7d61\u307f\u306f\u7d44\u307f\u8fbc\u307f\u30dc\u30fc\u30c9\u3067\u3084\u308a\u307e\u3059\u3002\u3084\u3063\u3066\u3082\u3088\u3044\u306e\u3067\u3059\u304c\u3001\u5358\u4f53\u3067\u52d5\u304b\u3059\u3068\u3084\u3063\u3071\u308a\u306a\u3093\u3089\u304b\u306e\u30e2\u30cb\u30bf\u7684\u306a\u8868\u793a\u304c\u306a\u3044\u3068\u8f9b\u3044\u3082\u306e\u304c\u3042\u308a\u307e\u3059\u3002\u96fb\u6e90\u304c\u3064\u3044\u305f\u3042\u3068\u306b\u52d5\u3044\u3066\u3044\u308b\u304b\u3069\u3046\u304b\u3059\u3089\u308f\u304b\u3089\u306a\u3044\u3068\u3044\u3046\u72b6\u614b\u306b\u9665\u308a\u307e\u3059\u306d\u3002<\/p>\n<p>\u3053\u3053\u3067\u3001Raspbian \u4e0a\u3067 Qt \u306a\u3069\u3092\u4f7f\u3063\u3066 UI \u3092\u4f5c\u3063\u3066\u3082\u3088\u3044\u306e\u3067\u3059\u304c\uff08\u5b9f\u969b\u3001\u305d\u3046\u3084\u3063\u3066\u4f5c\u3063\u3066\u3044\u308b\u65b9\u3082\u591a\u3044t\u601d\u3044\u307e\u3059\uff09\u3001UI \u3092\u4f5c\u308b\u3068\u306a\u308b\u3068 Windows \u3084 Android \u306e\u3088\u3046\u306b\u65e2\u306b\u30ce\u30a6\u30cf\u30a6\u306e\u3042\u308b\u3068\u3053\u308d\u306e\u958b\u767a\u8005\u304c\u3044\u305f\u307b\u3046\u304c\u3044\u3044\u3067\u3059\u3088\u306d\u3002<\/p>\n<p>\u305d\u3046\u3044\u3046\u767a\u60f3\u306e\u3082\u3068\u3067\u3001UI \u306e\u6027\u80fd\u81ea\u4f53\u306f OS \u306e\u6027\u80fd\u306f\u3050\u3063\u3068\u843d\u3061\u308b\u304b\u3082\u3057\u308c\u306a\u3044\u3051\u3069\u3001\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306f Windows \u306e\u3088\u3046\u306b\u4f5c\u308b\u3068\u3044\u3046\u306e\u304c <a href=\"https:\/\/developer.microsoft.com\/ja-jp\/windows\/iot\/Explore\/IoTCore\">Windows IoT Core<\/a> \u306e\u8003\u3048\u65b9\u3067\u3059\u3002Windows IoT Core \u306f\u3001PC \u306e Windows 10 \u3068\u306f\u304b\u306a\u308a\u4f7f\u3044\u65b9\u306f\u9055\u3063\u3066\u3044\u307e\u3059\u304c UWP \u30a2\u30d7\u30ea\uff08\u30b9\u30c8\u30a2\u30a2\u30d7\u30ea\uff09\u3068\u3044\u3046\u70b9\u3067\u306f\u540c\u3058\u3088\u3046\u306b\u4f5c\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u305d\u306e\u4ee3\u308a\u3001PC \u306e Windows 10 \u306b\u3042\u308b\u3088\u3046\u306a\u30b9\u30bf\u30fc\u30c8\u753b\u9762\u3084\u9ad8\u6a5f\u80fd\u30a2\u30d7\u30ea\u306f\u4e00\u5207\u3042\u308a\u307e\u305b\u3093\u3002<\/p>\n<p>\u540c\u3058\u767a\u60f3\u306f\u3001Android \u306e\u7d44\u307f\u8fbc\u307f\u30dc\u30fc\u30c9\u306e\u4e16\u754c\u306b\u3082\u3042\u3063\u3066\uff08\u8cfc\u5165\u3059\u308b\u30683\u4e07\u5186\u4f4d\u304b\u304b\u308a\u307e\u3059\uff09\u3001\u7d44\u307f\u8fbc\u307f\u30dc\u30fc\u30c9\u306b Android \u3092\u4e57\u305b\u3066 UI \u306e\u90e8\u5206\u306f Android \u306e\u3082\u306e\u3092\u4f7f\u3046\u3068\u3044\u3046\u3082\u306e\u304c\u3042\u308a\u307e\u3059\u3002\u5148\u306e Orange Pi \u3084 Raspberry Pi \u306b\u4e57\u305b\u305f Android \u306f\u3001\u30b9\u30de\u30fc\u30c8\u30d5\u30a9\u30f3\u306b\u4e57\u305b\u3066\u3044\u308b\u3082\u306e\u3068\u540c\u3058\u306a\u306e\u3067\u3001\u975e\u529b\u306a\u7d44\u307f\u8fbc\u307f\u30dc\u30fc\u30c9\u306e CPU \u3067\u306f\u3072\u3069\u304f\u91cd\u3044\u3082\u306e\u3067\u3059\u3002CPU \u3092\u65e9\u304f\u3059\u308b\u3068\u30dc\u30fc\u30c9\u81ea\u4f53\u304c\u9ad8\u4fa1\u306b\u306a\u308b\u3057\u3001Android \u306e\u4f7f\u3044\u52dd\u624b\u3092\u3088\u304f\u3057\u3088\u3046\u3068\u601d\u3046\u3068\u30b9\u30de\u30fc\u30c8\u30d5\u30a9\u30f3\u3068\u540c\u3058\u7a0b\u5ea6\u306e\u30b9\u30da\u30c3\u30af\u304c\u7d44\u307f\u8fbc\u307f\u30dc\u30fc\u30c9\u306b\u8981\u6c42\u3055\u308c\u3066\u3057\u307e\u3044\u307e\u3059\u3002\u3053\u306e\u70b9\u3067\u3001\u304b\u306a\u308a\u300c\u8a70\u3093\u3060\u300d\u72b6\u614b\u306b\u306f\u306a\u3063\u3066\u3044\u307e\u3057\u305f\u3002<\/p>\n<p>\u305d\u3053\u3067\u3001Android Things \u306e\u518d\u767b\u5834\u3067\u3059\u3002<\/p>\n<ul>\n<li>\u901a\u5e38\u306e Android \u3088\u308a\u3082\u4f4e\u30b9\u30da\u30c3\u30af\u3067\u52d5\u4f5c\u3059\u308b\u3002\n<li>Android UI \u3092\u901a\u5e38\u901a\u308a\u306b\u4f7f\u3048\u308b\u3002<\/li>\n<\/ul>\n<p>\u3053\u306e\u4e21\u65b9\u3092\u6e80\u305f\u3059\u305f\u3081\u306b\u3001Windows IoT Core \u3068\u540c\u3058\u65b9\u6cd5\u3092 Google \u306f\u53d6\u308a\u307e\u3057\u305f\u3002\u3044\u308f\u3086\u308b\u30b9\u30de\u30fc\u30c8\u30d5\u30a9\u30f3\u3092\u8d77\u52d5\u3057\u305f\u3068\u304d\u306e\u30db\u30fc\u30e0\u753b\u9762\u7b49\u304c\u4e00\u5207\u3042\u308a\u307e\u305b\u3093\u3002\u305d\u306e\u5206\u3001\u30b9\u30c8\u30ec\u30fc\u30b8\u3084 CPU \u3078\u306e\u8ca0\u62c5\u304c\u8efd\u304f\u306a\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u66f4\u306b\u4e91\u3046\u3068\u3001\u5b9f\u8cea\uff08\u3068\u601d\u308f\u308c\u308b\uff09Android SDK v7 \u3067\u52d5\u304f\u3088\u3046\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002\u30b9\u30de\u30fc\u30c8\u30d5\u30a9\u30f3\u7528\u306e API \u304c\u3069\u3053\u307e\u3067\u524a\u3089\u308c\u3066\u304b\u5206\u304b\u308a\u307e\u305b\u3093\u304c\u3001\u5c11\u306a\u304f\u3068\u3082 Xamarin.Forms \u3067\u30d3\u30eb\u30c9\u3057\u305f\u30a2\u30d7\u30ea\u3092 Android Things \u306b\u4e57\u305b\u3066\u3082\u5e73\u6c17\u306a\u3050\u3089\u3044\u300cAPI \u304c\u524a\u3089\u308c\u3066\u3044\u306a\u3044\u300d\u3053\u3068\u304c\u308f\u304b\u308a\u307e\u3059\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"https:\/\/pbs.twimg.com\/media\/CzzlwS-VEAEDa0A.jpg\" src=\"https:\/\/pbs.twimg.com\/media\/CzzlwS-VEAEDa0A.jpg\" width=\"637\" height=\"478\"><\/p>\n<p>\u3064\u307e\u308a\u3001Android Things \u306f<\/p>\n<ul>\n<li>\u307b\u307c API \u304c\u524a\u3089\u308c\u3066\u3044\u306a\u3044\uff08\u3068\u601d\u308f\u308c\u308b\uff09Android SDK v7 \u304c\u52d5\u304f\n<li>GPIO \u7b49\u3092\u52d5\u304b\u3059\u3001com.google.android.things.* \u304c jar \u3067\u63d0\u4f9b\u3055\u308c\u3066\u3044\u308b<\/li>\n<\/ul>\n<p>\u3068\u3044\u3046\u7d44\u307f\u5408\u308f\u305b\u306b\u306a\u308a\u307e\u3059\u3002jar \u30d5\u30a1\u30a4\u30eb\u306f androidthings-0.1-devpreview.jar \u306e\u3088\u3046\u3067\u3059\u3002Windows IoT Core \u3067\u3082\u305d\u3046\u3067\u3059\u304c\u3001\u3053\u306e\u5225\u53e3\u306e\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306b\u8ffd\u52a0\u3059\u308b\u3053\u3068\u3067\u3001\u7d44\u307f\u8fbc\u307f\u30dc\u30fc\u30c9\u306e\u5236\u5fa1\u304c\u3067\u304d\u307e\u3059\u3002\u3061\u306a\u307f\u306b Linux \u7cfb\u306f \/sys\/class\/gpio \u306e\u30d5\u30a1\u30a4\u30eb\u3092\u958b\u304f\u3060\u3051\u306a\u306e\u3067\u30b9\u30af\u30ea\u30d7\u30c8\u3067\u3082\u7d50\u69cb\u7c21\u5358\u306b\u3067\u304d\u308b\u3093\u3067\u3059\u3088\u306d\u3002Android Things \u304c\u4f55\u3092\u4f7f\u3063\u3066\u3044\u308b\u304b\u308f\u304b\u308a\u307e\u305b\u3093\u304c\uff08\u3042\u3068\u3067\u30b3\u30fc\u30c9\u3092\u898b\u308b\u3064\u3082\u308a\uff09\u3001\u4f3c\u305f\u611f\u3058\u3060\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p>\u3061\u306a\u307f\u306b Android Things \u3067\u306f adb shell \u306e\u4e2d\u8eab\u304c\u5145\u5b9f\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"https:\/\/pbs.twimg.com\/media\/CzruhYaUcAARHgt.jpg\" src=\"https:\/\/pbs.twimg.com\/media\/CzruhYaUcAARHgt.jpg\" width=\"627\" height=\"594\"><\/p>\n<p>perl \u3084 python \u306e\u3088\u3046\u306a\u30b9\u30af\u30ea\u30d7\u30c8\u7cfb\u306e\u8a00\u8a9e\u304c\u306a\u3044\u306e\u306f\u6b8b\u5ff5\u306a\u306e\u3067\u3059\u304c\uff08\u3044\u305a\u308c\u5165\u308c\u3089\u308c\u308b\u3068\u601d\u3046\uff09\u3001posix \u4e92\u63db\u3060\u305d\u3046\u306a\u306e\u3067\u3001\u305d\u308c\u306a\u308a\u306b\u30b3\u30de\u30f3\u30c9\u3068 API \u304c\u63c3\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>&nbsp;<\/p>\n<h2>Android Things \u3068 Xamarin.Android \u306e\u95a2\u4fc2<\/h2>\n<p>.NET \u754c\u9688\u3067\u306f Xamarin \u304c\u6d41\u884c\u3063\u3066\u3044\u308b\u8a33\u3067\u3059\u304b\u3089\u3001\uff08\u79c1\u7684\u306b\u306f\uff09Android \u3068\u306f\u3044\u3048 Java \u3067\u3084\u308b\u3088\u308a\u3082 C#\/.NET \u3067\u3084\u308d\u3046\u3068\u3044\u3046\u8a33\u3067\u3059\u3002\u305d\u3046\u306a\u308b\u3068\u3001Xamarin.Android \u3092\u4f7f\u3063\u3066 Android Things \u306e\u30a2\u30d7\u30ea\u3092\u4f5c\u308c\u308b\u3068\u3044\u3044\u3067\u3059\u3088\u306d\u3002<\/p>\n<p>\u3068\u3044\u3046\u308f\u3051\u3067\u3001<a href=\"https:\/\/github.com\/xamarin\/xamarin-forms-samples\">xamarin\/xamarin-forms-samples: Sample apps built using the Xamarin.Forms framework<\/a> \u304b\u3089\u3001Xamarin.Forms \u306e\u30b5\u30f3\u30d7\u30eb\u3092\u3044\u304f\u3064\u304b\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3066\u52d5\u304b\u3057\u3066\u307f\u308b\u3068\u3001\u52d5\u304d\u307e\u3059\u3002\u304d\u3061\u3093\u3068 mono \u306e\u74b0\u5883\u304c\u5165\u3063\u3066\u3001C# \u3067\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u3092\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>GPIO \u304c\u3089\u307f\u306f com.google.android.things.* \u3092\u30e9\u30c3\u30d7\u3057\u306a\u3044\u3068\u3044\u3051\u306a\u3044\u306e\u3067\u3059\u304c\u3001<\/p>\n<p>jonpryor\/SimpleAndroidThingsBinding<br \/><a href=\"https:\/\/github.com\/jonpryor\/SimpleAndroidThingsBinding\">https:\/\/github.com\/jonpryor\/SimpleAndroidThingsBinding<\/a>&nbsp;<\/p>\n<p>\u306a\u5f62\u3067\u3001XML \u3092\u4f7f\u3063\u3066\u30de\u30c3\u30d4\u30f3\u30b0\u304c\u3067\u304d\u308b\u305d\u3046\u306a\u306e\u3067\u3001\u3053\u308c\u3082\u5f8c\u3067\u8a66\u3057\u3066\u3044\u304d\u307e\u3059\u3002\u3053\u3046\u306a\u308b\u3068\u3001Android Studio \u3092\u4f7f\u308f\u306a\u304f\u3066\u3082\u3001Xamarin.Android\/Forms \u306e\u958b\u767a\u30b9\u30bf\u30a4\u30eb\u3067\u3001Android Things \u3067\u6a5f\u5668\u5236\u5fa1\u306e\u30d7\u30ed\u30b0\u30e9\u30e0\u304c\u7d44\u3081\u308b\u3068\u3044\u3046\u3053\u3068\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>Raspberry Pi 3 \u3067\u52d5\u304b\u3057\u305f\u3068\u3053\u308d\u3001\u30aa\u30f3\u30dc\u30fc\u30c9\u306e WiFi \u3092\u8a8d\u8b58\u3057\u3066\u7e4b\u3052\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3057\u305f\u3002Bluetooth \u306f\u307e\u3060\u8a66\u3057\u3066\u3044\u306a\u3044\u306e\u3067\u304c\u3064\u306a\u304c\u308b\u3067\u3057\u3087\u3046\u3002\u3042\u3068\u3001\u30ab\u30e1\u30e9\u3068\u304b\u306e\u5b9a\u756a\u3082\u8a66\u3057\u3066\u3044\u304d\u307e\u3059\u3002\u5404\u7a2e\u306e\u30b5\u30f3\u30d7\u30eb\u306f <a href=\"https:\/\/github.com\/androidthings\">https:\/\/github.com\/androidthings<\/a> \u3067\u63d0\u4f9b\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306f\u3001Google Play \u304c\u306a\u3044\u306e\u3067\u3001adb installl \u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002Xamarin.Forms \u306e\u5834\u5408\u306f\u7f72\u540d\u304c\u306a\u304f\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u304d\u306a\u304b\u3063\u305f\u306e\u3067\u3059\u304c\u3001\u30ea\u30ea\u30fc\u30b9\u30d3\u30eb\u30c9\u3092\u3057\u3066\u7f72\u540d\u3092\u3059\u308c\u3070\u5165\u308b\u3067\u3057\u3087\u3046\u3002<\/p>\n<h2>mono \u304c\u52d5\u304f\u3068\u3044\u3046\u3053\u3068\u306f F# \u3082\u52d5\u304d\u307e\u3059\u306d<\/h2>\n<p>mono \u304c\u52d5\u304f\u3053\u3068\u304c\u78ba\u8a8d\u3067\u304d\u308c\u3070\u3001\u3082\u308c\u306a\u304f F# \u304c\u52d5\u304d\u307e\u3059\u3088\u306d :)<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" src=\"https:\/\/pbs.twimg.com\/media\/CzrrJf3UkAE2cwi.jpg\" width=\"626\" height=\"469\"><\/p>\n<p>\u975e\u5e38\u306b\u7c21\u5358\u3060\u3051\u3069\u30dc\u30bf\u30f3\u30af\u30ea\u30c3\u30af\u306e\u30b5\u30f3\u30d7\u30eb\u3060\u3051\u3092\u52d5\u304b\u3057\u3066\u307f\u307e\u3057\u305f\u3002<\/p>\n<p>\u3048\u3063\uff1f F# \u6210\u5206\u306f\u3053\u308c\u3060\u3051\u3067\u3059\u304b\u2026\u3044\u3084\u3001\u307e\u3042\u3001\u3053\u308c\u3060\u3051\u3067\u3059\u3002\u3061\u3083\u3093\u3068\u3057\u305f\u3082\u306e\u306f\u305d\u306e\u3046\u3061\u306b\u3002<\/p>\n<p><a href=\"http:\/\/www.moonmile.net\/blog\/wp-content\/uploads\/2016\/12\/image-7.png\"><img loading=\"lazy\" decoding=\"async\" title=\"image\" style=\"border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; display: inline; padding-right: 0px; border-top-width: 0px\" border=\"0\" alt=\"image\" src=\"http:\/\/www.moonmile.net\/blog\/wp-content\/uploads\/2016\/12\/image_thumb-7.png\" width=\"640\" height=\"480\"><\/a><\/p>\n<p>\u65e5\u66dc\u65e5\u306b\u3001\u5e74\u672b\u6052\u4f8b\u306e\u77e2\u91ce\u9855\u5b50\u300c\u3055\u3068\u304c\u3048\u308b\u30b3\u30f3\u30b5\u30fc\u30c8\u300d\u306b\u884c\u3063\u3066\u304d\u305f\u306e\u3067\u305d\u306e\u5199\u771f\u3067\u3082\u3002\u9752\u8272 LED \u304c\u307e\u3076\u3057\u3059\u304e\u3066\u76ee\u304c\u30c1\u30ab\u30c1\u30ab\u3057\u307e\u3059\u3088\u3002\u8f1d\u5ea6\u3092\u3082\u3046\u5c11\u3057\u4e0b\u3052\u305f\u307b\u3046\u304c\u3044\u3044\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002\u624b\u3076\u308c\u3057\u3066\u3044\u308b\u3057\u3002<\/p>\n<p>\u3067\u306f\u3001\u7686\u3055\u307e\u306e\u3088\u304d\u30af\u30ea\u30b9\u30de\u30b9\u3092\u7948\u308a\u3064\u3064\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3053\u306e\u8a18\u4e8b\u306f\u3001F# Advent Calendar 2016 &#8211; Qiita \u306e 17\u65e5\u76ee\u3067\u3059\u3002\u306a\u3093\u304b\u3001\u66dc\u65e5\u3092\u52d8\u9055\u3044\u3057\u3066\u3044\u3066\u62c5\u5f53\u304c\u65e5\u66dc\u65e5\u3060\u3068\u601d\u3063\u3066\u3044\u305f\u3093\u3067\u3059\u3088\u306d\u3002\u307b\u307c\u65e5\u624b\u5e33\u304c\u6708\u66dc\u65e5\u306f\u3058\u307e\u308a\u306e\u30ab\u30ec\u30f3\u30c0\u30fc\u3092\u4f7f\u3063\u3066\u3044 &hellip; <a href=\"http:\/\/www.moonmile.net\/blog\/archives\/8451\">\u7d9a\u304d\u3092\u8aad\u3080 <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[64],"tags":[],"class_list":["post-8451","post","type-post","status-publish","format-standard","hentry","category-android"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"http:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/posts\/8451","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/comments?post=8451"}],"version-history":[{"count":3,"href":"http:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/posts\/8451\/revisions"}],"predecessor-version":[{"id":8454,"href":"http:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/posts\/8451\/revisions\/8454"}],"wp:attachment":[{"href":"http:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/media?parent=8451"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/categories?post=8451"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/tags?post=8451"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}