This maybe not possible, but is there a way to "listen" for iphone notifications or check what kind of notifications have come in from within a app? Is there an API for this? Or does Apple not allow it?
yes you can. Look at NSNotification
Here you have Notification Programming Topics
if you're talking about push or local notification, no you can't.
these would be a massive security problem.
unless your talking about your own push notification specifically send to your application, check out UIApplicationDelegate
Related
I need to know if its possible to make push notifications without use the APNS.
And if it can be done, what are the best options?
Web server ->pushNotification-> Device
What about the VoIP apps? --> Can we push notification without using APNs?
Thanks.
No, there is no way to use Push notification without APNS. This is restriction from Apple and is documented here
No you can not push notification to a device without using Apple's push notification service.
It is not possible to display push notifications for your application in the same way that the built in push notifications appear without using the Apple Push Notification Service.
You may be able to set up some kind of web socket-based solution, but that will not work when your app is in the background, thus defeating the point.
Check out Urban Airship
Push Composer makes sending Push Notifications simple for anyone in your organization. By putting the power of engagement into the hands of your business team, you can empower them to reach your customers quickly without adding strain on your engineering team. And because you can preview your message as you write it, you’ll know exactly how your users will see and engage with your message.
For my iphone game i need to implement a notification service from the server.
That is suppose 5 person playing the game(online game) then if any one of them made a movement
then that move must send to all his buddies. How can i achieve this. Is there any server programming needed. I'm not meaning the Apple push notification.
Can anybody help me
I don't think push notifications is the best way to do that. You should think about a permanent connection.
If you still want to make push notifications, the Apple doc is really clear
http://developer.apple.com/library/ios/#documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/Introduction/Introduction.html
I suggest looking into Apple's GameKit framework.
I am implementing APN's and want to release without switching it on yet..
So the app will happily receive them. but we will choose not to send them until later.
My question is, as when we want to send notifications is in our control, do apple care about this when reviewing the app.
I thinking not, maybe they send a test notification to the device to prove it works? but if anyone has any experience in dealing with this any info would be much appreciated.
Thanks.
Apple does not test the notifications during the review.
They doesn't register to notifications at the first launch of apps.
I'm looking for a way to get real time notification from a server in an iPhone App. I don't want to use Apple Push Notification as I have many notifications. My web service is coded in PHP, and I haven't figured out an easy way to implement this functionnality. Any idea what should I do?
Thx a lot for your help!
EDIT : I'm looking for a way to get notification only when the app is launched (otherwise, the only option IS Apple Push not.).
If the app is running you can open an http connection from the app to the server and have the server hold it open, pushing data through it when you want. This is basically how COMET works.
This will only work while your app is running. If you need the notification to happen even if the user has closed the app then Apple Push Notifications are your only option.
You must use Apple Push Notification for achieving push notifications cycle on Apple's mobile devices.
Is it possible to invoke an application on reception of an sms. I have created a sample application and it need to be launched when the iphone recieves a particular message. Is it possible to implement this in iphone. If possible, which way shall i do that... pls help...
In short, no.
In the long answer, I believe with version 3.0 you can have your app subscribe to Apple's push notification service. Meaning that you can have your app answer to a notification from Apple that you send. Not quite SMS, but it accomplishes the same thing.
Try this:
http://developer.apple.com/iphone/library/documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/Introduction/Introduction.html