maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   work in progress: simple vertical sms app: vertsms (https://talk.maemo.org/showthread.php?t=51635)

ossipena 2010-05-08 06:06

Re: work in progress: simple vertical sms app: vertsms
 
Quote:

Originally Posted by aspidites (Post 648393)
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....

aspidites 2010-05-08 06:26

Re: work in progress: simple vertical sms app: vertsms
 
@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...

cb22 2010-05-08 13:25

Re: work in progress: simple vertical sms app: vertsms
 
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

Moolan 2010-05-08 13:48

Re: work in progress: simple vertical sms app: vertsms
 
Tapping quickly does not register the keys, is this a bug or hardware limitation

ossipena 2010-05-08 14:03

Re: work in progress: simple vertical sms app: vertsms
 
Quote:

Originally Posted by Moolan (Post 649319)
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.

kylepsp 2010-05-08 14:08

Re: work in progress: simple vertical sms app: vertsms
 
In the phone app it works fine, so the software can handle it.

ossipena 2010-05-08 14:09

Re: work in progress: simple vertical sms app: vertsms
 
Quote:

Originally Posted by aspidites (Post 648966)
@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

mikec 2010-05-08 14:34

Re: work in progress: simple vertical sms app: vertsms
 
Quote:

Originally Posted by ossipena (Post 649333)
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

juven69 2010-05-08 15:25

Re: work in progress: simple vertical sms app: vertsms
 
SOMEONE HELP ME :((
how i can download that app,,
i can't find the download button :((
pleasseee
thank u

MohammadAG 2010-05-08 17:30

Re: work in progress: simple vertical sms app: vertsms
 
Quote:

Originally Posted by juven69 (Post 649406)
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


All times are GMT. The time now is 20:52.

vBulletin® Version 3.8.8