maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [ANNOUNCE] VertSMS - portrait sms'ing in extras-dev (https://talk.maemo.org/showthread.php?t=51907)

woody14619 2010-05-05 18:45

Re: [ANNOUNCE] VertSMS - portrait sms'ing in extras-dev
 
First, MANY thanks to the OP and all those working on this project. I've been wanting something like this for a while but haven't had time to work on it. I may have time soon, and if so will jump in and try to get T9 working. :) But by all means if someone else has time before I do, please do add it!

Quote:

Originally Posted by troff76 (Post 644457)
Messages sent via VertSMS do not appear in Conversations.
Could that be fixed?

While Nokia's source is closed, there is an API for the database they used to store SMS, IM and the like. Check out the project GlogArchive for some code on how to access it. I'm pretty sure it's an SQL-Lite database, so doing a quick connect/insert/close would probably be all it takes.

stew-b 2010-05-05 19:17

Re: [ANNOUNCE] VertSMS - portrait sms'ing in extras-dev
 
this is a great start,been using it today a few times.it has the potential to be as essential as fmms for all owners if we can get it to do what everyone works :) great work guys!!

ossipena 2010-05-05 19:26

Re: [ANNOUNCE] VertSMS - portrait sms'ing in extras-dev
 
Quote:

Originally Posted by woody14619 (Post 644974)
First, MANY thanks to the OP and all those working on this project. I've been wanting something like this for a while but haven't had time to work on it. I may have time soon, and if so will jump in and try to get T9 working. :) But by all means if someone else has time before I do, please do add it!



While Nokia's source is closed, there is an API for the database they used to store SMS, IM and the like. Check out the project GlogArchive for some code on how to access it. I'm pretty sure it's an SQL-Lite database, so doing a quick connect/insert/close would probably be all it takes.

thanks for the link. I've only lurked for existing table entries from the db, haven't written anything there yet.

I'll see the link through and try to decipher the table entries. it probably isn't a hard trick at all codewise but finding out the command is a challenge.

Laughingstok 2010-05-05 19:45

Re: [ANNOUNCE] VertSMS - portrait sms'ing in extras-dev
 
How about doing the numbers on long press?

ossipena 2010-05-05 21:07

Re: [ANNOUNCE] VertSMS - portrait sms'ing in extras-dev
 
almost there with conversations db. but I must go to sleep now.

only thing missing is proper formatting of time

ossipena 2010-05-05 21:09

Re: [ANNOUNCE] VertSMS - portrait sms'ing in extras-dev
 
Quote:

Originally Posted by Laughingstok (Post 645080)
How about doing the numbers on long press?

yes this would be logical. I'll see about it as soon as I get backspace working well enough (the functionality is almost similar with those 2)

deganegane 2010-05-05 23:55

Re: [ANNOUNCE] VertSMS - portrait sms'ing in extras-dev
 
cheers... tried your app today, very nice work. only one question/suggestion... when virtual keyboard is on, taping on text box automatically runs full keyboard in landscape... can't that be blocked in the app, or the only solution is disabling entirely virtual keyboard? thanks!

ossipena 2010-05-06 05:33

Re: [ANNOUNCE] VertSMS - portrait sms'ing in extras-dev
 
Quote:

Originally Posted by qwerty12 (Post 643976)

^ simple patch to stop the OSK from popping up. Oh, I tested that under the PR 1.2 leak; I hear HILDON_GTK_INPUT_MODE_NO_SCREEN_PLUGINS may not do anything in PR 1.1.

so this should work in PR1.2? doesn't work in PR1.1.1. the most important part: can I just wait and it starts working eventually? ;)

e: and status report to here too: after I get one string manipulated a bit, it should be writable to conversations database. if my tests today go well, storing sent messages to conversations should be available in git source today.

CepiPerez 2010-05-06 13:44

Re: [ANNOUNCE] VertSMS - portrait sms'ing in extras-dev
 
1 Attachment(s)
@Ossipena:
I've made some tweaks, cause this app rocks and tweaking your code helps me to learn a little more python
Check this sh*t

EDIT: another tweak:

Added before:
- Buttons type selection (lowercase, uppercase, numbers)
- You can add receivers with buttons

Added now:
- Multiple receivers using space between numbers

qwerty12 2010-05-06 16:03

Re: [ANNOUNCE] VertSMS - portrait sms'ing in extras-dev
 
Quote:

Originally Posted by ossipena (Post 645775)
so this should work in PR1.2? doesn't work in PR1.1.1. the most important part: can I just wait and it starts working eventually? ;)

Yes. A crude trick that worked in Diablo was to connect to the "focus-in-event" signal for a widget and return TRUE. Not the best of ways and it might break some things, so I'd just wait for Nokia to actually get off their asses and release PR 1.2.

BTW, I got a crude form of repeatedly deleting characters when the back button is held by connecting the backspace button to the "button-press-event" and "button-release-event" signals instead of connecting to the "pressed" signal and using that tap-and-hold stuff.
The button-press-event handler will add a timeout function that calls the backspace function repeatedly after 150ms and the button-release-event handler will remove the timeout source from the main loop. Because my implementation of the idea is pretty **** (multiple characters deleted when only one should be if the button is not released quickly enough and it tends to delete an extra character), I won't insult you by uploading a patch but maybe a better idea could be developed from that.


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

vBulletin® Version 3.8.8