Top "Android-internet" questions

This tag is used for internet related questions on the Android Operating System.

Cannot make a static reference to the non-static method getSystemService(String) from the type

I have this function which network connection public boolean isNetworkConnected() { ConnectivityManager conManager = (ConnectivityManager)getSystemService(Context.CONNECTIVITY_SERVICE); NetworkInfo netInfo = conManager.…

android android-intent android-networking android-internet
Android Localhost?

I know this has been asked and answered before, but I use 10.0.2.2 for the emulator. And I heard I must …

android url localhost emulation android-internet
android how to get indicate when the internet connection is lost?

I'm developing an android application and I want to get a notification when the internet (wifi or packet data connection) …

android android-networking android-internet
Can't get HttpParams working with Postrequest

I can't get the HttpParams-stuff from the Android-API working. I just wan't to send some simple Parameters with my Postrequest. …

android http android-internet
How to solve java.lang.RuntimeException error occured while executing doInBackground()?

I am beginner in android development, I am getting error in following code. I am calling asyn method for http …

android android-service android-handler android-internet
Simulate Slow Internet Connection on a REAL device?

I need to test my application in conditions where even 2G Internet connectivity isn't at its full coverage (i.e. 2 …

android android-wifi android-networking android-internet
ask user to connect to internet or quit app (android)

i am working on an image gallery app, in which application is retrieving images from internet. so i want to …

android android-internet
usb internet option unavailable kitkat - reverse tethering

I have Micromax Canvas A1 (android one) with Kitkat 4.4.4 stock android OS. Mine is an unrooted device & I want …

android-4.4-kitkat android-internet tethering
How to send file / message between two android device with out any intermediate server

I want to send files between two devices using internet connection with out use any intermediate /server. For example there …

android networking network-programming google-cloud-messaging android-internet
Detect if android device is connected to the internet

this is my class that checks if the device is connected to the internet. import android.app.Activity; import android.…

android internet-connection android-internet