Questions tagged [android-internet]

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

228 questions
2
votes
1 answer

the download image be corrupted at android app

simply i need to download an image but the problem is the image get corrupted !!! i find many way to download the image but still this problem appeared . i try do this : File path =…
Hanaa
  • 87
  • 1
  • 2
  • 10
1
vote
0 answers

Android: How to list all online apps with IPs and Ports

Possible Duplicate: Monitor network activity in Android Phones It is possible in Android to generate a list of all apps, which are in this moment online, with IPs and Ports they are using? Thank you for help
Aprel
  • 1,089
  • 2
  • 14
  • 25
1
vote
1 answer

Efficient way to send data from Android device to Apache web server

I want to send sensor data from an Android device to a Apache web server. The sensor is connected to the Android device using the IOIO board and is sampled at an regular interval. The raw sensor data is approximately 1 byte/second and I'm trying to…
user1119112
  • 807
  • 1
  • 8
  • 10
1
vote
0 answers

App not loading data with WiFi connection

Many of the app users are complaining on playstore recently that our app is not working with Wi-Fi, and works perfectly with cellular data. As a developer I tried with few devices and different Wi-Fi connections and the app works completely fine, I…
1
vote
1 answer

How do I use a button to open a website from the browser on an Android widget?

So I have been trying for hours to get this to work and I can't for the life of me figure it out. I have tried many different ideas I've found just googling it, but without any luck. I am trying to create an android widget that you can click on an…
Rmyers
  • 217
  • 4
  • 14
1
vote
1 answer

How I know how much time I spent on distracting website in my mobile?

I also try extension in my browser but it does not work. I am using Kiwi browser. It's much similar to Chrome browser with some additional features one of is using extension. I'm trying almost every extension to know my web time spent on each…
1
vote
1 answer

Not able to send post request through OkHttp in android

I am trying to send multipart form post request to my server. I am sending image file but getting a follwing W/System.err: java.net.UnknownServiceException: CLEARTEXT communication to 35.226.157.128 not permitted by network security policy …
1
vote
0 answers

Android Q, able to connect Wifi pragmatically but not able to access Internet

In Android Q, I can scan, select and connect to wifi via programmatically. But I am not able to get the internet via the wifi I connected even tho it has internet access. Below is my code: val wifiNetworkSpecifier = WifiNetworkSpecifier.Builder() …
1
vote
1 answer

calling startActivity() inside of a instance method - causing a NullPointerException

Heya - I'm trying to call startActivity() from a class that extends AsyncTask in the onPostExecute(). Here's the flow: Class that extends AsyncTask: protected void onPostExecute() { Login login = new Login(); …
Cole
  • 676
  • 8
  • 24
1
vote
1 answer

Get Internet state change while wifi is connected

I want to know if there is any intent or broadcast that notifies when internet is connected/disconnected while the wifi/data network is connected all the time. I am aware of CONNECTIVITY_CHANGE but it only notifies when wifi/data is switched…
1
vote
2 answers

Volley TimeoutError when app asleep

I implemented a Volley Request interval to fire a request periodically: final Handler handler = new Handler(); final int interval = 3000; handler.postDelayed(new Runnable() { public void run() { // Volley request…
steven
  • 4,868
  • 2
  • 28
  • 58
1
vote
0 answers

Start a service on available network for Android N?

I realise that the broadcastReceiver to check internet connectivity is no longer supported in the latest api so what can I use instead ? Do I absolutely have to work in the foreground ? and if so how is it done ?
1
vote
1 answer

Android connection detection not working in Android Studio 2.2.1. What has gone wrong?

Earlier I used to verify Internet connection and display data accordingly. If it is connected to Internet I used to load data from server and if there is no Internet connection, I used to load offline data. But from Android Studio 2.2.1, however…
1
vote
1 answer

Checking internet during Splash Screen

I have a splash screen and it is working perfectly, but now I want to run a function to perform an internet check and decide which activity to send the User. public class Splash extends Activity { private static int tempo_splash = 1000; …
1
vote
2 answers

Detect whether internet connection is available and working on Android API 15+

I need to detect whether internet connection is available and working fine in android. I need this condition check to call before i start any of my WebView Activities. So far I have managed to implement the isAvailable() feature found in this…
Hemang
  • 121
  • 1
  • 5