Le 07/10/2010 20:27, Darrik Mazey a écrit :
dOCtoR MADneSs wrote:
First of all, many thanks for this. I'm learning C and one of my first projects was to do something similar. On the suggestions side, I think it should be usefull to save SSL certificate from https servers. I use apache' http authentication. I'm quite paranoid ;) To hide password, at least in settings menu, should be very nice too. It should be nice to let user choose how long the alert status page is shown. Finally I installed your widget from your apt repo, configured everything (the username/pwd fields are for http auth ?) and it works pretty well.
Glad to hear you find it useful! Hiding passwords in the text input is something I realized but haven't gotten to yet. As for saving the SSL certs and comparing them, that's a good idea I hadn't thought of. It does use the SSL cert for establishing an encrypted connection (so your http basic auth isn't sent in the clear) but doesn't verify the cert in any way, mostly because everyone I know (including me) uses a self-signed cert.
Regarding the notification timing, you have two options. Manual (tap to dismiss) and the default N900 notification timeout, which I believe is 5 seconds.
If you feel like implementing any improvements, feel free to do so. You can fork the project on github, then give me a pull request when you're ready, or just send me a patch. If you're just learning c/c++, feel free to shoot me any questions about the code off-list (email or jabber: darrik at jabber.darmasoft.net). It's pretty straight-forward, but I'd be glad to offer any assistance I can. The world can always use more c programmers. ;)
Cheers, Darrik
Hi,
I've a strange behaviour since I installed your widget. When my device powers on, it asks me 2 times to connect. The first time I choose my connection (working), but the widget seems to ask a 2nd time anyway.