MoSync 2.2+

Introduction to MAUI

This tutorial introduces the MoSync API for User Interfaces (MAUI). It describes how to use the MAUI library classes to build screens and widgets and how to extend the MAUI model with your own custom components.

Stylus

Stylus is a simple drawing program, where you draw with your mouse/stylus.

Emulating a Device

So that you can rapidly test your application from within the IDE, MoSync includes an emulator called the MoSync Runtime Environment (MoRE). MoRE can emulate any device in MoSync's device profile database. The device profile information provides all the configuration settings it needs. You can also install the native Android Emulator and iPhone/iOS Simulator and run your application in those too -- useful if you are working with OpenGL ES, NativeUI, or other APIs that are only available for Android or iOS.

HelloMAUI

HelloMAUI is a well-commented example application for beginners. It consists of a very simple graphical user interface application that uses the MAUI library and Moblet framework. It illustrates how to create MAUI screens, and how to position and control widgets.

HelloMoblet

HelloMoblet is a well-commented example application for beginners. It demonstrates how to use MoSync's Moblet framework to wrap your application to ensure timely response to key events.

MoSketch

This application demonstrates simple key input, graphics output, and the permanent storage option.

Simple

This example application catches key events and displays the keycodes of pressed keys.

Starting a New Moblet Project

This tutorial gives you a short introduction to developing mobile applications with MoSync. If you’ve never created a mobile application with MoSync before, this is a great place to start. In this tutorial, we’re going to create a new project in Eclipse, create a new screen, and interact with the user.

Using MAUtil Set, Map, HashMap

The MAUtil classes Set, Map and HashMap provide generic containers similar to std::set, map and unordered_map in the STL or Java's Set, Map and Hashtable. They provide many of the same familiar operations. Here we describe examples for Set, Map, and HashMap:

Creating User Interfaces With MoSync

For some mobile applications, the user interface elements can take up more than half of the source code. Getting every little detail right can add hours of frustration for the programmer. That’s why we have developed multiple solutions for cross-platform UI development: the NativeUI Library, the Widget API and MAUI. Each, in their own way, ensures UI consistency across multiple platforms from a single source base. Let’s take a look.


Share on Facebook