BT

V-Play Enables Qt-based Cross-platform Native Mobile App Development

| by Sergio De Simone Follow 21 Followers on Nov 04, 2015. Estimated reading time: 5 minutes |

V-Play is a desktop and mobile cross-platform development solution based on Qt. V-Play aims to make it easier for developers to create apps by using JavaScript and QML, the Qt 5 declarative language. V-Play supports iOS, Android, WindowsPhone, BlackBerry and other mobile platforms. InfoQ has spoken to Christian Feldbacher, CEO & Co-Founder of V-Play.

V-Play aims to provide default native look and feel, high performance thanks to its C++ backing, easy animations thanks to Qt Quick, and more. It also makes it possible to use platform-specific features by integrating custom C++, Objective-C, or Java code.

V-Play was originally born as a 2D game-development engine and recently extended its offerings to also support generic mobile app development. This is an example of how you would declare a simple “Hello World” app in QML using ready-made V-Play UI components:

import VPlayApps 1.0

App {
  Page {
    AppText { text: "Hello World" }
  }
}

V-Play provides a large list of components that covers UI, multimedia, networking, etc. Importantly, all components that V-Play makes available through QML are implemented in C++, which guarantees the best performance. V-Play also claim that thanks to QML you can write 10 times less code than using C++ directly. V-Play provides a number of sample apps including a Twitter app, a messaging app, and a weather app.

InfoQ has spoken to Christian Feldbacher, CEO & Co-Founder of V-Play to learn more about their product.

Could you describe V-Play evolution?

The Qt framework, which V-Play is based upon, was already well suited for app development. Mainly because of its key advantages:

  • QML, the Qt Meta Language: a declarative scripting language with full support for JavaScript for the application logic, and many features that enable huge code savings. QML is also easy to learn and understand.
  • Animated UIs & Customizable Themes: These are very simple to do in QML, and because they are getting more and more important for mobile apps, QML is a good fit for mobile development.
  • Native Performance: The rendering of Qt apps is done via a scene graph renderer that was fully reworked and optimized for mobile by the Qt team just a year ago. This results in high performance mobile apps. Plus, the Qt framework itself is written in C++ so it is as native as it can get.

So we’ve been using Qt and some of the existing V-Play gaming components for internal app development and for mobile app client projects for a while now. In the process, we noticed that we reused many of our new, internal components in different mobile apps to further accelerate production time.

This was the starting point of the V-Play Apps SDK: mobile components that simplify app development with the Qt framework. These components allow you to write responsive apps that auto-adapt for smartphone/tablet and portrait/landscape changes. They also allow you to have a native user experience on iOS and Android, without needing any platform-specific changes.

After using the SDK in multiple apps and fine-tuning the API, we finally released the first public version of V-Play Apps in August 2015.

The mobile cross-platform arena is pretty crowded. What are the main benefits that you bring to the pack?

In our team of mobile developers we have a lot of experience with mobile app development ranging back to the very first days of the iPhone 1 and Google G1. During these past 8 years the development landscape changed a lot: in the beginning native iOS or Android development was the only choice, and later on more and more frameworks were released to allow cross-platform development.

We have worked with many of these frameworks in the past, and still in some cases choose or recommend native Obj-C/Java development. However, for the majority of mobile apps, a cross-platform framework is the best route given the time and costs you save.

If you use frameworks that are HTML5-based, you will have a poorer experience and performance in comparison to a native framework like Qt and V-Play. On the other hand, tools like Xamarin require a massive amount of code for getting things like animations done.

With V-Play, our mission is to create the easiest to use app framework while maintaining native performance, look and feel, just as we did for the V-Play Game Engine.

The fact that QML enables rapid development can be seen in the sample apps that we provide: For example the Twitter app (it comes with full source code in the SDK!), only has 500 lines of code including access to the Twitter REST API and animations just like in the native Twitter app. You can check the code for yourself and test this app on your mobile here.

Also, as QML builds on using JavaScript, you have an easy time learning the framework. Most developers report they are productive after just a single day. Thus the learning curve for new developers is very small. There was a cross-platform tool report last year by research2guidance that shows this: V-Play was scored 1st place in front of others like Xamarin, KonyOne or Titanium in terms of time savings & easiness to learn. (2,188 developers participated world-wide).

Mobile app support is a recent addition to V-Play. What are the next major features that you are going to add?

We will put a lot of effort into adding more sample applications that you can use as a starting point for your mobile app, like a navigation app or a newspaper application. Also at the top of the list is improving the tooling: with V-Play Build Server you will soon be able to deploy your apps to multiple iOS and Android devices without needing to install any SDK on your work PC. This will also enable deployment from Windows to an iPhone or iPad for example.

However, we also closely listen to the feature requests from our community – so if a feature is often requested we put that one over all others. In the end, all we want to do is make cross-platform mobile app development easier with the V-Play Apps SDK. Over the past 4 years, we’ve learned this can be best achieved by working with the developer community.

V-Play offers a free-tier that allows developers to try out the platform and build apps with some limitations, such as not using V-Play's own in-app purchase or mobile advertisement plugins.

Rate this Article

Adoption Stage
Style

Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Tell us what you think

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

review by Darshan Thakker

V-Play makes cross-platform development much easier especially for native app development

There are many beenfits by David Johnson

tools are necessary fro the app development or even for the web design... such tools no doubt offer many benefits like the one easy development... but better to go with the experienced app developers for app providers like Indeses Business Ventures

Cross Platform App Development by Dipti Arora

Nice post to read as an app developer. I have developed a number of apps with the help of various cross platform mobile app development tools. It is the future of app development industry, as it saves lots of time, money and efforts.

I want to suggest the author as well as all the developers, an another app development tool called Configure.IT . Just try this tool once, you will surely love it. This is my personal view, I have developed plenty of apps with this tool and so I recommend this tool to everyone.

The unique features are,

=> Cross Platform Native App Development Tool

=> No Coding required, just drag & drop

=> Direct API Connect

=> No need to design UI, you can import .PSD file directly for UI Purpose

=> A large numbers of templates to choose an attractive design

To know a list of other features visit,

www.configure.it/features/mobile-app-configurat...

Review this platform once, I am sure you will forget all other platform, same happen to me as well.

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

3 Discuss
BT