![]() |
Check if Offline Mode
is there any way in code to check if the device is in offline mode?
|
Re: Check if Offline Mode
I don't know if it will be possible but you can look the libconic API. Libconic is the library that handles the Internet connectivity in the n800.
http://maemo.org/api_refs/3.0/connec...nic/index.html It could be useful in what you need. Also there is Python bindings. Cheers, |
Re: Check if Offline Mode
now that I have my n800... can't you parse the output of ifconfig?
rob. |
Re: Check if Offline Mode
yeah, thats one way to do it. But I don't think ifconfig is installed by default, is it?
|
Re: Check if Offline Mode
I think it is, but for non-root user the path needs to be specified - /sbin/ifconfig
rob. |
All times are GMT. The time now is 06:33. |
vBulletin® Version 3.8.8