Hello,

Problem Statement:
------------------------------

I wish to achieve the following:

1. Create a GPRS connection from my application and get the assigned IP
address.

2. Send and Receive data through this connection.

I can find whether GPRS is in use using TelephonyManager's getNetworkType (
) call.

I can use the ConnectivityManager to find out the information on the "active
networks".

However, my doubts are listed below:

Doubts:
------------
1. I cannot find a way to initiate a GPRS connection without having to use
the browser. I want to send packets transparently.

2. Is there no way for starting a GPRS connection, like the WiFiManager
provides for WiFi connections?

3. There is a method by the
namegetSubtype<http://developer.android.com/reference/android/net/NetworkInfo.html#getSubtype()>()
in ConnectivityManager. Is the integer subtype returned here conform to the
network type constant
values of TelephonyManager ?  If so, kindly confirm.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to