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

Coding Guides

Extending HTML5 Mobile Apps with C++

With the MoSync SDK you are not restricted to just coding in HTML5/JavaScript. You can use the Wormhole communication bridge to talk to C/C++ from JavaScript — really useful when you want to extend your HTML5/JavaScript application with custom code written in C++. Read more...

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

PhotoGallery Explained

This article discusses programming techniques used in PhotoGallery example application, which is included in the examples/html5 folder of the MoSync SDK. In particular we look at the JavaScript APIs for file upload and camera capture, but we also discuss server programming, user interface programming in JavaScript, and how to extend an HTML5/JS application with custom C++ code. Read more...

Developing Mobile Apps in HTML5 and JavaScript

The MoSync SDK has rich capabilities for building complete applications with HTML5, JavaScript, and CSS. You can access device services and Native UI from JavaScript. You can include resources like images, audio files and videos. You can even extend your app with code written in C/C++, if needed. Read more...

Using the NativeUI Map Widget

The MoSync Widget C API's Map widget makes it possible for you to add a map to your application and perform different operations on it. This widget is only available for Windows Phone 7 and iOS.This tutorial presents all the functionality of the map widget and provides a full application example. Read more...

Using the ListView Widget

The MoSync C API's ListView widget provides much flexibility in displaying information lists in your app. The widget can display both alphabetical and segmented lists, and can have sections to group items. This tutorial takes a deeper look at this important widget. Read more...

Using SQL in Hybrid Apps

This tutorial demonstrates how to use the Database C API in a hybrid HTML/JavaScript/C++ application. In our tutorial on Web SQL, we made a simple game in plain HTML5/JavaScript; here we use C++ to implement the database functionality by invoking C++ code from JavaScript. Read more...

Using JavaScript Callbacks

Callback functions are very common in JavaScript, because JavaScript in the browser is single-threaded. Working with callbacks is an important part of your skillset as an app developer. This beginner's tutorial introduces callbacks and looks at their use within the MoSync Application Framework. Read more...

Using Web SQL in MoSync Apps

In this tutorial we will take a look at the Web SQL Database JavaScript API, a standard way of accessing SQL databases from JavaScript. We introduce the API and show how to use it in a MoSync application. In addition, we discuss alternative options for accessing databases from a JavaScript-based MoSync app. Read more...

Event Handling in a MoSync Hybrid Mobile App

A unique feature of the MoSync SDK is its ability to handle hybrid mobile apps: Mobile applications that mix HTML5, JavaScript and C/C++. In this overview we look at the event handling architecture of a hybrid app, with a particular focus on the Wormhole Libraries' handling of events and messages between the HTML5 and C/C++ layers of your app, and the MoSync Runtime on the device. Read more...