Hello,
I want to make an event based framework where people extend a class and then get notified of different events such as incoming SMS, updated GPS coordinates,calls etc. So basicly Im thinking of doing a while(true) loop in the main class and then call the methods once a certain event has occurred. However Im afried that an while loop which does not sleep will take up too much power consumption....
Any ideas how I can just alert users of events with my framework? Can I tell python to call a certain method once an event occours? Then I would just be able to forward the event...

Reply With Quote


