[android-developers] How to try to get connection via mobile network

2010-09-09 Thread Marc
Hi, I'm building an application for my own use, and I like to get connection via mobile network but I don't know how to do that. What I want is the same behaviour that offers severals existent widgets to turn on/off the data connection. Anybody can illuminate me please? Some code?? Any page with

Re: [android-developers] How to try to get connection via mobile network

2010-09-09 Thread Mike Adams
Not clear what type of connection really. But normal java socket code works in android. i.e. open a socket and read input and send output. The type of internet, if they are on wifi or 3g is not something you worry about. If you are googling for stuff you might try just looking for java code.