push

PHP technique to query the APNs Feedback Server

Hi all, Can someone clarify what the APNs (Apple Push Notification) wants as far as how you query it? The docs say it starts sending as soon as the connection is made. Does this mean that I don't do an fread() on it? Here's my current code to try and read it. I did NOT put the fread() in a loop as I do not know what response indicates...

Pushing value of Var into an Array

I know this is probably a simple question, but I'm attempting a tweak in a plugin & js is not my expertise and I got stumped on how to do the following: I have an array that can contain a number of values ($fruit) depending on what a user has entered. I want to add another variable to the array that isn't determined by manual input. I...

git push not send changes to remote git repository

Hi I am making changes to some file in my local git repository and then want to send the changes to the remote git repository from which the local was cloned via ssh. After run "git commit -a" on my local side, to send the changes to the remote, I run $ git push Everything up-to-date However I checked the remote files and they are n...

iPhone Push Notifications Custom Sound, no Vibrate in silent mode?

So, I have Push Notifications working fine to my app with Custom Sounds. However, when my iPhone is in silent mode, and I send a push notification with a custom sound, the sound obviously does not play, but there is also no vibration. If I send a push notification with a sound="chime" or something that doesn't exist like that, the iPho...

Ajax Push Engine

Hi all, are there anyone hear about APE (Ajax Push Engine) before ? I'm building Rails application and trying to create group chat with this APE realtime engine, the problem is how to make Rails communicate with APE Server ? Are there any tutorial or reference on working APE with Rails ? ...

Push Notifications in Android Platform

I am looking to write an app which received pushed alerts from a server. I found a couple of methods to do this. SMS - Intercept the incoming SMS and initiate a pull from the server Poll the server periodically Each has its own limitations. SMS- no guarantee on arrival time. Poll may drain the battery. Do you have a better suggest...

git says everything-up-to-date when pushing changes to a remote branch

i have commits that are in a remote repository (origin/master) which i want to put in a branch created from that repository (origin/remote_branch). when i checkout to that remote branch git checkout -b mybranch origin/remote_branch then cherry-picked the commits that i made git cherry-pick 9df63616b0428cf6edc4261adb533a1ac516b9a0 ...

AJAX, Server Push implementation questions

Hi, I'm relatively new to the whole AJAX way of doing things so please excuse me if I'll mix two different things (although I'd appreciate it greatly if you could comment me on that). My question is this: I have many web clients (lets say around 1500) whom I want when starting up to "subscribe" to the web server with some sort of Id and ...

Pushing untracked content with git

I have a project in git with a bunch of graphics (.jpg, .png, .tiff, etc). The graphics extensions are in my .gitignore (this can change) because I do not need to version the graphics (the department responsible for graphics has version cue and tracks their own changes to the graphics). However, when I push, it seems only the tracked con...

What kind of hosting do i need to serve as an Apple Push notification provider?

Hi, I am going to implement an Apple Push notification provider, but i am note very clear about the requirements to implement it. As today, i know that it needs: Cron job support. Database support. Scripts support (PHP at least). Outgoing 2195 port allowed. The question is: Do i need to contract a VPS hosting service or just any ...

ajax push server

Alright, I recently wrote a ajax push script which had php on the backend sleeping while waiting for someone to make an update. However, the sleeping processes took up a lot of cpu. Any ideas on how I can prevent this? I am guessing I will have to either find a program which can do the sleeping with threads or write my own in python or c...

Apple Push Notification in Erlang (or improved in Ruby?)

I currently have an Apple Push Notification running on my server in Ruby. I'd like to get one going in Erlang as I'd like to use a supervisor to keep watch over it. Does anyone have any code that they could help me with? Here's my Ruby code. One thing I do not like about this current implementation is that it does not seem to stay ...

iPhone Push Notification Unable to Connect to the SSL Server

I followed the instructions at: How To Build An Apple Push Notification Provider Server When I run the php script on my MacOSX or on Windows using Parallel desktop, the script works. But as soon as I run it on my hosting I get the message: Warning: stream_socket_client() [function.stream-socket-client]: unable to connect to ssl://gatew...

Push notifications (iPhone) give "111 Connection refused"

When I try to send Push Notifications I get this error: "Connection refused", but I don't know why... I've uploaded my apns-dev.pem in the same directory as well in the root-directory but that won't work either. <?php $payload['aps'] = array('alert' => 'This is the alert text', 'badge' => 1, 'sound' => 'default'); $payload = json_encod...

Problem registering Push Notifications. HELP!!!

Hello, I've recently started developing iphone applications for a project at school and I've been having some problems testing push notifications. I've read I need to get some SSL certificate from the program portal, but I cannot find the link AppID where I am supposed to get them. Is it really necesary even though I am just starting out...

GIT and VMWare/Volumes

I have MacBook and Ubuntu Server on it as part of VMWare fusion virtual machine. When I use GIT on my local disk (Mac) everything is working perfectly but when I try to use git on volumes I have problems. For example /Volumes/vm1/webfolder is my local .git repository. If I create clone like $git@myserver:byrepo.git then I check for c...

Message to a client from the server

Hi, I have to design a client/server system emulated on a website running Ruby on Rails that should work like this: a page is requested by a web browser and once it's opened the server can push messages to it I know this is not possible "naturally" but I was thinking of a sort of "java applet" that is running on that page, listening on...

What iPhone push notification services are out there? (Hosted services, not the APNS)

I'm looking to avoid running my own server all the time when dealing with Apple's push notification service. From my understanding, I need a constant connection to the APNS which I can't afford... I was planning on releasing my app for 0.99 or for free and I really don't want to spend a lot of money elsewhere. After a bit of googling ...

push notification receive and handle(help plz)

I have 2 problem I implement notification , install in my phone but when I send notification from provider, I didn't receive any notification , but when i use another phone i receive notification. Is there any setting for receiving notification? where of my code i must implement codes that must run when i click on"View button" on notif...

Push questions and help

Hay guys, I'm looking into reading about 'push' technology, but i think i may have heard about it in the wrong way. Is there are interesting things i should know about it? How can it be done in PHP? Can it be done in PHP? What's the general idea behind push? Thanks ...