background preloader

iOS 5.1

iOS 5.1
Learn how to add Push Notifications into your iPhone app! Update 4/12/2013: Fully updated for iOS 6 (original post by Matthijs Hollemans, update by Ali Hafizji). In iOS, apps can’t do a lot in the background. Apps are only allowed to do limited set of activities so battery life is conserved. But what if something interesting happens and you wish to let the user know about this, even if they’re not currently using your app? For example, maybe the user received a new tweet, their favorite team won the game, or their dinner is ready. Luckily, Apple has provided a solution to this. And when an event of interest occurs, the server-side component can send the app a push notification! Display a short text messagePlay a brief soundSet a number in a badge on the app’s icon You can combine these however you see fit; for example, play a sound and set the badge but not display a message. In this first part, you’ll learn how to configure your app to receive push notifications and receive a test message. Related:  gegerasolondraibe

Windows 8 by Peter von Lochow - .Net This blog post will explain how you can (using only the raw .NET Framework) implement push notifications for a Windows 8 Metro Application. Windows Push Notifications (WNS) in Windows 8 is actually quite similar to the model we are used to when working with a Windows Phone 7, so anyone of you that worked with those before will most likely recognize the tutorial coming up in this post. But before I go any further I would like to thank whoever wrote the official Push Notification Sample , it helped me a lot. Also a big thanks to Nick Harris for his post dealing with push notifications and his and Darren Louie’s video from BUILD. In order to get this to work we first need to register our application to receive push notifications. Let’s get started. Register your application to receive push notifications The first thing that we need to do, before writing any code, is to register our application to actually be discoverable by WNS. Client implementation Summary

Loading… Local notifications and push notifications are ways for an application that isn’t running in the foreground to let its users know it has information for them. The information could be a message, an impending calendar event, or new data on a remote server. When presented by the operating system, local and push notifications look and sound the same. They can display an alert message or they can badge the application icon. They can also play a sound when the alert or badge number is shown. When users are notified that the application has a message, event, or other data for them, they can launch the application and see the details. At a Glance Local notifications and push notifications have several important aspects you should be aware of. The Problem That Local and Push Notifications Solve Only one application can be active in the foreground at any time. Local and Push Notifications Are Different in Origination Local and push notifications serve different design needs. Prerequisites See Also

Apple Push Notification Services Tutorial: Part 2/2 Create a simple chat app with Apple Push Notification Services! Update 4/12/2013: Fully updated for iOS 6 (original post by Matthijs Hollemans, update by Ali Hafizji). This is the second part of a 2-part tutorial series on integrating Apple Push Notification Services (APNS) into an iPhone app. In the first part of the tutorial series, you learned how to enable your iPhone app to receive push notifications, and how to send a test push notification using a PHP script. In this second and final part of the tutorial series, you’ll learn how to make a simple app using APNS, and a simple PHP web service to power it! Note: This tutorial is on the long side, so make sure you set aside a nice chunk of time (and some munchies!) Getting Started: Introducing PushChat In this tutorial, you’re going to make a simple direct messaging app named PushChat that uses push notifications to deliver the messages. The first screen that a user sees is the Login screen. When the user presses the Start! The Server API

Local and Push Notification Programming Guide: Apple Push Notification Service Apple Push Notification service (APNs for short) is the centerpiece of the push notifications feature. It is a robust and highly efficient service for propagating information to iOS and OS X devices. Each device establishes an accredited and encrypted IP connection with the service and receives notifications over this persistent connection. Software developers (“providers”) originate the notifications in their server software. In addition to being a simple but efficient and high-capacity transport service, APNs includes a default quality-of-service component that provides store-and-forward capabilities. “Provider Communication with Apple Push Notification Service” and “Scheduling, Registering, and Handling Notifications” discuss the specific implementation requirements for providers and iOS applications, respectively. A Push Notification and Its Path Apple Push Notification service transports and routes a notification from a given provider to a given device. Quality of Service Example 2.

Android 2.2 Quicknav Quicknav Links Android Sites Language close Google Cloud Messaging for Android Google Cloud Messaging (GCM) for Android is a service that allows you to send data from your server to your users' Android-powered device, and also to receive messages from devices on the same connection. Key Developer Features Send data from your server to users' Android-powered devices This could be a lightweight message telling your app there is new data to be fetched from the server (for instance, a movie uploaded by a friend), or it could be a message containing up to 4kb of payload data (so apps like instant messaging can consume the message directly). Send "send-to-sync" messages A send-to-sync (collapsible) message is often a "tickle" that tells a mobile application to sync data from the server. Send messages with payload Unlike a send-to-sync message, every "message with payload" (non-collapsible message) is delivered. New Features Return Receipts Get Started About Android | Legal | Support

