Questions tagged [3g]

For questions about 3G mobile networking and communications standards and their implementations.

535 questions
110
votes
11 answers

iOS Detect 3G or WiFi

I am not sure if this is possible, but I have this scenario. I have a website displayed in my UIWebView which has the link set in a UISegmentedController. They website can detect if you are on wifi or on the 3g network. Now the segmented controller…
jwknz
  • 6,598
  • 16
  • 72
  • 115
105
votes
1 answer

Adding a new network bearer to Android

I'd like to add new bearer(s) to Android (rooted/custom build), to be a peer with Wifi and GPRS. I have done some Android development and I am aware that (in Android 2.2) there are constants for WIFI and GPRS. Does this mean that I will need to be…
fadedbee
  • 42,671
  • 44
  • 178
  • 308
75
votes
6 answers

How to determine if network type is 2G, 3G or 4G

I have an indicator on my application to display the network type (2G or 3G or 4G) but after getting the network type, how do I know what speed category it should be in? I know how to detect the network type: private TelephonyManager…
Tary
  • 1,021
  • 1
  • 10
  • 13
70
votes
2 answers

Reducing the battery impact of apps that downloads content over a smartphone radio

If I'm building a smartphone app that regularly downloads data from a server, and also intermittently uploads data (analytics, ads, etc.) what can I do to minimize the battery life impact of those transfers? The battery impact of transfers using the…
Reto Meier
  • 96,655
  • 18
  • 100
  • 72
51
votes
9 answers

How to check iOS app size before upload

I would like to be able to check the size of my app before submitting to the app store. More specifically I need to know whether it will be below the magic 20 MB, to allow cellular downloads, since the app is created for a festival.
ViggoV
  • 2,133
  • 2
  • 20
  • 22
40
votes
4 answers

WebSockets over a 3G connection

I've been playing with Socket.io, node.js and WebSockets, all of which I can get working fine over a wifi connection. However, when I test out a WebSocket-enabled app over a 3G connection (on my iPhone, for example) then it seems like falling back…
suttree
  • 1,303
  • 2
  • 10
  • 8
37
votes
4 answers

How can i turn off 3G/Data programmatically on Android?

How can I turn off 3G/Data programmatically on Android? Not Wifi, but 3G/Data.
chuyitox
  • 543
  • 1
  • 5
  • 12
37
votes
2 answers

UDP hole punching not going through on 3G

I'm trying to implement in a software a hole punching feature. The thing is, I'm implementing this with an already made TCP Server to communicate with Users. Here's what I have so far : "A" sends a message to an UDP Server "US" (on port 9333) "US"…
TheSquad
  • 7,385
  • 8
  • 40
  • 79
35
votes
4 answers

Best way to evaluate connection speed

I'm developing an app which needs to get music file by streaming for playing live. In the request song api I can specify the bandwith (eg: 50kbps, 100kbps, 300, 600 or 1 Mbps). The more the bandwith is big, the more the file will get time to be…
GrandMarquis
  • 1,913
  • 1
  • 18
  • 30
28
votes
9 answers

How to determine the iOS connection type (Edge, 3G, 4G, Wifi)?

How is it possible to determine the iOS connection type? I want to know if there is Edge, 3G, 4G oder Wifi available at this moment on my device. This information I need to load different data with a different size. So, I don't want to load an…
Karl
  • 1,601
  • 3
  • 15
  • 13
24
votes
2 answers

Web site exhibits JavaScript error on iPad / iPhone under 3G but not under WiFi

Connecting to http://www.manage-us.com on an iPad under 3G [used to] result in a JavaScript error which can be seen if the developer console has been enabled. If the same page is accessed using the same iPad under a WiFi connection no error is…
sroebuck
  • 6,060
  • 4
  • 25
  • 18
22
votes
3 answers

Detect if connection is wifi, 3G or EDGE in android?

I need to detect in android if there is any connection Wifi or 3G ( or 3G+) or EDGE in android. When there is an connection wifi or 3G I can send photos to server, and when is only a connection EDGE to not send them to server. I saw that wifi…
Gabrielle
  • 4,933
  • 13
  • 62
  • 122
19
votes
3 answers

How do you detect 3G vs. Wifi connection on mobile safari?

I am specifically asking about javascript on a mobile webpage, not an objective-c application. Is there something like Apple Reachability for javascript so I can tell when Edge, 3G or Wifi connection is made or changed?
angelfilm entertainment
  • 1,155
  • 2
  • 15
  • 31
18
votes
3 answers

What will happen to existing connections when switch between 3g/wifi

Assume that, I have a TCP connection that doing heavy data transmitting on my 3G network; and I walked home, Android switch to my home Wifi automatically. Now what happen to the existing connection? is it simply disconnect? or it will keep going,…
Hongbo
  • 535
  • 1
  • 5
  • 12
18
votes
3 answers

Get CellID, MCC, MNC, LAC, and Network in iOS 5.1

I need to retrieve CellID, MCC, MNC, LAC and Network (GSM, 3G) of the current Serving Cell Tower in iOS 5.1 (iPhone 4S). I know this information is available because I can see it in FieldTest Mode (accessible after calling ****3001#12345#****). I…
poorDeveloper
  • 495
  • 2
  • 6
  • 11
1
2 3
35 36