{"id":9390,"date":"2020-12-23T10:00:49","date_gmt":"2020-12-23T01:00:49","guid":{"rendered":"https:\/\/www.gigas-jp.com\/appnews\/?p=9390"},"modified":"2020-12-23T10:38:18","modified_gmt":"2020-12-23T01:38:18","slug":"%e3%83%9d%e3%83%bc%e3%83%88%e3%83%95%e3%82%a9%e3%83%af%e3%83%bc%e3%83%87%e3%82%a3%e3%83%b3%e3%82%b0%e3%82%92%e4%bd%bf%e3%81%a3%e3%81%a6android%e3%81%a7localhost%e3%83%9a%e3%83%bc%e3%82%b8%e3%82%92","status":"publish","type":"post","link":"https:\/\/www.gigas-jp.com\/appnews\/archives\/9390","title":{"rendered":"\u30dd\u30fc\u30c8\u30d5\u30a9\u30ef\u30fc\u30c7\u30a3\u30f3\u30b0\u3092\u4f7f\u3063\u3066Android\u3067localhost\u30da\u30fc\u30b8\u3092\u8868\u793a\u3059\u308b"},"content":{"rendered":"\n<p>\u958b\u767a\u4e2d\u306e\u30da\u30fc\u30b8\u3067WebRTC\u3092\u4f7f\u3063\u3066Android\u306e\u30ab\u30e1\u30e9\u306e\u6620\u50cf\u3092<br>Javascript\u3067\u53d6\u5f97\u3067\u304d\u308b\u304b\u78ba\u8a8d\u3092\u884c\u3044\u305f\u3044\u6642\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<!--more-->\n\n\n\n<p>PC\u3067\u3042\u308c\u3070XAMMP\u7b49\u306eApache\u30b5\u30fc\u30d0\u30fc\u3092\u8d77\u52d5\u3057\u3066\u304a\u3051\u3070<br>http:\/\/localhost\/ \u306b\u30a2\u30af\u30bb\u30b9\u3059\u308b\u3053\u3068\u3067\u52d5\u4f5c\u3092\u78ba\u8a8d\u3067\u304d\u307e\u3059\u304c<br>Android\u306e\u5b9f\u6a5f\u3067\u540c\u3058\u3088\u3046\u306b\u78ba\u8a8d\u3057\u3088\u3046\u3068\u3059\u308b\u3068<br>\u5f53\u7136\u305d\u306e\u307e\u307e\u3067\u306f  http:\/\/localhost\/ \u306b\u306f\u30a2\u30af\u30bb\u30b9\u3059\u308b\u3053\u3068\u306f\u51fa\u6765\u307e\u305b\u3093\u3002<br>https:\/\/ \u304b\u3089\u59cb\u307e\u308bSSL\u3067\u6697\u53f7\u5316\u3055\u308c\u305f\u30b5\u30fc\u30d0\u30fc\u306b\u30d5\u30a1\u30a4\u30eb\u3092\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3057<br>\u305d\u3053\u3078Android\u3067\u30a2\u30af\u30bb\u30b9\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u3057\u304b\u3057\u3001\u6697\u53f7\u5316\u3055\u308c\u305f\u30b5\u30fc\u30d0\u30fc\u3092\u7528\u610f\u3059\u308b\u306e\u306f\u624b\u9593\u3067\u3059\u306d\u3002<br>\u305d\u3053\u3067\u4fbf\u5229\u306a\u306e\u304cGoogleChrome\u306e\u958b\u767a\u30e2\u30fc\u30c9\u306b\u7528\u610f\u3055\u308c\u3066\u3044\u308b\u3002<br>RemoteDevice\u306b\u5bfe\u3057\u3066\u304a\u624b\u8efd\u306b\u30dd\u30fc\u30c8\u30d5\u30a9\u30ef\u30fc\u30c7\u30a3\u30f3\u30b0\u3092\u9069\u7528\u3059\u308b\u6a5f\u80fd\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u78ba\u8a8d\u3092\u884c\u3044\u305f\u3044\u30da\u30fc\u30b8\u3092localhost\u3067\u8868\u793a\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u308bPC\u3068<br>USB\u30c7\u30d0\u30c3\u30b0\u3092\u6709\u52b9\u5316\u3057\u305fAndroid\u7aef\u672b\u3092USB\u30b1\u30fc\u30d6\u30eb\u3067\u63a5\u7d9a\u3057\u307e\u3059\u3002<br>\u305d\u306e\u5f8cPC\u3067GoogleChrome\u3092\u958b\u304d<br>&#8220;chrome:\/\/inspect\/#devices&#8221;<br>\u3078\u30a2\u30af\u30bb\u30b9\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" width=\"412\" height=\"231\" src=\"\/appnews\/wp-content\/uploads\/sites\/4\/2020\/12\/image-7.png\" alt=\"\" class=\"wp-image-9393\" \/><\/figure>\n\n\n\n<p>\u63a5\u7d9a\u3057\u305fAndroid\u7aef\u672b\u304c\u8868\u793a\u3055\u308c\u3066\u3044\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3057<br>&#8220;Port forwarding&#8230;&#8221; \u3068\u66f8\u304b\u308c\u3066\u3044\u308b\u30dc\u30bf\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002<br>\u30dd\u30fc\u30c8\u30d5\u30a9\u30ef\u30fc\u30c7\u30a3\u30f3\u30b0\u8a2d\u5b9a\u30a6\u30a3\u30f3\u30c9\u30a6\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" width=\"316\" height=\"338\" src=\"\/appnews\/wp-content\/uploads\/sites\/4\/2020\/12\/image-6.png\" alt=\"\" class=\"wp-image-9391\" \/><\/figure>\n\n\n\n<p>XAMMP\u4e0a\u3067Apache\u306e\u30dd\u30fc\u30c8\u309280\u306b\u8a2d\u5b9a\u3057\u3066\u3044\u308b\u74b0\u5883\u3092\u4f8b\u3068\u3057\u3066<br>Port \u6b04\u306b 8080 \u3092\u8a2d\u5b9a<br>IP address and port \u6b04\u306b localhost:80 \u3092\u8a2d\u5b9a\u3057\u3001<br>Enable port forwarding\u306b\u30c1\u30a7\u30c3\u30af\u3092\u5165\u308c\u3001<br>Done\u30dc\u30bf\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3059\u308b\u3053\u3068\u3067\u30dd\u30fc\u30c8\u30d5\u30a9\u30ef\u30fc\u30c7\u30a3\u30f3\u30b0\u304c\u6709\u52b9\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>USB\u3067\u63a5\u7d9a\u3057\u3066\u3044\u308bAndroid\u7aef\u672b\u306eChrome\u3067&#8221;http:\/\/localhost:8080\/ &#8220;\u306b<br>\u30a2\u30af\u30bb\u30b9\u3059\u308b\u3053\u3068\u3067PC\u3068\u540c\u3058\u3088\u3046\u306blocalhost\u3078\u30a2\u30af\u30bb\u30b9\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u6c34\u66dc\u62c5\u5f53:Tanaka<\/p>\n<div class='wp_social_bookmarking_light'>\n            <div class=\"wsbl_google_plus_one\"><g:plusone size=\"medium\" annotation=\"none\" href=\"https:\/\/www.gigas-jp.com\/appnews\/archives\/9390\" ><\/g:plusone><\/div>\n            <div class=\"wsbl_hatena_button\"><a href=\"\/\/b.hatena.ne.jp\/entry\/https:\/\/www.gigas-jp.com\/appnews\/archives\/9390\" class=\"hatena-bookmark-button\" data-hatena-bookmark-title=\"\u30dd\u30fc\u30c8\u30d5\u30a9\u30ef\u30fc\u30c7\u30a3\u30f3\u30b0\u3092\u4f7f\u3063\u3066Android\u3067localhost\u30da\u30fc\u30b8\u3092\u8868\u793a\u3059\u308b\" data-hatena-bookmark-layout=\"standard\" title=\"\u3053\u306e\u30a8\u30f3\u30c8\u30ea\u30fc\u3092\u306f\u3066\u306a\u30d6\u30c3\u30af\u30de\u30fc\u30af\u306b\u8ffd\u52a0\"> <img src=\"\/\/b.hatena.ne.jp\/images\/entry-button\/button-only@2x.png\" alt=\"\u3053\u306e\u30a8\u30f3\u30c8\u30ea\u30fc\u3092\u306f\u3066\u306a\u30d6\u30c3\u30af\u30de\u30fc\u30af\u306b\u8ffd\u52a0\" width=\"20\" height=\"20\" style=\"border: none;\" \/><\/a><script type=\"text\/javascript\" src=\"\/\/b.hatena.ne.jp\/js\/bookmark_button.js\" charset=\"utf-8\" async=\"async\"><\/script><\/div>\n            <div class=\"wsbl_twitter\"><a href=\"https:\/\/twitter.com\/share\" class=\"twitter-share-button\" data-url=\"https:\/\/www.gigas-jp.com\/appnews\/archives\/9390\" data-text=\"\u30dd\u30fc\u30c8\u30d5\u30a9\u30ef\u30fc\u30c7\u30a3\u30f3\u30b0\u3092\u4f7f\u3063\u3066Android\u3067localhost\u30da\u30fc\u30b8\u3092\u8868\u793a\u3059\u308b\" data-via=\"GIGASJAPAN_APPS\" data-lang=\"ja\">Tweet<\/a><\/div>\n            <div class=\"wsbl_facebook_like\"><div id=\"fb-root\"><\/div><fb:like href=\"https:\/\/www.gigas-jp.com\/appnews\/archives\/9390\" layout=\"button_count\" action=\"like\" width=\"100\" share=\"false\" show_faces=\"false\" ><\/fb:like><\/div>\n            <div class=\"wsbl_facebook_send\"><div id=\"fb-root\"><\/div><fb:send href=\"https:\/\/www.gigas-jp.com\/appnews\/archives\/9390\" colorscheme=\"light\" ><\/fb:send><\/div>\n    <\/div>\n<br class='wp_social_bookmarking_light_clear' \/>\n","protected":false},"excerpt":{"rendered":"<p>\u958b\u767a\u4e2d\u306e\u30da\u30fc\u30b8\u3067WebRTC\u3092\u4f7f\u3063\u3066Android\u306e\u30ab\u30e1\u30e9\u306e\u6620\u50cf\u3092Javascript\u3067\u53d6\u5f97\u3067\u304d\u308b\u304b\u78ba\u8a8d\u3092\u884c\u3044\u305f\u3044\u6642\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n","protected":false},"author":17,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[12],"tags":[],"acf":[],"_links":{"self":[{"href":"https:\/\/www.gigas-jp.com\/appnews\/wp-json\/wp\/v2\/posts\/9390"}],"collection":[{"href":"https:\/\/www.gigas-jp.com\/appnews\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.gigas-jp.com\/appnews\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.gigas-jp.com\/appnews\/wp-json\/wp\/v2\/users\/17"}],"replies":[{"embeddable":true,"href":"https:\/\/www.gigas-jp.com\/appnews\/wp-json\/wp\/v2\/comments?post=9390"}],"version-history":[{"count":5,"href":"https:\/\/www.gigas-jp.com\/appnews\/wp-json\/wp\/v2\/posts\/9390\/revisions"}],"predecessor-version":[{"id":9406,"href":"https:\/\/www.gigas-jp.com\/appnews\/wp-json\/wp\/v2\/posts\/9390\/revisions\/9406"}],"wp:attachment":[{"href":"https:\/\/www.gigas-jp.com\/appnews\/wp-json\/wp\/v2\/media?parent=9390"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.gigas-jp.com\/appnews\/wp-json\/wp\/v2\/categories?post=9390"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.gigas-jp.com\/appnews\/wp-json\/wp\/v2\/tags?post=9390"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}