Explains how to install Necessitas (Qt for Android), how to use it, and how to publish to the Android Market. Based on Necessitas 0.3 (3rd alpha)
Slides are from Qt Developer Days 2011 in San Fransisco
29. Added files explained
In addition to the .pro and .h/.cpp files:
android/AndroidManifest.xml
android/build.xml
android/res/*
android/src/.../ministro/*
android/src/.../origo/Qt*
31. Necessitas status
●
SDK (almost) complete for
●
Windows, Linux and Mac
●
Qt Creator
●
Deploy libraries and app
●
Run app
●
Debug app
●
Signs the app
32. Popularity of Necessitas
●
~10000 downloads of 0.2.1 (2nd alpha)
●
~3200 downloads of 0.3 so far (3rd alpha)
●
~5000 views of my Münich slides
41. 3.x “Honeycomb”
●
Motorola Xoom
●
February 2011
●
Linux kernel 2.6.36
Photo: flickr.com/quinnanya/
CC / Some rights reserved
42. Publishing to Android Market
Sometimes the easy part is
writing the app. The hard part is
getting it published.
43. .APK format explained
●
.JAR and .ZIP
●
Typically includes:
META-INF/
res/
AndroidManifest.xml
classes.dex
resources.arsc
●
Native apps also include:
libs/armeabi/
44. Two publishing options
Ministro Bundling Qt
+ dev friendly + UX
+ updates + BIC
+ multiple archs + custom fixes
+ space / bandwidth - space / bandwidth
- UX - less archs
- updates - no updates
- BIC
45. Bundling Qt with your app
Target one arch (ARMv5)
Set relatively high API level
Only include the actually needed libs
Disable Ministro dependencies
Beware of SSL certs
Here be dragons :-)
46. Publishing with Ministro
cd android/
ant release
This produces Fly-unsigned.apk in the
shadowbuild directory.
47. Getting an A.M. account
http://market.android.com/publish
You'll need:
A credit card with 25USD
A phone number
69. Summary
Qt on mobile: Potential bright future
Necessitas: Out-of-the-box with rough edges
Android Market: Quick and easy
70. Qt's future
Qt 5 – Qt Quick and scenegraph
“The next billion”
iOS and BBX
Open Governance
71. Information on Necessitas
Mailinglist for users:
http://groups.google.com/group/android-qt
Mailinglist for devs/contributors:
https://mail.kde.org/mailman/listinfo/necessitas-devel
Repositories:
http://community.kde.org/Necessitas/Repositories
Wiki:
http://sourceforge.net/p/necessitas/home/necessitas/
72. It's already possible
Fly in Fly installed
Android Market on phone
http://bit.ly/cutefly
https://market.android.com/details?id=com.cutehacks.fly