Reply
Thread Tools
ossipena's Avatar
Posts: 3,159 | Thanked: 2,023 times | Joined on Feb 2008 @ Finland
#141
Originally Posted by aspidites View Post
and you are sure you were committing your transactions with sqlite3?
100% certain. my code wrote to table and immediately read it. then the new line was there but when i opened conversations -nothing.

it appears there must be a dbus signal emitted etc so using api seems to be the only choice....
__________________
Want to know something?
K.I.S.S. approach:
wiki category:beginners. Browse it through and you'll be much wiser!
If the link doesn't help, just use
Google Custom Search
 
Posts: 402 | Thanked: 229 times | Joined on Nov 2009 @ Missouri, USA
#142
@ossipena: so you ran conn.commit() after your conn.execute() statements and the changes still weren't saved to the database.... odd.

Good luck with ctypes and rtcom API.

[edit]
Just re-read your post. It's possible then that the db table is being written to, but for whatever reason they aren't recongized in conversations? Hmm...
__________________
aspidites | blog | aspidites@inbox.com
 
Posts: 82 | Thanked: 214 times | Joined on Jan 2010 @ Cape town
#143
Making some progress with splitting the input handling from the GUI, as I said earlier... There's still a ton of stuff to do, but I've got predictive text actually working, and rather quickly too.

Unfortunately, the way I'm doing things, it adds quite a considerable startup delay. (Basically, I load the word list into memory, then split it up into smaller lists according to the length of each word. This allows really fast lookups (no delay at all, just like a normal phone) at the expense of a longer startup time. I'm sure there is a better way of doing this, but it will work for now.

Also, backspacing doesn't work (yet) and the dictionary is unordered... Meaning that if you want "are" and type "2-7-3", you will actually get "ape". Not very helpful

On a related note, Gitorious is rather cool...

Repo's at http://gitorious.org/~cb22/vertsms/cb22-vertsms
 

The Following User Says Thank You to cb22 For This Useful Post:
Posts: 28 | Thanked: 11 times | Joined on Dec 2009
#144
Tapping quickly does not register the keys, is this a bug or hardware limitation
 
ossipena's Avatar
Posts: 3,159 | Thanked: 2,023 times | Joined on Feb 2008 @ Finland
#145
Originally Posted by Moolan View Post
Tapping quickly does not register the keys, is this a bug or hardware limitation
it probably is software limitation far beyond my reach. the app writes based to hildon button pressed -event. so not registering : button doesn't register the action so improvements should be done to hildon button I quess.
__________________
Want to know something?
K.I.S.S. approach:
wiki category:beginners. Browse it through and you'll be much wiser!
If the link doesn't help, just use
Google Custom Search
 
Posts: 148 | Thanked: 31 times | Joined on Mar 2010
#146
In the phone app it works fine, so the software can handle it.
 
ossipena's Avatar
Posts: 3,159 | Thanked: 2,023 times | Joined on Feb 2008 @ Finland
#147
Originally Posted by aspidites View Post
@ossipena: so you ran conn.commit() after your conn.execute() statements and the changes still weren't saved to the database.... odd.

Good luck with ctypes and rtcom API.

[edit]
Just re-read your post. It's possible then that the db table is being written to, but for whatever reason they aren't recongized in conversations? Hmm...
good that you are so determined:

i had the commit but it had one frigging # in front of it

now it appears to conversations. device gets real laggy but I'll put that and let people test it. if there are problems, I'll get back to api but now I am doing it via sqlite.

e: just pushed the version that stores the message to git. I'll inform mohammadag that he can make ver 0.2 from current source.

next challenge for me: implementing better backspace. I already have a way to do it, need only to customize variable names etc. after that probably sending to multiple contacts
__________________
Want to know something?
K.I.S.S. approach:
wiki category:beginners. Browse it through and you'll be much wiser!
If the link doesn't help, just use
Google Custom Search

Last edited by ossipena; 2010-05-08 at 14:34.
 
mikec's Avatar
Posts: 1,366 | Thanked: 1,185 times | Joined on Jan 2006
#148
Originally Posted by ossipena View Post
it probably is software limitation far beyond my reach. the app writes based to hildon button pressed -event. so not registering : button doesn't register the action so improvements should be done to hildon button I quess.
Ossi I wonder if this is the same type of problem I had with Qt. ie fast double taps are interpreted as double click action in hildon.

see here

http://talk.maemo.org/showthread.php?t=52174
__________________
N900_Email_Options Wiki Page
 
Posts: 10 | Thanked: 0 times | Joined on May 2010
#149
SOMEONE HELP ME (
how i can download that app,,
i can't find the download button (
pleasseee
thank u
 
MohammadAG's Avatar
Posts: 2,473 | Thanked: 12,265 times | Joined on Oct 2009 @ Jerusalem, PS/IL
#150
Originally Posted by juven69 View Post
SOMEONE HELP ME (
how i can download that app,,
i can't find the download button (
pleasseee
thank u
This is a development thread, refer to http://talk.maemo.org/showpost.php?p=643862&postcount=1
 
Reply

Tags
portrait sms, python

Thread Tools

 
Forum Jump


All times are GMT. The time now is 12:16.