maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [IN DEVELOPMENT] PUSH via Jabber tool (https://talk.maemo.org/showthread.php?t=63708)

xur17 2010-10-12 11:06

Re: Interest in PUSH via Jabber tool?
 
I'll post some more details later today, but just as a basic overview of the system I am using:

It uses an XMPP account on the server that is signaled in some way (right now by receiving an email), that makes the server switch its presence. The n900 program receives this via a dbus message that it subscribes to, and then takes the appropriate action (runs a script), such as checking for email.

I might add telepathy tubes in the future so actual data can be sent too, but that would come in a later release, since I would need to look into how to do that.

I didn't realize there was this much interest. I'll probably have some time to do some cleanup on the code this weekend. I just need a name for the program. Any ideas? I'll change this to an announce thread once I come up with a name.

mveplus 2010-10-12 11:14

Re: Interest in PUSH via Jabber tool?
 
Quote:

Originally Posted by xur17 (Post 839160)
I just need a name for the program. Any ideas? I'll change this to an announce thread once I come up with a name.

NPush (Or NoPush jokingly :p)

ossipena 2010-10-12 11:17

Re: Interest in PUSH via Jabber tool?
 
I am very interested...

petur 2010-10-12 12:04

Re: Interest in PUSH via Jabber tool?
 
What would be the big advantage between having the presence being polled all the time (as is done now), with also mail being polled (infrequently)?
Or do I misunderstand how the presence is updated right now?

bakuur 2010-10-12 12:22

Re: Interest in PUSH via Jabber tool?
 
first i want to see that im VERY interested in this app

as for a proper title or name for it then mmm... why not simple stuff like: 'push mail'
or 'PushN900'
i like the second one though, looks eye catchy.

thanks for your efforts,
bakuur

paulkoan 2010-10-12 12:40

Re: Interest in PUSH via Jabber tool?
 
I would keep n900 out of the name, and go for something more platform agnostic to avoid renames down the track when you redevelop for meego and other platforms :)

I seem to be one of the few people who puts up with battery drain to maintain an online presence (via xmpp).

Are people going to be willing to maintain a permanent data connection?

I was toying with a script that used Google Voice free SMS for push, which would then trigger the n900 to establish a data connection to get done what needed to be done.

elie-7 2010-10-12 13:10

Re: Interest in PUSH via Jabber tool?
 
cool man, and it would be awesome if it supports facebook pish notifications.

xur17 2010-10-12 16:31

Re: Interest in PUSH via Jabber tool?
 
Quote:

Originally Posted by mveplus (Post 839112)
Hi, great news - today I tought about it PUSH on N900.
Glad that you already done it!

Where is the script?

Greetings

The script isn't in a very user friendly state right now. I plan on making a few changes to it, and cleaning it up before I go ahead and release it.

Quote:

Originally Posted by petur (Post 839212)
What would be the big advantage between having the presence being polled all the time (as is done now), with also mail being polled (infrequently)?
Or do I misunderstand how the presence is updated right now?

The xmpp protocol updates presence and receives messages via push (the client opens a connection to the server, and that connection is left open, and new messages / presences are "pushed" to the client instantly), instead of via polling, where new messages, etc are checked for every X minutes.

Email (unless you are using nokia messenging, or microsoft activesync) is received by checking for new messages every X minutes. This program will notify your phone that there is a new message, so you can receive it instantly. If you are already using a jabber client on the n900, it should use less battery than nokia messenging, microsoft activesync, or even polling.

Quote:

Originally Posted by paulkoan (Post 839229)
I would keep n900 out of the name, and go for something more platform agnostic to avoid renames down the track when you redevelop for meego and other platforms :)

I seem to be one of the few people who puts up with battery drain to maintain an online presence (via xmpp).

Are people going to be willing to maintain a permanent data connection?

I was toying with a script that used Google Voice free SMS for push, which would then trigger the n900 to establish a data connection to get done what needed to be done.

It is probably a good idea to name it something that is platform agnostic, just to future proof the program. What about something like JabberPush? Is it a bad idea to use the protocol in the name, in case I ever support other protocols too?

I previously tried to use SMS for push, but there is no way to block SMS messages, so they don't get displayed (please correct me if I am wrong though).


Quote:

Originally Posted by elie-7 (Post 839250)
cool man, and it would be awesome if it supports facebook pish notifications.

This is definitely a possibility in the future. What sort of notifications would you want? This program is mainly going to notify other programs of new information, such as notifying facebrick that you have new messages, and then let it handle it.

xur17 2010-10-12 16:54

Re: [IN DEVELOPMENT] PUSH via Jabber tool
 
This software does require a program to be running on a server. How many people have access to a server that they could use for this?

uvatbc 2010-10-12 17:03

Re: [IN DEVELOPMENT] PUSH via Jabber tool
 
Quote:

Originally Posted by xur17 (Post 839420)
This software does require a program to be running on a server. How many people have access to a server that they could use for this?

I do.

Also: Add a poll to the thread.


All times are GMT. The time now is 22:13.

vBulletin® Version 3.8.8