View Single Post
pipeline's Avatar
Posts: 693 | Thanked: 502 times | Joined on Jul 2007
#4
I have written a sample program which i actually needed. It's only half-designed to be a sample and the other half complex network and parsing for real world application.

Its a program which (every 5 minutes) will check for new email on a pop email server and if you have new mail it will launch flite (separate speech synthesis program) to announce their 'From' and 'Subject' lines.

So you will need flite installed, and the mono, gtksharp, and pretty much install all the 1.0 libraries.

You also need to edit the glade file and set the default text of server, username, and password GtkEntry controls to your pop mail server settings.

It demonstates glade, launching processes, timers, string parsing/manipulation, and network streams (more advanced)

This sample used information from :
- This sample : http://www.codeproject.com/KB/IP/popapp.aspx
- This tutorial : http://nat.org/demos/gtksharp.html (<- Highly Recommend watching this!)

To rework (with help from flite) into this sample.

I've put up the source files (along with exe for those that just want to run it without compile) here :
http://wardenclyffetower.com/MaemoFiles/mono/samples/

(grab either tar or zip ... they are the same)

To compile :
mcs popmail-announcer.cs -pkg:gtk-sharp-2.0 -pkg:glade-sharp-2.0

To run :
mono popmail-announcer.exe
Attached Images
 

Last edited by pipeline; 2008-03-23 at 00:36.
 

The Following User Says Thank You to pipeline For This Useful Post: