* Gathered some notes on potential features to add
authorepage <eopage@byu.net>
Sun, 29 Jun 2008 05:10:07 +0000 (05:10 +0000)
committerepage <eopage@byu.net>
Sun, 29 Jun 2008 05:10:07 +0000 (05:10 +0000)
 * Started work on some device integration but am currently unable to test it so its all commented out

git-svn-id: file:///svnroot/gc-dialer/trunk@28 c39d3808-3fe2-4d86-a59f-b7f623ee9f21

TODO
build_script.sh
gc_dialer/gc_dialer.py

diff --git a/TODO b/TODO
index 3b2fa9b..af1ad6e 100644 (file)
--- a/TODO
+++ b/TODO
@@ -1,4 +1,13 @@
-User Contacts through DBus
+General Python/Maemo stuff
+       http://pymaemo.garage.maemo.org/documentation.html
+DBus
+       http://dbus.freedesktop.org/doc/dbus-python/doc/tutorial.html
+User Contacts
        http://maemo.org/maemo_release_documentation/maemo4.1.x/node8.html#SECTION00870000000000000000
+       https://garage.maemo.org/svn/pymaemo/packages/python-abook/trunk/tests/ especially contact_get_iter amd filter_model
+       http://pymaemo.garage.maemo.org/documentation/api/abook/index.html
 Clip board
        http://maemo.org/maemo_release_documentation/maemo4.1.x/node8.html#SECTION00880000000000000000
+       http://www.pygtk.org/docs/pygtk/class-gtkclipboard.html
+Internet Connection
+       http://maemo.org/api_refs/4.1/libconic-0.16/
index 0a554cd..f61e42f 100755 (executable)
@@ -38,5 +38,8 @@ echo "#!/usr/bin/python2.5" > build/usr/local/bin/gc_dialer.py
 #echo "from __future__ import with_statement" >> build/usr/local/bin/gc_dialer.py
 cat gc_dialer/gc_dialer.py gc_dialer/gcbackend.py gc_dialer/browser_emu.py | grep -e '^import ' | sort -u >> build/usr/local/bin/gc_dialer.py
 echo "import hildon" >> build/usr/local/bin/gc_dialer.py
+#echo "import osso" >> build/usr/local/bin/gc_dialer.py
+#echo "import abook" >> build/usr/local/bin/gc_dialer.py
+#echo "import evolution.ebook as evo" >> build/usr/local/bin/gc_dialer.py
 cat gc_dialer/browser_emu.py gc_dialer/gcbackend.py gc_dialer/gc_dialer.py | grep -v 'browser_emu' | grep -v 'gcbackend' | grep -v "#!" >> build/usr/local/bin/gc_dialer.py
 chmod 755 build/usr/local/bin/gc_dialer.py
index 37cf6cd..bb553df 100755 (executable)
@@ -141,6 +141,11 @@ class Dialpad(object):
                self.isHildon = False
                #if True:
                try:
+                       #self.osso = osso.Context("gc_dialer", "0.6.0", False)
+                       #device = osso.DeviceState(self.osso)
+                       #device.set_device_state_callback(self.on_device_state_change, None)
+                       #abook.init_with_name("gc_dialer", self.osso)
+                       #self.ebook = evo.open_addressbook("default")
                        self.app = hildon.Program()
                        self.wTree.get_object("callbackentry").set_property('hildon-input-mode', 1|(1 << 4))
                        self.isHildon = True
@@ -282,6 +287,13 @@ class Dialpad(object):
                self.recentmodel.clear()
                self.recenttime = 0.0
                self.reduce_memory()
+       
+       #def on_device_state_change(self, shutdown, save_unsaved_data, memory_low, system_inactivity, message, userData):
+       #       """
+       #       @todo Might be useful to do something when going in offline mode or low memory
+       #       @note Hildon specific
+       #       """
+       #       pass
 
        def setNumber(self, number):
                self.phonenumber = makeugly(number)