← Back to team overview

ubuntu-phone team mailing list archive

Re: "Can I use the internet?"

 

On Tuesday 30 July 2013 16:50:06 Iain Lane wrote:
> 
> Admittedly I didn't know about it ;-) But looking at that API reference
> it seems to be more about mobile stuff whereas my question is a bit more
> generic than that — I want to know if there's an internet connection of
> any type available.
> 
> Maybe I can't see it on this API or maybe Qt has something else for that
> in which case I'd be happy to switch over.

AFAIK it should work for Desktop just like on the Phone. You can just get the 
list of all interfaces and check their status. Doesn't matter if its eth0, 
wlan2, vpn1 or something else.


References