Questions tagged [gprs]

GPRS refers to the 2G/3G data services provided by the mobile operators over GSM network.

GPRS refers to the 2G/3G data services provided by the mobile operators over GSM network.

435 questions
48
votes
2 answers

Enable/disable data connection in android programmatically

I want to enable/disable the data connection programmatically. I've used the following code: void enableInternet(boolean yes) { ConnectivityManager iMgr = (ConnectivityManager)getSystemService(Context.CONNECTIVITY_SERVICE); Method iMthd =…
JiTHiN
  • 6,548
  • 5
  • 43
  • 69
13
votes
3 answers

How to make an android peer to peer without using intermediate server?

I need to make an android peer to peer app that should work with any Internet connectivity and without using intermediate server. Can somebody plz give me any start up ideas. I haven't find any answer while googling. Any help would be…
Pawan
  • 1,503
  • 2
  • 19
  • 28
11
votes
1 answer

Writing a GSM modem driver?

I've been working on an application which uses a GSM modem for one of two things; check its status using the built in HTTP stack by sending a GET request to the server, or sending data to the server (using UDP). I have tried several different…
dantheman
  • 275
  • 2
  • 12
10
votes
2 answers

Google Android - how to figure out if 3g and 2g is turned on

I'm developing a simple application for the Google Android to turn on and off the wifi or 3g or 2g. I see http://developer.android.com/reference/android/net/wifi/WifiManager.html#isWifiEnabled() that you can see if the wifi is enabled or disabled…
Amandasaurus
  • 58,203
  • 71
  • 188
  • 248
9
votes
3 answers

How to provide option to select wi-fi or GPRS for network connectivity in android app

In my app i want to provide the user with the option to choose wi-fi / GPRS for network connectivity to the web server. May be answers to the following ques solve my prob ... 1. How to check which is the current default network connectivity option…
isumit
  • 2,313
  • 4
  • 23
  • 28
8
votes
2 answers

Use Arduino GSM/GPRS shield to send data to my web service

I know how to make calls and send SMSes using a GSM/GPRS shield for Arduino Uno. But I have a web service at the location http://mydomain.com/rest/receiveSensorData, and I want to send sensor data to this URL using a GSM/GPRS shield because I can…
codemaniac
  • 879
  • 1
  • 11
  • 31
7
votes
2 answers

Create Network Access Point Name with code,

I want to create APN by code, is there any support in Android SDK, i have tried a lot but not succeed,I found some info related to this http://blogs.msdn.com/b/zhengpei/archive/2009/10/13/managing-apn-data-in-google-android.aspx i made a class…
Sandeep
  • 2,573
  • 3
  • 21
  • 28
7
votes
1 answer

Android - Connectivity Questions

I have a couple of questions about connectivity on Android, if anyone has any insight it would be great. 1) What is the default when an application wants to wirelessly connect? Is it wlan? And if wlan is switched off or there is no access…
Donal Rafferty
  • 19,707
  • 39
  • 114
  • 191
6
votes
1 answer

what is the difference betweeen Tcp protocol and Remote Procedure Call?

can anyone please explain which protocol is more scalable and what the difference is between TCP (TRANSMISSION CONTROL PROTOCOL),and RPC(REMOTE PROCEDURE CALL).
Manjula
  • 61
  • 1
  • 1
  • 5
6
votes
3 answers

How to force a GPRS connection instead of 3G or Wifi?

I am writing an application where I need to have specifically a GPRS connection, even if wifi or 3G (or better) is available. I have figured out how to disable wifi (by using WifiManager), however, I can't seem to find out how I can programmatically…
Frxstrem
  • 38,761
  • 9
  • 79
  • 119
6
votes
2 answers

How to get the GPRS Mobile data usage for 1 month?

I have searched a lot about this. Found the same code everywhere which solves the purpose partially. As API documentation says, it reset the counter once the device restarts. Sometimes the counter just resets even without the restart. Below is the…
Bharat
  • 750
  • 1
  • 9
  • 20
6
votes
0 answers

Arduino GPRS http not responding

I am using arduino uno with itead 3G shield , my shield works fine but it doesn't responding properly with http command. After sending "AT+chttpact =......" it back me +CHTTPACT: REQUEST then when it send GET command it doesn't response at all…
6
votes
1 answer

How to use data connection instead of WIFI when both are enabled?

Both wifi and data connection are enabled. Since I need to use mobile data to send a http request to mobile carrier to get phone number, But android will use wifi as prior, so How can I use data connection instead of WIFI? When I enable the wifi and…
user5150403
  • 61
  • 1
  • 1
  • 2
6
votes
2 answers

3G/Edge/GPRS IP addresses and geocoding

We're looking to develop a mobile website. On this mobile website, we'd like to automatically populate a user's location (with proper fallback) based on their IP address. I'm aware of geocoding a location based on IP address (mapping to latitude,…
StephenPAdams
  • 2,797
  • 2
  • 30
  • 49
6
votes
1 answer

Android - is it possible to have 3G and Wifi connections at the same time?

I was wondering does anyone know if its possible to open a wifi and a 3g connection at the same time on Android? Is there any way to control access to both Wifi and 3g/GPRS data connections and use them at the same time?
Donal Rafferty
  • 19,707
  • 39
  • 114
  • 191
1
2 3
28 29