Notifications Developer Docs Notifying the User The notification system allows your app to keep the user informed about events, such as new chat messages or a calendar event. Think of notifications as a news channel that alerts the user to important events as they happen or a log that chronicles events while the user is not paying attention. New in Jelly Bean In Jelly Bean, notifications received their most important structural and functional update since the beginning of Android. Notifications can include actions that enable the user to immediately act on a notification from the notification drawer. Anatomy of a notification Base Layout At a minimum, all notifications consist of a base layout, including: the sending application's notification icon or the sender's photo a notification title and message a timestamp a secondary icon to identify the sending application when the senders image is shown for the main icon Base layout of a notification Expanded layouts Actions Avoid actions that are: Design guidelines Do

Oracle IOS Push notifications using Sencha Touch 2 | Isola Software If you are trying to send a Push Notification to your IOS6 iPhone/iPad Sencha Touch 2.2 Application may be you have found some issues. In this article we will see how to configure certificates, setup Sencha package.json and send notifications using PHP and C#. Introduction According to Sencha documentation - It’s simple but dosen’t work so easily. Let’s do it step-by-step. Using this tutorial on 30′ you are able to have a Native App with Push Notifications. Certificates Go on developer.apple.com and click on Profiles When you are in, select Identifiers -> App IDs -><your app> (appname in the screen shot) and press Edit Create the certificate the first time and then download it. Once you have the certificate you need to transform it in .pem with only public cert and key. appnameKey.p12 is the private key used to generate the push notification certificate from your pc. Now you can send push notification. Configure Sencha Touch Push notification server

Windows Phone 7 Tile notifications can update the images and texts of application tiles. Tile notifications are ideal for applications that convey small amounts of information, especially when that information changes frequently. For example, weather reports and compass headings are both good candidates for this category. You will implement the tile notifications application in the same three steps you followed to implement toast notifications, namely the following: Create a Windows Phone 7 Notification client application. 1. You will take the PNClient application that you have created and enhance it to accept tile notifications in addition to toast notifications. Launch Visual Studio 2010 Express for Windows Phone and open the PNClient project.Locate the BindToShell function inside the MainPage.xaml.cs file. Those are all the changes you need to make to the PNClient application to enable tile notifications. 2. Follow these steps to make changes for tile notifications: 2.1.

Les notifications iPhone et les certificats Jeudi, 20 octobre 2011 Nicolas Il n’est pas toujours aisé de travailler avec les notifications iPhone, c’est pourquoi les développeurs peuvent se simplifier la tâche en utilisant des programmes Open Source pour gérer la partie serveur. Si gérer les notifications push pour iPhone et iPad est assez simple, la partie certificat est plus obscure… Pour commencer avec les notifications, on peut utiliser un outil comme easyAPNS. Présentation de EasyAPNS EasyAPNS est un programme Open Source qui permet d’utiliser l’APNS (Apple Push Notification Service) sans se prendre la tête. Côté iPhone, easyAPNS vous propose aussi les instructions à mettre dans votre Application Delegate pour que les utilisateurs puisse s’enregistrer à votre service de notifications. Sans rentrer dans les détails, disons que EasyAPNS est plutôt bien fait et permet d’aller plus vite pour quelqu’un qui maîtrise déjà le développement iOS. La gestion des certificats Lien : easyAPNS. Articles similaires :

Character Set Migration This chapter discusses character set conversion and character set migration. It includes the following topics: Overview of Character Set Migration Choosing the appropriate character set for your database is an important decision. The type of data you need to store The languages that the database needs to accommodate now and in the future The different size requirements of each character set and the corresponding performance implications A related topic is choosing a new character set for an existing database. Data Truncation When the database is created using byte semantics, the sizes of the CHAR and VARCHAR2 datatypes are specified in bytes, not characters. During migration to a new character set, it is important to verify the column widths of existing CHAR and VARCHAR2 columns because they might need to be extended to support an encoding that requires multibyte storage. Figure 10-1 shows an example of data expansion when single-byte characters become multibyte. The approaches are:

Tutorial: Apple Push Notifications with PhoneGap – Part 1 This is part 1 of a new series to help explain how to set up and use Apple Push Notifications (APNs) in your mobile applications. Push notifications are different than local notifications in that they are coming from a 3rd party server to inform the user of something, versus a local notification which is scheduled by the application to run on the device itself without any server interaction. For instance you may receive a push notification from Facebook notifying you that someone has added you as a friend, or if you are a Words With Friends player you may receive a push notification indicating it’s your turn. An example of a local notification would be an alert popping up at a certain time or interval as a reminder from a to do application where you set a date/time to a task and the alert pops up to remind you at that specified time. There are Cordova/PhoneGap plugins to do both local and push notifications for iOS, but this series will focus on push notifications. Simple Server

Be carefull, the name of the PushCat should correspond to the name of your application if you want to have notifiication working correctly by daphi Jan 22

Related: