C++
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.
C++ Standard Template Library (STL)
Published by Gabriela Rata on October 14, 2011
The
C++ Standard Template Library provides a set of common classes and
interfaces that greatly extend the core C++ language. It provides a set
of classes such as containers, associative arrays, iterators, functions
objects, and strings. It also provides algorithms for counting, sorting,
finding, coping, and replacing elements in a container.STL is almost entirely written in the form of C++ template classes that
provide common programming data structures and functions. These template
classes are all members of the std namespace.
MoSync with Visual Studio 2010
Published by Fredrik Eldh on August 26, 2011
You can use MoSync with Microsoft Visual Studio although much of the functionality concerning building for mobile devices will be lost this way. The gain is that you will be able to use the fully-featured debugger in Visual Studio. Here we describe how to set up Visual Studio, and how to use it to build and debug an application.
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.
Using MAUtil Set, Map, HashMap
Published by Fredrik Eldh on May 17, 2011
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:
MoSync for Java and C# Developers
Published by Sam Pickard on May 16, 2011
Mobile offers developers a new world, with cool devices and nice, easy, small projects compared to that monstrous and boring enterprise code you've been doing in Java or C#, right? Right! However, there are somethings I'm going to tell you to help you move your Java/C# skill to C++ in MoSync. The reality is that both Java and C# are based on syntax from C, so you are going to be able to read C++ source code without anyone having to explain how curly braces work or reminding you to put a semi-colon at the end of the line, which is cool.
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.
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.
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.
Custom Downloaders
Published by Sam Pickard on June 07, 2010
There are obvious occasions when you want do download data from the Internet for your games or application. There are even obvious occasions when you want to download images and sounds using the ImageDownloader and AudioDownloader. What might appear less obvious is the use of a Custom Downloader.
Share on Facebook