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

MoSync SDK 3.0+

In-App Advertisement for JavaScript Developers

This tutorial for HTML5 and JavaScript developers explains how you can integrate InMobi banners into you MoSync HTML5 application. Read more...

Launching the IDE and Registering the SDK

The first time you start the MoSync IDE you will be offered the chance to register the product and you will also see the Welcome screen which provides helpful links to get you started. Here we look at some of the options you have when starting MoSync. Read more...

The MoSync Toolchain

The MoSync IDE uses a custom GCC backend that outputs MoSync Intermediate Language. This is fed into Pipe-Tool, our transformation engine, which builds code trees, analyzes, optimizes and outputs bytecode or java ready for packaging with the appropriate runtime. The packager does the work of producing the installable packages for your platforms and devices. Read more...

Using static code analysis to help find bugs

See video
A short video showing how static source code analysis can help you find bugs, particularly memory related errors. We use CPPCheck — a free, open-source analyser. Read more...

Using NativeUI with JavaScript

See video
In this screencast, we explain what Native UI is, why it is important, how it differs from actual web UI. We show you how to create a project from a template, run it on two emulators, create a new widget and run the app again – all using MoSync Reload. Read more...

Reading Sensors from JavaScript

One great feature of our Wormhole JavaScript Library is its ability to retrieve data from the device's sensors using just standard JavaScript code and HTML5 markup. In this tutorial we will show you a simple sensor-driven app that makes use of the HTML5 <canvas> tag. Read more...

A Flexible Moblet Class

If you have programmed a MoSync app in C++ you have probably used the Moblet class. This class abstracts away the low-level MoSync event loop and provides high-level methods and listeners to reduce the amount of code needed to develop mobile apps. As with all abstractions, the Moblet class also takes away some of the control from the developer. A game developer asked on Twitter how to dynamically start and stop the Moblet event loop, and when I looked into this it turned out that the functionality required for doing that was abstracted away and hidden from the programmer. Read more...

What's New in MoSync SDK 3.0

Our 3.0 release is a major step forward for cross-platform mobile application development. We've made it easy to port existing PhoneGap JavaScript apps to MoSync with little or no change required. We've implemented the majority of our libraries and APIs on Windows Phone 7. We've made it possible to access native widgets from your JavaScript code. There are great new C++ libraries for notifications, and APIs for advertising banner, SQL databases, and audio streaming. Read more...

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. Read more...

Installing the MoSync SDK for Windows

In this guide we describe the system requirements of the MoSync® SDK for Windows, and how to download and install it. We also describe how to upgrade from a previous release of the MoSync SDK for Windows. Read more...