xSellize: Gmail + push on iPhone w/ Prowl - xSellize

Jump to content




  • (2 Pages) +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

Gmail + push on iPhone w/ Prowl

#21
User is offline   Deathshead 

  • Jailbroken
  • PipPipPipPipPip
  • Group: Members
  • Posts: 82
  • Joined: 26-December 08

bernardlychan said:

an alternative is Grip push notifications.


Grip is still early beta, and I have been using it for a few weeks now, it just pops up when it feels like it, lol... its not instant at all
0


#Ads
User is online x-bot

  • Ad-Bot
  • Group:x-bot




#22
User is offline   spamdumpster 

  • Donator
  • PipPipPipPipPipPipPip
  • Group: +Contributor
  • Posts: 272
  • Joined: 25-November 08

bernardlychan said:

an alternative is Grip push notifications.


Unless grip has added some new functionality that I'm not aware of -- grip is not an alternative to running prowl. Prowl is true push -- you get notified of emails as they come in to your inbox, Grip just notifies you when your device gets an email, which, unless you have exchange, is at most every 15 minutes.
0

#23
User is offline   GaMerZ 

  • Whats an iPhone
  • Pip
  • Group: Members
  • Posts: 3
  • Joined: 27-September 08
Woot, I tested it on a dedicated server and it works! Any idea how to make it start automatically? I am using putty to connect to the server, but when I type python main.py, it will listen but then I can't exit putty.

Got the code, use this:
nohup python main.py > /dev/null 2>&1 &
Also there is a bug with main.py.

Line 85 should be:
p.post("Gmail", subject, sender + body)
instead of
p.post("Gmail", subject, sender, body)
Because the 4th argument is invalid.

I have created a mini tutorial on my site http://lesterchan.ne...-own-webserver/. I gave full credits to the OP.

This post has been edited by GaMerZ: 12 August 2009 - 03:08 PM

2

#24
User is offline   GaMerZ 

  • Whats an iPhone
  • Pip
  • Group: Members
  • Posts: 3
  • Joined: 27-September 08
Woot, I tested it on a dedicated server and it works! Any idea how to make it start automatically? I am using putty to connect to the server, but when I type python main.py, it will listen but then I can't exit putty.

Got the code, use this:
nohup python main.py > /dev/null 2>&1 &
Also there is a bug with main.py.

Line 85 should be:
p.post("Gmail", subject, sender + body)
instead of
p.post("Gmail", subject, sender, body)
Because the 4th argument is invalid.

I have created a mini tutorial on my site http://lesterchan.ne...-own-webserver/. I gave full credits to the OP.

This post has been edited by GaMerZ: 12 August 2009 - 03:08 PM

2

#25
User is offline   xiechaos 

  • Whats an iPhone
  • Pip
  • Group: Members
  • Posts: 1
  • Joined: 24-July 09

crimsontwo said:

Your iphone is now constantly connected to Gmail. It does not use any bandwidth and simply idles until new mail is received. It then sends a message to the Prowl server which pushes it to your iPhone. You get a nice notification from the Prowl client.
If you have a dedicated linux server running somewhere, you can just execute those scripts from there instead of your iPhone.

I think the script main.py tries to reconnect with Gmail every 20 minutes, so it is not really suitable for running on iPhone
0

#26
User is offline   xiechaos 

  • Whats an iPhone
  • Pip
  • Group: Members
  • Posts: 1
  • Joined: 24-July 09

crimsontwo said:

Your iphone is now constantly connected to Gmail. It does not use any bandwidth and simply idles until new mail is received. It then sends a message to the Prowl server which pushes it to your iPhone. You get a nice notification from the Prowl client.
If you have a dedicated linux server running somewhere, you can just execute those scripts from there instead of your iPhone.

I think the script main.py tries to reconnect with Gmail every 20 minutes, so it is not really suitable for running on iPhone
0

#27
User is offline   GaMerZ 

  • Whats an iPhone
  • Pip
  • Group: Members
  • Posts: 3
  • Joined: 27-September 08

xiechaos said:

I think the script main.py tries to reconnect with Gmail every 20 minutes, so it is not really suitable for running on iPhone

I don't think that is the case, I am able to get push mail which is delayed for at most 1 minute since yesterday when I ran the script
0

#28
User is offline   GaMerZ 

  • Whats an iPhone
  • Pip
  • Group: Members
  • Posts: 3
  • Joined: 27-September 08

xiechaos said:

I think the script main.py tries to reconnect with Gmail every 20 minutes, so it is not really suitable for running on iPhone

I don't think that is the case, I am able to get push mail which is delayed for at most 1 minute since yesterday when I ran the script
0

#29
User is offline   bokusama 

  • iTouch addict
  • PipPipPipPipPipPipPip
  • Group: +Contributor
  • Posts: 147
  • Joined: 21-June 09
Don't want a dedicated server for this :-( GriP works nice, but as said is not push at all, just a preview while you do other things. Am testing with Yahoo, not much luck yet. Heard Gmail might support soon but just a rumor. No simple solution (scripts are cool but too complex for something not as important for me) yet other than draining battery through 1 minute polling :-/. Cheers, will be checking our progress and let you know of my own experiments if they ever work.
iTouch addict
0

#30
User is offline   chriscannon 

  • Whats an iPhone
  • Pip
  • Group: Members
  • Posts: 1
  • Joined: 20-September 09
Hello all,

I'm a developer and I've just created a python script that only requires OpenSSL to be installed to work. It one file and very simplistic.

Check out the SourceForge project for it here: https://sourceforge....rojects/gprowl/

Thanks,
Chris
0

Share this topic:


  • (2 Pages) +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic


Close  Member Login