Notices


Reply
Thread Tools
Posts: 356 | Thanked: 123 times | Joined on Dec 2008
#181
Originally Posted by uvatbc View Post
@xur17: A little OT, but I have been trying to configure your Jpush so that it initiates a sync on my n900 and maybe it is possible to use jpush to push a refresh request to qgvdial? I intend to use my n810 as the server so that I don't need to keep my main server on all the time - that would waste too much power.

Don't know if this is a direction worth thinking about
It is definitely possible to get JPush to send an update request to the n900. I had it setup to force TOR to update a while back, but I sort of gave up on it when I became busy with school.

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.
 
Posts: 1,048 | Thanked: 979 times | Joined on Mar 2008 @ SF Bay Area
#182
qgvdial is now in the QT Ambassadors showcase.

"I am bassador"
__________________
qgvdial: Google Voice client. All downloads
qgvtp: Phone integration for the n900 that dials out and sends texts using qgvdial.
mosquitto: message broker that implements the MQ Telemetry Transport protocol version 3.
qgvnotify: Google voice and contacts notifier for diablo and maemo.

If you want to thank me, click the Thanks button.
If you'd like to thank my applications, vote to move them to extras.
 

The Following User Says Thank You to uvatbc For This Useful Post:
fcrochik's Avatar
Posts: 722 | Thanked: 1,223 times | Joined on Apr 2010 @ USA
#183
Originally Posted by uvatbc View Post
qgvdial is now in the QT Ambassadors showcase.

"I am bassador"
Congratulations!
__________________

My maemo work:
------------------------------------------------------------------------------------------------------------------------------------------------------------------------
For Harmattan:
GeePS - native UI around google maps - GApp - access to optimized mobile "google apps".
Shutdown - shutdown and reboot with one click - QuickCall - one click call, skypeout and google voice integration using dial tones.
WakeOnLan - wake computers on your local network.
------------------------------------------------------------------------------------------------------------------------------------------------------------------------
For Maemo/N900:
GApp - access to optimized mobile "google apps". - MobWebMail: browser optimized to access multiple gmail accounts
MyContacts: 75 Contacts on your desktop, ring tones per group and more - GeePS: native front-end for google maps
Macuco2 : web browser to access web sites optimized for the iphone - WakeOnLan: wake up computers on your local network
dbBrowser: Simple application to browse sqlite databases
 

The Following User Says Thank You to fcrochik For This Useful Post:
Posts: 356 | Thanked: 123 times | Joined on Dec 2008
#184
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?
 
fcrochik's Avatar
Posts: 722 | Thanked: 1,223 times | Joined on Apr 2010 @ USA
#185
Originally Posted by xur17 View Post
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?
Have you looked into the new mobility "notifications" module?
__________________

My maemo work:
------------------------------------------------------------------------------------------------------------------------------------------------------------------------
For Harmattan:
GeePS - native UI around google maps - GApp - access to optimized mobile "google apps".
Shutdown - shutdown and reboot with one click - QuickCall - one click call, skypeout and google voice integration using dial tones.
WakeOnLan - wake computers on your local network.
------------------------------------------------------------------------------------------------------------------------------------------------------------------------
For Maemo/N900:
GApp - access to optimized mobile "google apps". - MobWebMail: browser optimized to access multiple gmail accounts
MyContacts: 75 Contacts on your desktop, ring tones per group and more - GeePS: native front-end for google maps
Macuco2 : web browser to access web sites optimized for the iphone - WakeOnLan: wake up computers on your local network
dbBrowser: Simple application to browse sqlite databases
 
Posts: 356 | Thanked: 123 times | Joined on Dec 2008
#186
Originally Posted by fcrochik View Post
Have you looked into the new mobility "notifications" module?
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.
 
fcrochik's Avatar
Posts: 722 | Thanked: 1,223 times | Joined on Apr 2010 @ USA
#187
Originally Posted by xur17 View Post
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.
I saw connected to symbian but being a Qt Mobility add-on I assume it could make to the n900.

Can't find where I saw about it, see if this offers any help:
https://projects.forum.nokia.com/notificationsapi

EDIT: this one seems to be based on ovi ... I don't know if this is the same I saw before...
__________________

My maemo work:
------------------------------------------------------------------------------------------------------------------------------------------------------------------------
For Harmattan:
GeePS - native UI around google maps - GApp - access to optimized mobile "google apps".
Shutdown - shutdown and reboot with one click - QuickCall - one click call, skypeout and google voice integration using dial tones.
WakeOnLan - wake computers on your local network.
------------------------------------------------------------------------------------------------------------------------------------------------------------------------
For Maemo/N900:
GApp - access to optimized mobile "google apps". - MobWebMail: browser optimized to access multiple gmail accounts
MyContacts: 75 Contacts on your desktop, ring tones per group and more - GeePS: native front-end for google maps
Macuco2 : web browser to access web sites optimized for the iphone - WakeOnLan: wake up computers on your local network
dbBrowser: Simple application to browse sqlite databases
 
Posts: 1,048 | Thanked: 979 times | Joined on Mar 2008 @ SF Bay Area
#188
Originally Posted by xur17 View Post
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?
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.
__________________
qgvdial: Google Voice client. All downloads
qgvtp: Phone integration for the n900 that dials out and sends texts using qgvdial.
mosquitto: message broker that implements the MQ Telemetry Transport protocol version 3.
qgvnotify: Google voice and contacts notifier for diablo and maemo.

If you want to thank me, click the Thanks button.
If you'd like to thank my applications, vote to move them to extras.
 
Posts: 356 | Thanked: 123 times | Joined on Dec 2008
#189
Originally Posted by uvatbc View Post
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.
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).
 
Posts: 1,048 | Thanked: 979 times | Joined on Mar 2008 @ SF Bay Area
#190
Originally Posted by xur17 View Post
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?
Yes. Its the most convenient, cross language way.

Originally Posted by xur17 View Post
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.
The Ubuntu server is the "default" usage - as in most people will initially do that. What I would prefer is if there were a way to run the publisher on my n810 - or even on my dd-wrt router.
The requirement is because I want to keep my energy costs as low as possible, which means that if I can have most of my publishers/server apps running on those devices that are "always on" then it would be a better utilization than starting my desktop and being forced to keep it on all the time.

Originally Posted by xur17 View Post
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).
I found mqtt, but all my searches for mosquito resulted in the nuisance insect rather than the mail server.

Is mosquito able to poll gmail / yahoo / exchange and when there is a new email, publish the results?

Is it possible for JPush (or its replacement) to do an imap4 client implementation that can lookup gmail or any other standards compliant imap server for new email?

Here is what I was planning for JPush:
1. Install Easy debian on n810, so that I have Java
2. Then install davmail so that I have an imap, ldap, caldav server that can read from Exchange
3. Use some email client that will regularly poll gmail and davmail imap for new messages. This email client will inform JPush about new messages
4. JPush will push a message to n900 to refresh email.

The n810 will sit at home and be permanently connected to the Internet as well as to power.
The n900 will travel with me and use much less battery power because of the push model.

This design can be extended to whatever else needs to have a push update: qgvdial, TOR, DC, eff, etc.
__________________
qgvdial: Google Voice client. All downloads
qgvtp: Phone integration for the n900 that dials out and sends texts using qgvdial.
mosquitto: message broker that implements the MQ Telemetry Transport protocol version 3.
qgvnotify: Google voice and contacts notifier for diablo and maemo.

If you want to thank me, click the Thanks button.
If you'd like to thank my applications, vote to move them to extras.
 
Reply

Thread Tools

 
Forum Jump


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