Reply
Thread Tools
Posts: 547 | Thanked: 1,379 times | Joined on Sep 2009 @ Stockholm, Sweden
#101
So yeah, some source code... http://irc.frals.se/maemo/fmms/fmms.zip

NOTE: THIS IS A MORE OF A PROOF OF CONCEPT THEN ANYTHING ELSE, IT NEEDS _A LOT_ OF POLISH BEFORE IT'S READY

also, it doesnt send confirmation/anything so whoever sends you the message wont get a delivery report etc.. basically it breaks the standard in most ways atm

with that said, feel free to try it out, theres a (very limited) readme in there... and uh, feel free to catch me on irc/here if you got any questions/comments

a big thanks to the kind Nokian who developed wappushd and shared the dbus interface with me as well as helping me get it all sorted
__________________

Problem with fMMS? Run in x-terminal: cp /tmp/fmms.log /home/user/MyDocs/
After that you'll see fmms.log in filemanager or when you connect the device to your desktop as a mass storage device.
E-mail the log to me, if you don't have the email address, drop me a PM. Thanks!

fMMS - MMS for your N900
fAPN - GUI for adding a new GPRS APN
If you like this post, don't be shy to thank me -->

Last edited by frals; 2010-01-02 at 19:44.
 

The Following 15 Users Say Thank You to frals For This Useful Post:
Posts: 47 | Thanked: 33 times | Joined on Nov 2009 @ Czerwionka, Poland
#102
First thoughts:

1) N900 is having hard times with your name mentioned in first lines of a source files Errors about encodings etc. I had to remove special chars.

2) Add info about python-conic dependency to README.
 

The Following 2 Users Say Thank You to tomaszf For This Useful Post:
Posts: 47 | Thanked: 33 times | Joined on Nov 2009 @ Czerwionka, Poland
#103
OK, I followed instructions, but it seems that push messages are not saved to my N900. Here's what I get:

[DEBUG] handle_dbus_message: incoming SMS push.
[DEBUG] handle_push: registered listener for `x-wap-application:mms.ua' is at `se.frals.mms//se/frals/mms'

No files in mms/INCOMING after that.

After manually creating .fmms/push I was able to run GUI, but the list is empty.

Any thoughts?
 
Posts: 547 | Thanked: 1,379 times | Joined on Sep 2009 @ Stockholm, Sweden
#104
kill service.py if its running then run it in a terminal (python service.py) when someone sends you an MMS, it should print some debugging info to the terminal


edit: do you get the notification "Incoming SMS PUSH"?


edit2: basically, the mms/INCOMING file is the last data that the dbus-service caught, and after its been parsed in wappushhandler it saves it to .fmms/push/[TRANSACTION_ID]
__________________

Problem with fMMS? Run in x-terminal: cp /tmp/fmms.log /home/user/MyDocs/
After that you'll see fmms.log in filemanager or when you connect the device to your desktop as a mass storage device.
E-mail the log to me, if you don't have the email address, drop me a PM. Thanks!

fMMS - MMS for your N900
fAPN - GUI for adding a new GPRS APN
If you like this post, don't be shy to thank me -->

Last edited by frals; 2010-01-02 at 21:39.
 
Posts: 47 | Thanked: 33 times | Joined on Nov 2009 @ Czerwionka, Poland
#105
After starting manually service.py I started getting INCOMING files.

Ok, I figured it out.
After changing line 92 in wappushandler.py:

file = open("/home/user/.fmms/push/" + transaction, 'w')

to:

myfile = open("/home/user/.fmms/push/" + str(transaction), 'w')

it works Push SMSes are saved now.

Last edited by tomaszf; 2010-01-02 at 22:10.
 

The Following User Says Thank You to tomaszf For This Useful Post:
Posts: 47 | Thanked: 33 times | Joined on Nov 2009 @ Czerwionka, Poland
#106
File gui_browser.py, lines 191 - 192. Something wrong here:
Code:
sndr = list[1]
url = list[2]
Should be
Code:
url=list[1]
.

Probably I received a mms Not sure yet, because I sent to myself multiple blank mmses. I will verify it soon.
 

The Following User Says Thank You to tomaszf For This Useful Post:
Posts: 47 | Thanked: 33 times | Joined on Nov 2009 @ Czerwionka, Poland
#107
Frails, good work. I'm able to receive MMSes.
Here's the proof



Message was sent from Nokia N80 (network operator: Play, PL) to N900 (Plus GMS, PL).
 

The Following 5 Users Say Thank You to tomaszf For This Useful Post:
Posts: 547 | Thanked: 1,379 times | Joined on Sep 2009 @ Stockholm, Sweden
#108
what fun is receiving if you cant send?

http://irc.frals.se/maemo/fmms/send.py

change line 60 to the proxy you use and it *should work*

note: you have to be connected to the correct apn when running this script
__________________

Problem with fMMS? Run in x-terminal: cp /tmp/fmms.log /home/user/MyDocs/
After that you'll see fmms.log in filemanager or when you connect the device to your desktop as a mass storage device.
E-mail the log to me, if you don't have the email address, drop me a PM. Thanks!

fMMS - MMS for your N900
fAPN - GUI for adding a new GPRS APN
If you like this post, don't be shy to thank me -->

Last edited by frals; 2010-01-03 at 11:04.
 

The Following 3 Users Say Thank You to frals For This Useful Post:
Posts: 304 | Thanked: 160 times | Joined on Jul 2008
#109
Originally Posted by tomaszf View Post
Frails, good work. I'm able to receive MMSes.
Here's the proof
Proof? It is impossible to see what yor image is about, other than some (unreadable) text on the display
 
qwerty12's Avatar
Posts: 4,274 | Thanked: 5,333 times | Joined on Sep 2007 @ Looking at y'all and sighing
#110
Originally Posted by bsving View Post
Proof? It is impossible to see what yor image is about, other than some (unreadable) text on the display
It clearly says: "Showing MMS"...

It may be an elaborate and very carefully planned hoax (), but I'd think not considering anyone is free to try out frals' program and the fact that the source is available...
 

The Following 5 Users Say Thank You to qwerty12 For This Useful Post:
Reply

Tags
brainstorm, fremantle, maemo, maemo 5, mms, n900

Thread Tools

 
Forum Jump


All times are GMT. The time now is 03:47.