![]() |
2010-12-09
, 16:31
|
Posts: 1,048 |
Thanked: 979 times |
Joined on Mar 2008
@ SF Bay Area
|
#182
|
The Following User Says Thank You to uvatbc For This Useful Post: | ||
![]() |
2010-12-09
, 16:35
|
|
Posts: 722 |
Thanked: 1,223 times |
Joined on Apr 2010
@ USA
|
#183
|
qgvdial is now in the QT Ambassadors showcase.
"I am bassador"
The Following User Says Thank You to fcrochik For This Useful Post: | ||
![]() |
2010-12-11
, 17:34
|
Posts: 356 |
Thanked: 123 times |
Joined on Dec 2008
|
#184
|
![]() |
2010-12-11
, 18:06
|
|
Posts: 722 |
Thanked: 1,223 times |
Joined on Apr 2010
@ USA
|
#185
|
I am creating a quick program similar to android C2DM to push information to the n900. I plan on having a small script running in the background that takes care of receiving the notifications (so only one client has to be running, which will use less battery). How should this notify other programs on the n900 when it receives updates? Dbus?
![]() |
2010-12-11
, 20:13
|
Posts: 356 |
Thanked: 123 times |
Joined on Dec 2008
|
#186
|
![]() |
2010-12-11
, 21:13
|
|
Posts: 722 |
Thanked: 1,223 times |
Joined on Apr 2010
@ USA
|
#187
|
What is that? Do you have a link?
If it is the same as Ovi Notifications, I looked into that previously, and it said it was for meego, not maemo5.
![]() |
2010-12-11
, 21:30
|
Posts: 1,048 |
Thanked: 979 times |
Joined on Mar 2008
@ SF Bay Area
|
#188
|
I am creating a quick program similar to android C2DM to push information to the n900. I plan on having a small script running in the background that takes care of receiving the notifications (so only one client has to be running, which will use less battery). How should this notify other programs on the n900 when it receives updates? Dbus?
![]() |
2010-12-11
, 22:49
|
Posts: 356 |
Thanked: 123 times |
Joined on Dec 2008
|
#189
|
Sounds like an excellent idea. How can I help?
Edit: Also: Yes dbus is the way to go for Maemo and Meego as well as most other Linux distributions.
![]() |
2010-12-11
, 23:58
|
Posts: 1,048 |
Thanked: 979 times |
Joined on Mar 2008
@ SF Bay Area
|
#190
|
You could help me integrate the program into maemo / help me create the client, since you probably have more experience with that.
Should I create a dbus server on the device that other programs can subscribe to in order to get updates?
I installed mosquito (a mqtt server) on my ubuntu server, and was planning on hooking email, and other programs to it in a similar fashion to what I did in JPush. There are a bunch of different clients written for mqtt here.
I was tempted to use the mosquitto python library on the n900 since this is the only language I have used on the n900 (unless you have a preference for a different language).
You would need a mail server to be running on your n810, so I am not sure how well that would work. The documentation for JPush is not that great, and I know from experience that setting it up is a pain.
It always felt like a hack to use jabber status messages as the notification system in JPush (this presents some limitations). I can't decide if switching to something like MQTT would be worth the effort (and what the battery impact of yet another always open connection would be).
What we really need is a push service for the device like android, iOS, webos, etc have. Nokia is supposedly creating one, but it doesn't look like it won't be for maemo5, but for meego instead.
If you can expose a script that forces a message update, I can try to hook into it with JPush.
Let me know if you have any questions about setting JPush up, and I'll see if I can help.
Last edited by xur17; 2010-12-07 at 05:56.