iOS 4.x/5.0 - push notifications for background/multitasking apps? - ios4

Is there a way to get an app to receive the remote push notification while it is in the background?
I don't want to see the regular (close,view ) notification on my device. i want to go silently into the app - and the app will do it's magic from their...showing it's own AlertView (with custom buttons, and playing the alert sound (even when the device is on mute)
Is that possible?? How can i convince apple to support such scenario?
Update: What about in iOS 5.0? is there going to be a change regarding the push notification mechanism now that it uses the notification center?

Sorry, you probably out of luck. The only idea I have is that you can try to push notifications that only set different badge number (without view and sound) and when you are inside you app download rest of the data. However, I'm not sure how good this idea is.

Related

MailCore2 on Apple Watch

I have created an app for the iPhone and iPad less than a month ago that uses MailCore2 to send emails without the use of a dialog box (like the one MFMailComposeViewController uses).
The app works great and based on reviews, the implementation of MailCore2 provides a sense of security to users when sending messages.
I am in the middle of creating the same app on the Apple Watch itself, and was wondering if implementation of MailCore2 was possible on this device. If so, can a link be attached so I could see how to implement this into my project? If this can't be implemented, are there other third party solutions for sending emails without a dialog box on the Apple Watch?
Thanks in advance to all who answer.
I haven't checked in a while but I was under the impression that no code actually gets executed on the Watch. You do all processing on the device and then send your results to the Watch via an extension (like the Today extensions in notification centre). The Watch only stores the UI and doesn't execute any code. In this case, as everything would still be done on the phone, I don't see why MailCore wouldn't work or would work differently.
Maybe they've changed the SDK since I last looked though and code is now executable on the Watch?

native notification Samsung Gear 2 Watch

I want to integrate with the native Samsung Gear 2 Notifications such that when my consumer app in the Samsgung Gear 2 Watch receives a certain data from my host provider, the User will get a Notification in the Native notifications app. How can I accomplish this?
I've spent 50+ hours googling, looking up docs, etc but there doesn't seem to be an answer. The best resource I could find are the links below, but even these seem outdated and don't work at all.
Help please!
So I've been following these Guides but neither of them work for me :
https://developer.tizen.org/fr/documentation/articles/how-use-tizen-notification-api?langswitch=fr
also
https://developer.tizen.org/fr/documentation/articles/notifications?langredirect=1
The error I receive when running the sample code they provided:
TypeError:'undefined' is not a constructor (evaluating 'new tizen.StatusNotification("SIMPLE", "Simplenotification",notificationDict)')
I figured it out. The answer is there is NO SUCH THING as native notifications for the Samsung Gear 2. That library is a private library owned by samsung only and only special people can have access to that. For the lay men the closest we can get is to enable notification via Gear Manager and have our paired phone relay notifications to the watch.

Windows azure notification hub devices registration native vs template

What is a difference when sending push notifications using templates SendTemplateNotificationAsync vs native SendAppleNativeNotificationAsync?
In a back-end we keep a track of device types that users are using. But I don't see what is the point to send native, as template works fine.
Template are indeed a powerful feature, especially when used for personalization.
The disadvantage is that changing the platform-specific payload of a notification requires updating the registration.
Usually template registrations are a good fit for notifications that have always the same format and target multiple platforms
Using native notifications sending might enable you to easily target specific devices, however you can achieve the same goal by using Tags.
The bottom line is that I also see no real value in using the native notifications other than simplicity on the client side development.
I also wouldn't be surprised to find out that the Notifications Hub itself is using the templates to send the native notification (but that is of course an assumption of mine...)

Push notification on iphone applications

I want to send advertisements to the application users using Push notification but i don't know is it possible or not.Can anyone help me to solve this issue.
If you want to send advertisements to your users, I would suggest iAd, theres a nifty tool called iAd Producer.
Another way to deliver other content besides iAds would be to use a UIWebView and create your own web based content that you can present as a modal view, or however else you would like.

Alarm Even Application Closed in iPhone

I am working on iPhone application in which there is an option for Alarm. Is it possible to araise alarm even my application close.
Yes to a certain degree there is, check out the local notifications programming guide (local notifications are available in iOS 4 and newer).
http://developer.apple.com/library/ios/#documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/Introduction/Introduction.html
Use UILocalNotification to set the notifications. Then even your application is not in foreground you will get alerts.
Use local notification available in 4.0. for a tutorial see this link

Resources