How to enable the the mobile network perator programmatically?

by manoj » Sun, 29 Nov 2009 15:02:00 GMT

Sponsored Links
 Hi all,

I am using the ADP1. I inserted a sim in the device.

And I need to manually set the network operator.

Actually there are 2 ways to select the network. operator:

1.  (Settings > Wireless controls > Mobile networks > Network
operators > Select automatically)

2.  (Settings > Wireless controls > Mobile networks > Network
operators > choosing our network.

I want the first one (select automatically) programmatically. How to
achieve this?

Can any one please suggest me how achieve this one?



Other Threads

1. Question about sockets and connectivity

I'm the developer of an application that needs to keep a permanent
connection with a remote server. In order to achieve this goal a
socket instance is created when the application startups. The
outputstream and inputstrem instances associated with the socket are
used to exchange the data with the server. Also i have implemented a
reconnection mechanism: when the connectivity of the device is down i
launch a reconnection thread that detects if the connectivty has been
restarted to recreate the connection with the server (creating a new
socket). The main problem is a lot of users that have downloaded the
application reported that the application only keeps connected a few
minutes and is reconnecting so much.
So these are my questions:
-Is my approach (use a socket object) right to keep a permanent
connection with a server?
-Is there a limit of socket instances created in the same session of
an application? Sometimes happens that after 10/20 tries the socket
instance can't be created and the only alternative is closing the
application and starting it again. Please take in account that this
issue doesn't happen always.
-Do you know if Android platform provides another way to achieve my
I will appreciate your help.
Thanks, Pablo


2. AudioTrack - Doesn't stop playing as requested.

I've been trying to resolve the issue of the immediate termination of
the AudioTrack played in the MODE_STREAM track with no avail. To do so
I call stop and release;

                audioTrack = null;

I tried flushing but it made no difference.

It  finishes  playing the remaining of the buffer and than stops. It
seems like the problem renders the AudioTrack useless if one can't
stop playing at will. I can't imagine using it if I have to wait till
it finishes playing its buffer. And since this is the only sound
solution I can use for my application, the JetPlayer and the
SoundPool, do not fit my needs, I am left with the decision if I
should continue. It got to be a way. I assume others used it
successfully since I haven seen any post.  Any thoughts?


3. Visual Studio Android Development

4. "Sorry, this video is not available." when tapping on an embedded YouTube video from the Android browser

5. problem using softkeyboard with custom views

6. Soft keyboard won't open on custom view in landscape mode?

7. Application Development using C