Dear Mark,
Thank you for your reply, First, sorry because of providing lack of information. Let me tell you a little about what I am doing now: I am developing an application on Ubuntun, with C programming language, which behave very similar to nm-applet, it manage all settings & connection state of an HSPA USB Data Device (it means only manage wwan connection type, you know). So, I decided to hack nm-applet source code. I have experienced with programming C & C++ on windows platforms, and I feel quickly familiar with programming C on linux. My problem is: I found few documentation of NetworkManager lib (libnm.) and don't know where to find API specifications also signals specifications. I did modify nm-applet GUI and now I need to continually get connection state (status, speed, description, .) to update my GUI forms ToanNC. _____ From: Mark Renouf [mailto:mark.ren...@gmail.com] Sent: Tuesday, March 16, 2010 4:39 AM To: Nguyen Canh Toan Cc: networkmanager-list@gnome.org Subject: Re: Newbie learn how to use NetworkManager lib Having just done such a thing I think I can help point you in the right direction. Of course, the exact methods and effort required depend heavily on your choice of language. If you are writing C, then I would recommend libnm-glib and libnm-util. You can monitor device state via gobject signal handlers. Anyone familiar with Glib can help you with that. Ping me off-list and I could share some code snippets. On Mar 16, 2010 4:12 AM, "Nguyen Canh Toan" <toan...@viettel.com.vn> wrote: Dear all, I am newbie to NetworkManager. Currently, I have to build an application which monitor networking state (connection state, current download & upload speed .) I don't know how to start. Please help :-( Thanks, ToanNC _______________________________________________ NetworkManager-list mailing list NetworkManager-list@gnome.org http://mail.gnome.org/mailman/listinfo/networkmanager-list
_______________________________________________ NetworkManager-list mailing list NetworkManager-list@gnome.org http://mail.gnome.org/mailman/listinfo/networkmanager-list