Yea, like Morrison said above, you probably need to put this permission to your manifest file.
<uses-permission android:name="android.permission.INTERNET" />
More Related Contents:
- Android 6.0 multiple permissions
- Android M Permissions: onRequestPermissionsResult() not being called
- How to remove specific permission when build Android app with gradle?
- Android runtime permissions- how to implement
- Bluetooth Connection failed “java.io.IOException: read failed, socket might closed or timeout, read ret: -1”
- Android – onRequestPermissionsResult() is deprecated. Are there any alternatives?
- Sending and receiving files on socket
- ActivityCompat.requestPermissions not showing dialog box
- Using Sockets to send and receive data
- Is there any way to ask permission programmatically?
- How Can I Access an SSL Connection Through Android?
- Android : Socket – java.net.SocketException: sendto failed: EPIPE (Broken pipe)
- How to draw the route between my current location and destination?
- Inner class can access but not update values – AsyncTask
- Android ListView headers
- Android – SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
- NoClassDefFoundError: android.support.v7.internal.view.menu.MenuBuilder
- How to connect via HTTPS using Jsoup?
- Encryption of video files?
- IntelliJ IDEA with Junit 4.7 “!!! JUnit version 3.8 or later expected:”
- how to use okhttp to upload a file?
- Apache HttpClient Digest authentication
- Online radio streaming app for Android
- How do I get a button to open another activity?
- Android file uploader with server-side php
- How I can convert a bitmap into PDF format in android [closed]
- Android – Read Only File System IOException
- Prevent flipping of the front facing camera
- Android HttpClient and Cookies
- Using the camera activity in Android