![]() |
Re: work in progress: simple vertical sms app: vertsms
just crossed my mind while trying to get holding backspace delete 1 chat per 0.x secs that would threading help with "T9" load times?
If I get that working, threading will be imported to the program so it can be used. |
Re: work in progress: simple vertical sms app: vertsms
probably overkill. im going to play with it when i get home
|
Re: work in progress: simple vertical sms app: vertsms
if there are still questions how to add the sms you type into conversations, WebTexter application, that sends sms over voip (betamax and the like), adds it to the conversation of the person you target just fine. Without any lag, at least i dont notice anything.
so maybe some can ask the coder of WebTexter? (it is written in C/QT i believe) |
Re: work in progress: simple vertical sms app: vertsms
Quote:
|
Re: work in progress: simple vertical sms app: vertsms
Quote:
so that probably doesnt help because I've looked many snippets in C that do the trick through already e: and aspidites the way it is implemented isn't 100% errorproof. so it might get the el.db corrupted. so it would be nice to get official api working to get rid from the responsibility (and be able to get the app to extras eventually...) ee: I'll forget about api way for now, it seems hopeless. I'll just add checking of database and possible attempts to fix it if it is corrupt. if people start reporting corrupt databases, I must consider the api way again... |
Re: work in progress: simple vertical sms app: vertsms
how stable is the latest release of vertsms as i would love to start using it but i recently bricked my phone and had to reflash and i am trying to be cautious with what apps i install
|
Re: work in progress: simple vertical sms app: vertsms
Quote:
|
Re: work in progress: simple vertical sms app: vertsms
@gri: That's what he's been talking about the entire time-- ctypes. The problem is that the rtcom API is obscure at best.
Specifically post #137 of this thread. |
Re: work in progress: simple vertical sms app: vertsms
Quote:
Something like: insert_outbound_sms(name, number, text) That would be easy to write in c and prettier to read in python. |
Re: work in progress: simple vertical sms app: vertsms
@gri: If I understand you correctly, you are suggesting that we create an abstraction of rtcom in c and wrap that instead of raw rtcom?
Let me know when you're done :-) [rant]This is why I'm looking forward to the Qt Mobility API [/rant] |
Re: work in progress: simple vertical sms app: vertsms
Quote:
The problem is, even if I create python bindings for rtcom-eventlogger, these would not work with PR 1.1 :( Currently the autobuilder links librtcom-eventlogger.so.1, which is PR 1.2. PS: vertsms currently opens "/home/user/.rtcom-eventlogger/el.db". In PR 1.2 the file is "el-v1.db"! |
Re: work in progress: simple vertical sms app: vertsms
[face palm] I know vertsms uses gtk [/face palm]
|
Re: work in progress: simple vertical sms app: vertsms
Quote:
|
Re: work in progress: simple vertical sms app: vertsms
[rant]
@gri: You'll excuse me if I'm a bit agitated but your "help" seems to be suggesting things to be done that have either a) already been tried (ctypes) or b) aren't possible by your own admission or c) without any proof of how trivial it would be imply that it would be trivial when it isn't. If it were trivial it would have already been done. In the case that it is trivial and something obvious is being missing, patches are welcome. This seems to have worked for me, qwerty12, and a few others. You have offered...what exactly? Anyways, I'm sure I'm out of line, particularly because it's not my project, but I grow tired of some people suggesting implementations or features when they themselves haven't even offered any code. Hell, I even submitted a patch to a project I wasn't particularly interested in but seemed to be non-functional the other night (easyplayer). [/rant] Perhaps I'll say nothing more in these threads and continue to just submit patches.... |
Re: work in progress: simple vertical sms app: vertsms
Quote:
I've also already looked over the PyMaemo sources today to check how much work it would be to write rtcom-eventlogger bindings and submit them to PyMaemo. But if I understand you right, you suggest me to just write the code without asking anyone here if it is needed/wanted??? PS: Before you're going to palm-face again: I know it currently does it's work with sqlite. |
Re: work in progress: simple vertical sms app: vertsms
So here's my first python code I've ever written (and hopefully the last).
It currently hangs up in the line where the event is added to rtcom-eventlogger but I think this is because I don't understand ctypes. But maybe it helps someone. The whole code in c is easy, but Python is horrible to me ... |
Re: work in progress: simple vertical sms app: vertsms
Quote:
http://www.frals.se/maemo/rtcom.py |
Re: work in progress: simple vertical sms app: vertsms
YOU NEED T9 typing 1 letter at a time is useless for the portrait mode!!!!!!!!!
|
Re: work in progress: simple vertical sms app: vertsms
Quote:
E: typo |
Re: work in progress: simple vertical sms app: vertsms
Quote:
What shall I say the rtcom code works, but if the SMS is inserted into conversation, you can read the SMS but you cant open it. When you click on the inserted SMS nothing happens. So no way to delete it. And in the Contact View of "Conversation" the letter symbol in front of the contacts name shows an exclamation mark in the top right corner. Is this known? Any suggestions? [EDIT] gri just told me to remove the comment from the following line: Code:
#rtcom.rtcom_el_add_header(el, eventId, 'message-token', str(uuid.uuid4()), None)[/EDIT] Cheers Bjoern |
Re: work in progress: simple vertical sms app: vertsms
Quote:
if that is best you can do, stay away from vertsms threads please |
Re: work in progress: simple vertical sms app: vertsms
Quote:
|
Re: work in progress: simple vertical sms app: vertsms
million thankses from rtcom -stuff!
I'll try to add it to master repo today. I am waiting if someone is willing to fetch me dbus-log with 07xxx numbers that doesn't work. I have been really busy recently so there hasn't been much happening lately. but I am going to add also sending to multiple contacts too asap e: will push now the api way to add message to rtcom. seems to work perfectly and it doesn't btw need the own name: I just put "" to string value and it seems to work. |
Re: work in progress: simple vertical sms app: vertsms
Quote:
|
Re: work in progress: simple vertical sms app: vertsms
Quote:
|
Re: work in progress: simple vertical sms app: vertsms
Quote:
you have a issue with 07 numbers? if you do, it is good to know and I will ask you to help if needed. I am considering another way to send the message too. but for now I got everything I need covered. |
Re: work in progress: simple vertical sms app: vertsms
A few pages back someone explained the difference between how these numbers work ossipena. Also, there is a foreign sms helper program floating around somewhere. If I can find it, I'll update with links. Maybe it'll be useful.
|
Re: work in progress: simple vertical sms app: vertsms
Quote:
|
Re: work in progress: simple vertical sms app: vertsms
Quote:
and the most important part: without guessing country codes. one mistake could be pretty expensive there ;) |
Re: work in progress: simple vertical sms app: vertsms
Is it possible at add arabic letters? maybe something like this:
http://img641.imageshack.us/img641/8737/78119054.png |
Re: work in progress: simple vertical sms app: vertsms
Quote:
but the code can be used freely if someone wants to find out by himself. here is btw latest status report from my git branch: http://talk.maemo.org/showpost.php?p...&postcount=125 |
Re: work in progress: simple vertical sms app: vertsms
Sorry, haven't been following this thread a lot, but are there any changes I should push to -devel? :)
(The bugtracker in the control file is a first obviously) |
Re: work in progress: simple vertical sms app: vertsms
@ ossi - i have the problem sending to domestic format numbers (eg 07- rather than +447- ) i have zero knowledge of coding but i would love to contribute to this project in some small way if i can. let me know if you want me to test some things. i'm happy enough to harass all my friends with unlimited texts, or just text myself all day if thats easier! :)
e: forgot to say vodafone uk on contract, if thats relevant. |
Re: work in progress: simple vertical sms app: vertsms
Quote:
had small error while testing sending to multiple numbers: 1. used strip instead split. so 045xxxxx was converted to numbers: 0,4,5, x,x,x,x 2. forgot to put i=i+1 in while function that sends the message :D so my device has tried to send probably hundreds of messages (luckily I have 1000 free messages a month with my contract) to numbers like 0, 1, 2 etc and "unable to send sms to xx" -notifications kept on going until today. but finally got the test messages through and working so yes, you could build a new version to extras-devel. (just pushed a version that works again second ago) changelog: -message is written to conversations with api, not with sqlite anymore. -multiple receivers can be added. when inputting numbers with contact dialog, dialog must be opened once per number. if inputted with keys, * or # adds semicolon (;) that is the separator for multiple numbers for now. |
Re: work in progress: simple vertical sms app: vertsms
Quote:
|
Re: work in progress: simple vertical sms app: vertsms
Quote:
backspace deletes always the last number no matter where the cursor is. but that is under work too... |
Re: work in progress: simple vertical sms app: vertsms
Got the source, question though, aren't .pyo files compiled pyc?
(i.e are the .py files needed in the binary? or would the .pyo files suffice (they will be in the source eitherway)) |
Re: work in progress: simple vertical sms app: vertsms
it is probably best to include py files if someone wants to modify the app.
and btw the latest push in gitorious now has logical backspace functionality... so mornage you can dl files from git and create an icon for it yourself if the newest push doesnt make it to next version yet. |
Re: work in progress: simple vertical sms app: vertsms
Quote:
I could add Russian. Only I do not know the Arabian language and as it will be combined with PDU-format message |
Re: work in progress: simple vertical sms app: vertsms
Quote:
Qt supports translations as well as Right-To-Left support, so it should be possible to make a version containing latin, russian and arabic languages? |
| All times are GMT. The time now is 20:52. |
vBulletin® Version 3.8.8