Top "Android-networking" questions

The Android networking subsystem.

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
Http Authentication in android using volley library

How to make Http Authentication for API using Volley library ? I tried the following code ....it throws Runtime Exception & …

android http-authentication android-networking android-volley
How do I explicitly disable chunked streaming mode for HTTP connections in Android?

I'm targeting a REST web service from Android 4.0 using HttpsURLConnection. This works fine unless I try to POST something. This …

java android android-networking
How to stay connected through mobile network after WIFI is connected on Android?

I noticed that while streaming audio from a remote server through 3G (mobile) connection and while the WIFI is disconnected …

android android-wifi android-networking connectivity
Assign static IP address for Wifi network on Android 3.x and 4.x

Im working on one project and there should be a functionality for setting static IP address (DNS, Netmask, Gateway) for …

android android-wifi android-networking ipv4
how to use retrofit 2 to send file and other params together

I am looking for an example how could I send file and other params together to server. I have to …

android retrofit retrofit2 android-networking
How to find wifi and network data usage separately by particular application in android?

recived = TrafficStats.getUidRxBytes(uid); send = TrafficStats.getUidTxBytes(uid); TrafficStats.getMobileRxBytes(); TrafficStats.getMobileTxBytes(); TrafficStats.getTotalRxBytes(); TrafficStats.getTotalTxBytes(); i have application id …

android android-wifi android-networking
How to enable Android O WiFi Hotspot programmatically

We've been using the WifiManager hidden API to enable Wifi tethering and create an access point. The problem now with …

android android-wifi android-networking hotspot
Android correct way to use OKHTTP singleton for parallel queries with cookies

I am working on an android project in which I am planning to replace Apache httpclient implementation with OKHTTP client. …

android cookies android-networking okhttp