Is there a way to test Android, iPhone push notification without having one? - iphone

I need to create a push notification webservice for Android & iPhone, but I actually own an Iphone only, I'd like to be able to test on my machine the push notification.
I don't know anything to mobile device or development.

In order to push messages to Android using the Google Cloud to Device messaging (C2DM) requires an application on the device which has registered to the C2DM servers to receive push notifications. AFAIK, you cannot do a generic push (using C2DM) which will be received by all applications.
For more info on C2DM you can look at the documentation here and a good article can be found here.

You could download the Android SDK. It gives you the basic stuff you need to get up and running.
If you want a virtual machine, you can set one up using this guide. I set this up and it was pretty painless. I don't know how current it is, but it will at least get you something to work with.

Related

How to play notification sound in mobile website

I have a WebView mobile application. So I use a website embbeded in this application.I'm searching a way to play sound notifications in mobile website when the device screen is in locked mode.
How can I do this ?
I heard that this is called as Specific Push or Web Push but I couldn't find a code for this in anywhere.
Update 1
I'm trying with Swift and Xamarin.
Update 2
I learned from here that currently Web Push is not supported by Apple.
To send push notifications you can use something like onesignal.com or create your own push server. If you use Phonegap you can send local notification, but it will only work if your app is running while phone is in sleep mode.

Push notification mechanism used by other apps in Windows Phone

I want to know what push mechanism does gmail, facebook or other common apps use in Windows Phone? Are they using MPNS only or something else (like MQTT). For example, Facebook is available for all platforms so whether they are using different protocols for different platforms or using a common approach.
I want to implement push notification for my app. The same app is being developed for other platforms like Android and iPhone also. So I want to use a mechanism which can be used across platforms.
You can use Urban Airship, it provides support for Microsoft Windows Phone 8 and Windows 8 push through MPNS and WNS, but doesn't support MPNS push to Windows Phone 7 devices
Docs for .net http://docs.urbanairship.com/build/build_push.html#windows
Docs for iOS http://docs.urbanairship.com/build/build_push.html#ios
Docs for Android http://docs.urbanairship.com/build/build_push.html#android
Or Amazon SNS which requires more work
API for .net http://aws.amazon.com/sdkfornet/
API for iOS http://aws.amazon.com/sdkforios/
API for Android http://aws.amazon.com/sdkforandroid/
You should think of Push Notifications as a transport channel, not more. Each mobile platform (Apple, Google, Microsoft) uses it's own cloud to reach your device, and that's could be enough. Once reached, your mobbile app may do whatever it need (for example, to grab extra details about the notification as size of Push message is usually limited).
Given that in mind, it's not a big deal to create one server app communicating to 3 different clouds if sending notifications.

How can I target push notifications to both iPhone and Android?

I am developing apps for both Android and iPhone, and am looking for how I can push notifications to both (if you only have an answer for one, that's ok, I'm sure someone has an answer for the other).
For example, if I'm having a special on something and want to notify people so it sort of dings and a message pops up (I have a Groupon app that does that) how can I accomplish this? And do I have to reprogram each time, or can I do it through an RSS or something else?
For Android 2.2+ use C2DM. Apple also has a proprietary push notification service. In both cases you need to register with the company to use the system. Also in both cases you will need a web server able to communicate to Google and Apple.
If you don't want to have to support an entire server framework for communicating with both iOS and Android devices, take a look at UrbanAirship. It's a dirt-cheap service that allows you to push both plain- and rich- text messages to iOS, Android, and BlackBerry.
Gravy: It also has mechanisms for In-App Purchasing, and statistics tracking.
Maybe PushOver can be a solution https://pushover.net/ but there is probably other web services like that !

Appcelerator Push Notifications

I was wondering if it's possible to create a generic push notification solution for mobile devices (or at least Android and iPhone) with Appcelerator. I found some examples on how to implement iPhone Push with Appcelerator but nothing generic.
Any ideas? Or are there maybe other cross-plattform development sdk to solve this?
As far as I know, you can use the push notification service with iOS only.
See the documentation here.
Then, for the iOS, the simpliest way to send/receive notifications, is to subscribe for free for the UrbanAirship service.
You can find a nice tutorial here.
I only know of push notifications working in IOS (for iPhone) too. However, I understand that Cocoafish are soon working on push notification for Android. Backends like this and UA are about as generic as you can get.
Using Appcelerator Cloud Service(ACS) you can implement the Push Notification.
It is the simplest and reliable one. Follow below tutorial for ACS Push Notification implementation on Android and iOS
Android :
http://www.titaniumtutorial.com/2012/06/appcelerator-cloud-push-notification-in.html
iOS :
http://blog.teemusk.com/2012/05/building-server-push-notifications-with-appcelerator-titanium-cloud/comment-page-1
Hope it helps someone

Reminder feature in iPhone Native Application

In my native iPhone Application, I have a requirement to add a reminder to the user's iPhone Device.
Is it possible to implement this feature using current iPhone SDK ?
Or else is there any other way to implement this feature ?
Thanks in advance...
You need to use Push notifications. The steps involved in doing this are too lengthy and involved to list in this answer. Familiarize yourself with Apple's documentation. You will need a Push notification server or pay a service to handle the Push Notification server for you (such as iLime)