首页| 论坛| 消息

标题:Cross-Platform Applications in iOS and Android Stores with Qt
作者:XChinux
日期:2013-12-13 08:55
内容:

原文见:http://blog.qt.digia.com/blog/2013/12/10/cross-platform-applications-in-ios-and-android-stores-with-qt/



Cross-Platform Applications in iOS and Android Stores with Qt


Published Tuesday December 10th, 2013 | by Caroline Chao
With Qt you can develop truly cross-platform applications thatwill work on desktop, embedded and mobile platforms. Qt 5.2 introducesfull support for Android and iOS platforms and thus enables the creationof cross-platform mobile apps that are packaged and deployed to bothGoogle Play and App Store from one code base. Instead of writing twoversions of the same code with two different technologies, you can writeit once with Qt!
Using Qt Creator IDE 3.0 which comes with Qt 5.2, you can develop,deploy and debug your application on Android and iOS devices as well ason the simulators.
You can do all of your iOS development in Qt Creator thanks to theexperimental iOS plugin. After creating the project and testing it ondevices/emulators, you need to launch XCode for creating the archive,inputting the store related details (like icons) and finally to deployit to the App Store.
For Android versions, you can do pretty much everything from withinQt Creator, which creates and signs the Android APK package for GooglePlay deployment.
For details, see the Tutorial video: Getting Started with Qt for Mobile.
To give you a couple of nice examples to play around with Qt 5.2, weare introducing two Qt Quick-based cross-platform applications that arenow available in Google Play and App Store:
- Quick Forecast, a web-connected weather application
- Flyingbus, a game about.. well.. a flying bus .
Let’s have a closer loo ..


#1 [XChinux 12-13 08:59]
转自: http://blog.qt.digia.com/blog/2013/12/12/implementing-in-app-purchase-on-android/




Implementing in app purchase on Android


Published Thursday December 12th, 2013 | by Eskil Abrahamsen Blomfeldt
In-app purchase is an increasingly popular form ofapplication monetization, especially in saturated markets such as themobile apps markets, since it enables users to download applications forfree and try them out before they pay. When the only thing you have tolose is time, the threshold for installing an unknown application islikely a lot lower than if you had to pay up front.
But you already know this, because you have been asking us regularlyhow to do it in Qt for the past few months. Our short answer is that Qtdoes not have a cross-platform API for this, at least not yet, so youwill have to add some platform-specific code to your application.
This blog post is the long answer. Using a simple game as an example,I’ll go through each of the steps to enable in-app purchases in anAndroid application. The application source is also available, so you can take a look at it before doing your own implementation.
So what is it?
For those of you who have not been asking us about this, and therefore cannot be proven to know what in-app purchases are, I’ll give a very quick overview.
In brief, in-app purchase is this: Instead of paying todownload and run an application, there are instead features of theapplication that are available for purchase when you are already runningit. Some examples of the types of purchases the application can provideare:Subscription to content, like in an online magazine with monthly content updates.Consumable items, e.g. a magic potion in a game, of which you ..

回复 发表
主题 版块