Hi!

I've got - maybe very easy or even trivial - question: the target is - you start application(it may be "HelloWorld" ) and during start device automatically turn on wifi and try to connect to known network, then if it'd be unsuccessful - device should try to connect via gprs.

Can anybody help me?
It would be grateful, if your answer would contains clear steps

Thanks!