Questions tagged [mobile-data]

46 questions
0
votes
1 answer

How to get icc authentication?

I found some interesting methods in telephonyManager class like turning mobile data off/on but when trying to use them it obviously throws me security exception.("No carrier privilege"). I Googled it, but didn't find any helpful solution. Because…
Domin
  • 1,075
  • 1
  • 11
  • 28
0
votes
0 answers

Turn on mobile data programmatically On devices above marshmallow not working

I am working on an app where I need to turn mobile data after interval of 2 hours. But in devices which are above marshmallow its not working.I am not able to toggle the mobile data from the app. public void setMobileDataState(boolean…
0
votes
2 answers

Does "display:none" prevent content being loaded?

I want to hide a video on mobile devices. I did this by using "@media screen and (max-width: ###px)" and "display:none", this works fine but does that prevent the video from being loaded? Basically I want the video to be not loaded with mobile data…
Heinz Heiner
  • 11
  • 1
  • 1
0
votes
1 answer

Check WiFi and mobile data is active or not

In a android studio project I want to check active internet, for that I use this class. Its working but. problem is it only work when connection not available. But i want only return true when connection is active and workable. Because the app…
Swister
  • 63
  • 7
0
votes
1 answer

SWIFT: Get high priority for my app to use internet data

I have data intensive app that heavily relies on web services. iOS does not let it use data where as at the same time other applications(like youtube) can get high data volume. The same app works flawlessly on android. How can I programmatically…
Muhammad Umar
  • 151
  • 1
  • 5
0
votes
1 answer

How to enable mobile Data?

I am making an android app that provide a location for user for emergency situations . Now I want the app to enable the mobile data when the user open the app .. thanks in advance
Ahmad Khalaf
  • 1
  • 1
  • 3
0
votes
0 answers

Measure mobile data usage from a particular point of time

I want to use a service to measure the mobile data used since that service is started but I'm only able to measure the mobile data since device boot using the methods getTotalRxBytes() and getTotalTxBytes() of the TrafficStats class. Can someone…
Mayank Aggarwal
  • 169
  • 1
  • 15
0
votes
1 answer

Android webview is not working in mobile data

In my app I have a webView, this webView works perfectly in several devices with varieties of OS but it only works in wifi . If I turn off wifi and turn on mobile data, webView doesn't load anything . Here is my code I used for webview . if…
mSapps
  • 601
  • 9
  • 24
0
votes
2 answers

How to get Data usage on android by both wifi and Mobile data?

I need to get a data usage on each application installed on a android mobile. Ex: I installed YouTube application on my mobile i need to get data usage of YouTube app by wifi and mobile data. Excepted result: YouTube - Wifi - 500MB. YouTube -…
S.Sathya Priya
  • 470
  • 1
  • 5
  • 19
0
votes
1 answer

Separate iOS apps rely on each other's mobile data permission

I have two iOS apps: App One (com.example.appone) and App Two (com.example.apptwo). Both apps use Reachability to detect if the app can access the Internet. Both apps work fine on WiFi but I am experiencing some very weird behaviour when using them…
DanielGibbs
  • 9,910
  • 11
  • 76
  • 121
0
votes
0 answers

how to get mobile data usage from the android device?

Does anyone know, how can I get mobile data usage from the android device? I've tried this code, but It only returns data for the current month - but I need this statistics for longer time(not only the current month) long mobile =…
-1
votes
1 answer

Wifi/Mobile data required for MTP Connection/ transfer via USB cable?

Does doing a USB/(MTP connection) for transferring photos from my Samsung S10 to PC use up my mobile's data or require WIFI? I am running low on mobile data and can not connect to wifi. Wanted to make sure before plugging it in. Sorry, do not know…
sye
  • 201
  • 3
  • 4
  • 10
-1
votes
1 answer

How to find if network connection goes through mobile data when both wifi and mobile data is on

As far as I know using reachability class , one can find if the device is connected with wifi or mobile data but what if both are kept on in the device. Will we be able to know using reachability class ? Is it possible to detect if data packets…
Shankar Naik
  • 401
  • 5
  • 16
-2
votes
1 answer

How to turn on/off airplane mode in Xamarin.Forms?

How to turn on/off airplane mode in Xamarin.Forms for android and ios?
Dmitry
  • 549
  • 1
  • 5
  • 16
-2
votes
1 answer

Cannot open socket when incoming call

I try to send data to server when incoming call through mobile data (4G). I get one of these errors: java.net.UnknownHostException: Host is unresolved: xyz.xy or java.net.SocketTimeoutException: failed to connect to /xxx.xxx.xxx.xxx (port…
Musketyr
  • 745
  • 1
  • 16
  • 37