The Google Play market place allows you to register your application, as well as the in-app products you want to make available to it, without publishing it. The following this guide gives a brief introduction on uploading your application to Google Play and registering products.
Before you can upload your application to Google Play, you must prepare it for submission.
The default AndroidManifest.xml
generated for applications by Qt is suitable for development testing, but cannot be used when submitting the application to Google Play.
Create your own manifest by clicking the Create Templates button in Qt Creator. You can find the button under Projects > Build tab. Expand Build Android APK to see it.
Once the manifest is added to your project, you can modify it. The most important parts are the application name
and the package name
. The package name must be unique, and it is recommended to
follow the com.mycompany.myappname naming convention. The "com.mycompany" namespace is based on the internet domain ownership to avoid naming collisions with other applications.
Other important parts of the manifest include the versionCode
, which must be incremented every time you upload a new version of the application. Other properties will decide how your application package is
presented in the store listing, such as the application name
and the version name
.
For more information on the AndroidManifest.xml
, see the Android documentation.
For more information, refer to the Third-party Android Libraries.
Qt uses the default debug key to sign your application to enable running the application on a device. Same key cannot be used to sign the Android Application Bundles that is meant to be published on Google Play.
Once the application is prepared for publishing, you can create a listing for it in Google Play.
The first step is to get a publisher account, if you do not already have one. Go to the Google Play developer console, log in with the Google account of your choice, and follow the steps as directed.
When you have set up your account, click on Add new application in Google Play's developer console.
Fill out as much information as you want in the store listing, and also the Pricing and distribution page.
In order to test in-app purchases in your application, you first have to publish it.
See Publish your app
In order to access in-app products from your application, you must register them in Google Play.
As part of the free Business evaluation, we offer a free welcome call for companies, to talk about your requirements, and how the Felgo SDK & Services can help you. Just sign up and schedule your call.
Sign up now to start your free Business evaluation: