{"id":5407,"date":"2014-02-07T10:13:49","date_gmt":"2014-02-07T01:13:49","guid":{"rendered":"http:\/\/www.moonmile.net\/blog\/?p=5407"},"modified":"2014-02-07T10:13:49","modified_gmt":"2014-02-07T01:13:49","slug":"xamarin-%e3%81%8b%e3%82%89-wifi%e7%b5%8c%e7%94%b1%e3%81%a7-android-%e3%82%92%e5%8b%95%e3%81%8b%e3%81%99","status":"publish","type":"post","link":"https:\/\/www.moonmile.net\/blog\/archives\/5407","title":{"rendered":"Xamarin \u304b\u3089 WiFi\u7d4c\u7531\u3067 Android \u3092\u52d5\u304b\u3059"},"content":{"rendered":"<p>\u6628\u65e5\u306e\u7d9a\u304d\u3067\u3059\u304c\u3001<a href=\"http:\/\/d.hatena.ne.jp\/licheng\/20130824\/p1\">Android\u306eWiFi\u30c7\u30d0\u30c3\u30b0 &#8211; \u6ef4\u4e86\u5eb5\u65e5\u9332<\/a> \u3092\u53c2\u8003\u306b\u3059\u308b\u3068\u3001\u3042\u3063\u3055\u308a\u52d5\u304d\u307e\u3057\u305f\u3002<\/p>\n<p>\u4e00\u5fdc\u3001\u624b\u9806\u3092\u793a\u3057\u3066\u304a\u304f\u3068\u3001<\/p>\n<ol>\n<li>Android \u3092 USB \u63a5\u7d9a\u3059\u308b\u3002<\/li>\n<li>adb devices \u3067\u30c7\u30d0\u30a4\u30b9\u304c\u8a8d\u8b58\u3067\u304d\u308b\u72b6\u614b\u306b\u3057\u3066\u304a\u304f\u3002<\/li>\n<li>adb tcpip 5556 \u3067\u3001Android \u306e\u30b5\u30fc\u30d0\u30fc\u3092\u30dd\u30fc\u30c8\u756a\u53f7 5556 \u3067\u8d77\u52d5\u3059\u308b\u3002\u3053\u3053\u306e\u30dd\u30fc\u30c8\u756a\u53f7\u306f\u81ea\u7531\u306b\u8a2d\u5b9a\u3057\u3066OK\u3002<\/li>\n<li>adb connect 172.16.0.9 \u306e\u3088\u3046\u306b\u3001Android \u306b\u63a5\u7d9a\u3059\u308b\u3002IP \u306f Android \u306e IP \u30a2\u30c9\u30ec\u30b9\u3002<\/li>\n<li>USB \u30b1\u30fc\u30d6\u30eb\u3092\u629c\u304f\u3002<\/li>\n<li>adb devices \u3092\u8d77\u52d5\u3057\u3066\u3001\u30c7\u30d0\u30a4\u30b9\u304c tcpip \u7d4c\u7531\u3067\u3064\u306a\u304c\u3063\u3066\u3044\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3059\u308b\u3002<\/li>\n<\/ol>\n<blockquote>\n<p>List of devices attached<br \/>172.16.0.9:5556 device<\/p>\n<\/blockquote>\n<p>\u306a\u611f\u3058\u3067\u63a5\u7d9a\u304c\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>tcp\/ip \u63a5\u7d9a\u3092\u5207\u308b\u306e\u306f adb disconnect 172.16.0.9 \u306a\u3093\u3060\u3051\u3069\u3001Android \u5074\u306e\u30b5\u30fc\u30d0\u30fc\u304c kill \u3055\u308c\u308b\u304b\u3069\u3046\u304b\u306f\u4e0d\u660e\u3067\u3059\u3002<\/p>\n<p>\u25a0\u5d4c\u308b\u3068\u3053\u308d<\/p>\n<p>\u3067\u3001\u3044\u308d\u3044\u308d\u691c\u7d22\u3059\u308b\u3068\u843d\u3068\u3057\u7a74\u3063\u305f\u307d\u3044\u306e\u304c\u3001\u300cadb connect 172.16.0.9:5555\u300d\u306e\u3088\u3046\u306b\u30dd\u30fc\u30c8\u6307\u5b9a\u3057\u3066\u3044\u308b\u3082\u306e\u304c\u591a\u3044\u3051\u3069\u3001\u5b9f\u969b\u306f\u300cadb connect 172.16.0.9\u300d\u3067\u3059\u3002\u305f\u3076\u3093\u3001Linux \u306e adb \u304c\u305d\u3046\u306a\u306e\u304b\u3001\u305d\u308c\u3068\u3082\u53e4\u3044\u3060\u3051\u306a\u306e\u304b\u3002Windows \u7248\u306e\u6700\u65b0\u306e adb \u3060\u3068 IP\u30a2\u30c9\u30ec\u30b9\/\u30db\u30b9\u30c8\u540d\u3060\u3051\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<\/p>\n<p>\u30dd\u30fc\u30c8\u756a\u53f7\u304c 5555 \u3092\u6307\u5b9a\u3057\u3066\u3044\u308b\u306e\u3067\u3001\u7686 5555 \u3092\u4f7f\u3063\u3066\u3057\u307e\u3046\u3051\u3069\u3001\u3046\u3063\u304b\u308a\u516c\u5171\u7121\u7ddaLAN \u4e0a\u3067 IP \u30a2\u30c9\u30ec\u30b9\u77e5\u308c\u305f\u3089\u30dd\u30fc\u30c8\u756a\u53f7\u56fa\u5b9a\u3067\u30a2\u30bf\u30c3\u30af\u304c\u639b\u3051\u3089\u308c\u308b\uff08\u3084\u3063\u3066\u3044\u308b\u4eba\u306f\u3044\u308b\uff1f\uff09\u306e\u3067\u3001\u3044\u307e\u3069\u304d\u306a\u3089\u3070\u30dd\u30fc\u30c8\u756a\u53f7\u306f\u5909\u3048\u305f\u307b\u3046\u304c\u30d9\u30bf\u30fc\u304b\u3068\u3002<\/p>\n<p>\u3072\u3068\u307e\u305a\u3001VMWare \u304b\u3089 Android \u306b USB \u63a5\u7d9a\u3057\u3088\u3046\u3068\u3059\u308b\u3068\u6700\u521d\u306e\u63a5\u7d9a\u304c\u4e0d\u5b89\u5b9a\uff08\u4f55\u6545\u304b\u30db\u30b9\u30c8PC\u306eUSB\u30dd\u30fc\u30c8\u30921\u3064\u3057\u304b\u8a8d\u8b58\u3057\u306a\u3044\u3093\u3067\u3059\u3088\u306d\u2026\uff09\u306a\u306e\u3067\u3001\u7121\u7ddaLAN\u63a5\u7d9a\u3067\u304d\u308b\u3088\u3046\u306b\u3057\u3066\u304a\u304f\u3068\u4fbf\u5229\u3067\u3059\u3002\u81ea\u5b85\u3068\u304b\u4f1a\u793e\u3067\u3084\u308b\u5206\u306b\u306fOK\u304b\u3068\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6628\u65e5\u306e\u7d9a\u304d\u3067\u3059\u304c\u3001Android\u306eWiFi\u30c7\u30d0\u30c3\u30b0 &#8211; \u6ef4\u4e86\u5eb5\u65e5\u9332 \u3092\u53c2\u8003\u306b\u3059\u308b\u3068\u3001\u3042\u3063\u3055\u308a\u52d5\u304d\u307e\u3057\u305f\u3002 \u4e00\u5fdc\u3001\u624b\u9806\u3092\u793a\u3057\u3066\u304a\u304f\u3068\u3001 Android \u3092 USB \u63a5\u7d9a\u3059\u308b\u3002 adb devices \u3067\u30c7\u30d0\u30a4\u30b9 &hellip; <a href=\"https:\/\/www.moonmile.net\/blog\/archives\/5407\">\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":[62],"tags":[],"class_list":["post-5407","post","type-post","status-publish","format-standard","hentry","category-xamarin"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/posts\/5407","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/comments?post=5407"}],"version-history":[{"count":0,"href":"https:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/posts\/5407\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/media?parent=5407"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/categories?post=5407"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/tags?post=5407"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}