general tutorials
Our latest tutorials.
Introduction to MAUI
Published by Sam Pickard on January 15, 2010
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.
Sensor Control
Published by Bogdan Iusco on September 15, 2011
Modern
smartphones have a variety of in-built sensors to detect, for example,
movement, orientation, rotation, proximity, and magnetic fields. This
tutorial explains how to start and stop sensors, and to receive sensor
data in your application through the MoSync Sensor API.
Controlling Cameras
Published by Ali Sarrafi on September 15, 2011
In
this tutorial we take a look at how to control a device's cameras
through the MoSync Camera API. With the Camera API you can discover the
number of cameras a device supports, set properties like zoom and image
format, embed previews in your application, and, of course, take a
picture. We also have an example application for you to look at, CameraDemo, that demonstrates some of the basic principles described here.
Starting a New Moblet Project
Published by Sam Pickard on May 27, 2011
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.
Downloading Audio from the Internet
Published by Sam Pickard on April 28, 2011
In addition to the standard methods of downloading data using the Connection, HttpConnection, or Downloader objects, the MoSync SDK provides a special downloader, the AudioDownloader class, for retrieving audio files from the Internet. The AudioDownloader is a useful wrapper for the Downloader
class and is specifically for audio files.
HelloWorld, Deconstructed
Published by Chris Hughes on April 14, 2011
In our beginners tutorial called Creating Your First Application we skipped over many features of the "Hello World" application that we asked you to paste into the IDE. In this tutorial we are going to take a much deeper look at that code, examine the basic structure of a C++ application, and discuss some basic design decisions we have made in the MoSync approach to mobile application development.
Collections in MoSync
Published by Sam Pickard on July 21, 2010
The MoSync SDK provides several different collection objects, suitable for different occasions. Collections let you deal with sets of object collectively, but the way you access the collection varies. Collections are not implemented consistently in MoSync though, so different collection types are not as interchangable as you might expect.
Creating Bluetooth Clients
Published by Sam Pickard on June 30, 2010
In our Discovering Devices and Services with Bluetooth tutorial we demonstrated how the MAUtil::BluetoothDiscoverer class can be used to locate nearby devices and find out which Bluetooth services they support. Once you’ve discovered a device and a service you will need to write a client for that service and open a data connection to the server. That's what we will be doing in this tutorial.
Creating a Bluetooth Server
Published by Sam Pickard on June 30, 2010
Many people are developing Bluetooth applications in MoSync. Some of the most interesting applications involve creating a new Bluetooth service so that the user’s phone can receive incoming messages on Bluetooth and act on them. In this tutorial we take a look at using the MAUtil::Server class to provide Bluetooth services.
Discovering Devices and Services with Bluetooth
Published by Sam Pickard on June 29, 2010
Implementing Bluetooth in your application is usually done in three stages. Firstly, there is device discovery: getting the phone to scan for other devices in range. Secondly, there is a service discovery: querying a discovered device to see which protocols and services it supports. Lastly, there is the implementation of a service, a specific transfer of data. This tutorial covers the first two steps: discovering devices and services.
Share on Facebook