Hi all,

I'd like to write an application that allows me to monitor the 3G data
traffic on my N900.
I've an option called "SuperInternet" with Tre Italy that gives you
100Mb/day Internet traffic.

It's not easy to keep track of transfered data, so I'd like to write a
desktop applet that monitor traffic and keep the amount updated.
I'm going to write this in Qt/C++.

I've some question before starting:

1) How can I detect, from a Qt/C++ application, if a 3G connection is
estabilished and when it disconnects?

2) Is it ok if I monitor the trasmitted/received data using ifconfig?
If yes, how can I execute ifconfig from an application running as
user? (Usually you can only execute ifconfig if you "sudo gainroot"
before).

Thanks for your help!

-- 
Andrea Grandi - Nokia Qt Ambassador
Maemo Community Council member
website: http://www.andreagrandi.it
_______________________________________________
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers

Reply via email to