connectivity Questions

4

Currently, the most popular method of getting the SSID of the Wifi network the Android device is connected to is using WifiManager's getConnectionInfo() method. However, that method is deprecated i...
Hymn asked 27/2, 2022 at 2:39

5

I'm running Docker version 1.4.1, build 5bc2ff8 on Ubuntu 14.04. When I docker run any container, after a few minutes my docker0 bridge "dies", and the container stops being able to reach the netwo...
Endometrium asked 8/3, 2015 at 6:26

15

Solved

How do you detect the network connection type on Android? Is it through ConnectivityManager.getActiveNetworkInfo().getType(), and is the answer limited to Wifi and mobile?
Porterhouse asked 10/5, 2010 at 12:16

2

Solved

I have been searching for long to know the best approach to listen to internet connection in flutter/dart app. I think this approach is better for now and it can be of help to some like me who has ...
Recidivate asked 16/8, 2021 at 6:1

23

Solved

How can I detect if the internet connection is offline in JavaScript?
Composite asked 9/10, 2008 at 22:23

2

In the documentation shows that i should can turn on the "Public Access" in RDS Aurora database but I can't see this setting. This is the screenshot of another RDS Instance (Not Aurora) ...
Preclude asked 13/4, 2021 at 20:13

5

Solved

So, I have this method that let's me know if the user has an active internet connection. It works well. However, leak canary has identified a memory leak associated with the connectivityManager. I ...
Chromatogram asked 2/1, 2017 at 18:8

1

Solved

I have rented a VPS Linux VC4-8 server from Strato and would like to deploy a few Docker containers on it. Unfortunately, the deployed containers do not have internet access or cannot resolve DNS. ...
Kingmaker asked 8/6, 2023 at 23:23

13

Solved

I already have this code which listens to connectivity change - public class NetworkStateReceiver extends BroadcastReceiver { public void onReceive(Context context, Intent intent) { Log.d("app"...
Watershed asked 5/9, 2014 at 3:28

11

Solved

I want to write a script, that would keep checking if any of the devices in network, that should be online all day long, are really online. I tried to use ping, but if [ "`ping -c 1 some_ip_here`"...
Drinking asked 8/8, 2013 at 10:6

3

I am on a WSL2 with Ubuntu and wanted to install Miniconda version 4.9.2. The installation went effortlessly, but I can now not connect to anaconda to install packages. Also simple commands like co...

4

I am working with sending data to a thermal printer from my application. I already have it working correctly over the network and my data prints correctly. There is now an additional requirement wh...
Threadgill asked 21/1, 2015 at 11:48

2

Solved

I have the following code in my app: Runtime runtime = Runtime.getRuntime(); Process process = runtime.exec("/system/bin/ping -c 1 8.8.8.8"); return process.waitFor(); I see that it work...
Liquescent asked 23/9, 2015 at 21:5

6

Solved

How can I programmatically check whether my machine has internet access or not using C/C++, is it just a matter of pinging an IP? How does NIC do it ? I mean something like: I am using Windows 7...
Farceur asked 3/4, 2013 at 3:34

27

Solved

I would like to test my application for cases of low network connectivity. Except standing in the elevator, what is the best way to do this? I've tried wrapping my phone in an aluminum foil, ...
Felid asked 11/8, 2011 at 12:57

3

Solved

I'm creating a mobile application on Flutter and I'm calling REST API's created on Node.js in order to connect and query my oracle DB all the time. I've use so far the connectivity 0.3.2 in order ...
Villareal asked 29/11, 2018 at 11:28

1

Solved

I was following the below tutorial for connectivity status based on internet connection. link : https://www.filledstacks.com/post/make-your-flutter-app-network-aware-using-provider-and-connectivit...
Margaritamargarite asked 19/9, 2019 at 14:43

0

I have setup a basic check using Connectivity's Readme on checking internet connectivity. @override void initState() { super.initState(); subscription = Connectivity() .onConnectivityChanged ...
Ermina asked 21/11, 2019 at 8:24

1

Solved

This question is similar this question, but slightly different. I am trying to retrieve the name of my currently connected wifi network using the Connectivity Plugin. This answer works perfectly ...
Engelhart asked 16/4, 2019 at 21:18

10

Solved

I have amazon VPC set through wizard as "public only network", so all my instances are in public subnet. Instances within VPC that have Elastic IP assigned connect to internet without any troubles...
Flocculus asked 20/4, 2012 at 9:47

1

I connected my mobile device to the IOT hub. I would like to display the connectivity (online/offline) status of the device on IOT hub service app installed on another device. How to achieve this? ...
Transcendental asked 30/1, 2019 at 10:33

6

Solved

I need to reliably detect if a device has full internet access, i.e. that the user is not confined to a captive portal (also called walled garden), i.e. a limited subnet which forces users to submi...
Thug asked 19/12, 2012 at 18:20

0

I am using watch connectivity in my app quite successfully, but sometimes when I start the debugging session all I get in that session is a stream of errors like this one: [WC] -[WCFileStorage e...
Padron asked 1/8, 2018 at 13:39

1

As far as I understand Alamofire is pulled in with built in Reachability, so my own handler would look something like: import Alamofire let reachabilityManager = NetworkReachabilityManager() reac...
Pollypollyanna asked 25/10, 2017 at 12:27

1

I'm using Retrofit + Rxjava to get a list of entities from server, by my design when the task fails, first it checks Internet connection and after that it checks the connection to the server in do...
Dereism asked 13/9, 2017 at 16:12

© 2022 - 2024 — McMap. All rights reserved.