![]() |
Offline mode
hello,
Dear All, How can i check if N900 is in offline mode or normal mode? C or c++ not QT kindly advice Regards Wael |
Re: Offline mode
Quote:
|
Re: Offline mode
if you want to do it properly, use dbus libraries
http://wiki.maemo.org/Documentation/...per_Guide/DBus this will work from the command line, but you should figure out which part is which and just send it directly. /usr/bin/dbus-send --system --type=signal /com/nokia/mce/signal com.nokia.mce.signal.sig_device_mode_ind string:"flight" |
Re: Offline mode
oh i guess you wanted to check, not change, hmmm...
i'll try to find it http://maemo.org/api_refs/5.0/beta/m...-names_8h.html i think flight and offline is the same thing |
Re: Offline mode
check wiki for 'phone control', there is a script that returns the current profile.
|
Re: Offline mode
script <> programming
he said c or c++ if someone writes a c++ program that uses the shell to run dbus commands, they should not write any apps... lol |
Re: Offline mode
Dear All,
Thank you for reply This sample contain what i need http://maemo.org/development/trainin...n_html/node12/ Regards Wael |
All times are GMT. The time now is 08:19. |
vBulletin® Version 3.8.8