{"height":"190","author_url":"https://blog.hatena.ne.jp/wannabe-jellyfish/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmemory-lovers.blog%2Fentry%2F2017%2F09%2F25%2F222317\" title=\"Android\u3067\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u306e\u72b6\u614b\u3092\u78ba\u8a8d/\u5224\u5b9a\u3059\u308b - \u304f\u3089\u3052\u306b\u306a\u308a\u305f\u3044\u3002\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","description":"\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u78ba\u8a8d ConnectivityManager cm = (ConnectivityManager)context.getSystemService(Context.CONNECTIVITY_SERVICE); NetworkInfo activeNetwork = cm.getActiveNetworkInfo(); // \u63a5\u7d9a\u72b6\u614b\u72b6\u6cc1\u306e\u5224\u5b9a boolean isConnected = activeNetwork != null && activeNetwork.isConnectedOrConnecting(); // \u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u30bf\u30a4\u30d7\u306e\u5224\u5b9a boolean isWiFi = \u2026","published":"2017-09-25 22:23:17","width":"100%","provider_url":"https://hatena.blog","blog_title":"\u304f\u3089\u3052\u306b\u306a\u308a\u305f\u3044\u3002","url":"https://memory-lovers.blog/entry/2017/09/25/222317","version":"1.0","image_url":null,"blog_url":"https://memory-lovers.blog/","author_name":"wannabe-jellyfish","provider_name":"Hatena Blog","categories":["Android","network"],"type":"rich","title":"Android\u3067\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u306e\u72b6\u614b\u3092\u78ba\u8a8d/\u5224\u5b9a\u3059\u308b"}