PDA

View Full Version : Ditribute Android App



mvbhavsar
2nd October 2014, 10:09
Hi,

I have developed a QT application for android and is running fine on emulator as well as physical device connected using USB cable. Now this application I want to distribute to all my friends. For this they will not connect their devices to QtCreator. So which are the files I need to give them over pen drive which they will copy on their machine and will connect their andoid device to that machine which don't have QT installed.

Also how it has to be installed by them.



Thanks

Manish

sedi
5th October 2014, 01:13
You want to distribute the actual .apk file that is created inside your build directory:
<YourBuildDir>\android-build\bin

It is probably sth. like
QtApp-debug.apk
Or without the debug, if you do a release build.
Rename it as you like, but keep the .apk ending.

For deeper understanding, take a read here (http://qt-project.org/doc/qt-5/deployment-android.html).

It can be installed on a target device via most android file browsers, or just use Airdroid for that.
Remember: your friends will have to enable installation from "unsafe sources" (that is: not Google Play) to allow their device to do that.

HTH
Sebastian

Poline
12th December 2014, 07:06
Sebastian, thanks for reply. Actually I had the same problem described above and the solution you gave solved it. And thanks for the link, because I could find anything related my problem. Now everything works! :rolleyes: