Re: [android-developers] Connect to an avaible Network

2012-03-14 Thread Robert Greenwalt
On Wed, Mar 14, 2012 at 10:10 AM, Kostya Vasilyev wrote: > > Calling > > it again with the same information may generate an error as it can't add > > twice. > > Not sure if that is the case. I believe the network will be added > twice (or more). > > Thanks Kostya, I think you're right. It looks

Re: [android-developers] Connect to an avaible Network

2012-03-14 Thread Kostya Vasilyev
14 марта 2012 г. 20:37 пользователь Robert Greenwalt написал: > I think that addNetwork adds to a persistent database of networks. That's true. > Calling > it again with the same information may generate an error as it can't add > twice. Not sure if that is the case. I believe the network will

Re: [android-developers] Connect to an avaible Network

2012-03-14 Thread Robert Greenwalt
I think that addNetwork adds to a persistent database of networks. Calling it again with the same information may generate an error as it can't add twice. If you then call enableNetwork using -1 as the networkID it will of course give an error. On Tue, Mar 13, 2012 at 11:57 AM, Endy Silveira < e

[android-developers] Connect to an avaible Network

2012-03-14 Thread Endy Silveira
Hello all, I googled it by days and got no success, I'm trying to connect to my WPA/WPA2 network when I put the Wifi On, it all over codes... If I was already connected to the network before I set the wifi off on the program, when I set the wifi on it connect, but I want to enter with the name