Cross-platform SDK and HTML5 tools for mobile app development
X
 

Notifications

Overviews

  • The Wormhole JavaScript Library

    This overview of the MoSync Wormhole JavaScript Library gives you access from an HTML5 application to native user interface components as well as cameras, compasses, files storage, push notifications, sensors, and a whole lot more.

IDE User Guides

  • Setting Application Permissions

    Some mobile devices (particularly Symbian and JavaME devices) require that your application has permission to access functions and services like Bluetooth, camera, contacts, Internet access, OpenGL, push notifications, sensors, and file storage. The MoSync SDK makes it easy to grant access to such services and functions.

Beginner's Guides

  • Working with JavaScript Prototypes

    The object hierarchy in JavaScript enables any object (which in JavaScript is just about everything) to inherit methods and properties. The parent object from which a child inherits is called the child object's "prototype". Prototypes are a great way to teach JavaScript new tricks, and we are going to take a look at some of the things you can do with them in this tutorial.

Coding Guides

  • Push Notification Handling in C/C++

    Push notifications are a useful way to inform users of external events, such as game updates or mail deliveries. In this tutorial we will take you through the steps of creating a simple application that uses the MoSync C++ Notification Library to register and receive push notifications.

  • The Notification Library and API

    Update: From MoSync 3.2.1 local notifications can be triggered on Android devices regardless of the running state of the application. Therefore, LocalNotification::setDisplayFlag() will have no effect and the behaviour will be consistent on both Android and iOS.

    Use maTime() ( instead of maLocalTime() )  in conjunction with setFireDate() in order to schedule a local notification, as shown in the example below.

    The MoSync Notifications Library provides a set of C++ classes and methods for handling both push notifications (coming from a service provider) and local notifications (originating from the device itself.) The Library is built on top of the MoSync Notifications API which provides a comprehensive set of C syscall functions.