Deploy Qt 5 QML application to a real Android device - android

There are many tutorials how to build an application with Qt for Android.
So I do it in these steps:
Installed Android SDK, NDK, JDK and Apache Ant
Installed Qt 5.2 for Android
Created simple QML application.
Configured virtual device from AVD Manager
I tried to run it and it bringed up Emulator window with my app. OK, it is going as expected.
Now I want to run it on real device. I have Samsung Galaxy Tab 2 10.1 P5100 so I enabled USB debug and connected it to PC.
But when I run the application, in "Select Android device" window I see only emulator, not real device.
So how can I run the application on real device?

The easiest way is to follow the documentation
http://doc-snapshot.qt-project.org/qtcreator-2.8/creator-deploying-android.html
Using Ministro to manage having apk to deploy on real device is especialy a good point.
Hope it helps.

Related

How to develop android apps with xamarin without hyper v and emulator

I am using windows 10 home and visual studio 2017. I want to develop android apps with xamarin. Hyper-V feature is not available on windows 10 home and I can not afford pro version, So emulator is not installing without hyper-v.
What should I do to develop android app?
Have anybody idea to deploy android app without using emulator and hyper-v?
Thank you in advance!
It's possible to develop Xamarin app without using the emulators. But in that case you'll need to have an Android device to deploy your app on.
Setup Android SDK Manager on your system. Although Xamarin includes a
SDK Manager, you can download it from the following link. Android SDK Manager download
Setup the ADB (Android Debug Bridge) on your system (install Google USB Drivers)
Connect your Android device to the system after you enable USB Debugging(Developer options) on it. Once the device is connected it will give you a prompt to enable debugging. Tap yes and you'll see the option to build to your device as shown in image.
You can try to use any avaliable on windows android emulator. I like to use Bluestack (https://www.bluestacks.com), the steps for use it below:
Install Bluestacks emulator
Launch emulator and wait for load finished
It's your wellcome screen, your application and apps from store will be here
Go to settings > Preferences and check "Enable android debug bridge (ADB)" + "Enable Android input debugging"
One time Setup finished
"Open android adb command promt" and type
adb connect 127.0.0.1:5555
If you have done everything good you will be connected to emulator and ready to debug your application
Good luck!
UPDATE:
As of visual studio 2019, non-hyper v emulation has been stopped.
Old Answer
I am very positive that at the time of VS installation the Visual studio emulators for Android are readily available for download and use, there you can find a good amount of android emulators also it provides you with Android SDK which again can be used to create Android emulators without using Hyper-V
The below link contains all you need to know about Visual studio emulators including on how to install :
https://msdn.microsoft.com/en-us/library/mt228279.aspx
Hope this Answers your question.
Goodluck!

Is it possible to test apps from Intel Xdk using the android emulator?

I wonder whether it is possible to test a Cordova project made with Intel Xdk on an Android emulator rather than a device on USB or the Intel embedded emulator.
Yes. You will have to install and run the APK file you build onto the Android Emulator. Although, I would recommend you build without Crosswalk (meaning, uncheck the "optimize with Crosswalk" build settings option) if you are going to run your app on the Android emulator.
However, it's usually a lot faster to just install it directly onto a real Android device and use remote CDT over USB to debug the app. See this doc page for help setting up remote CDT on your system.
Of course, there are some system-level debugging things you can do on the Android emulator that can be difficult or impossible to do on a real device, depends on your device.

How can I use alternative android emulators if I'm developing a mobile app with Cordova?

There are many examples of questions about how to speed up the android emulator. Here's an example: Why is the Android emulator so slow? How can we speed up the Android emulator? Some of the solutions are, "Use a different emulator". But, can cordova be configured to use these different emulators? If so, where do I configure this? By default, cordova is looking for an AVD (android virtualization device).
Install Genymotion then run:
cordova run android
Cordova recognizes Genymotion as a device not an emulator.

PhoneGap application run only in one specific Android device

I am developing a mobile application using PhoneGap 2.9 and Eclipse Juno for Android. I run with no problems my application in my mobile phone but when I connect another mobile phone or Android tablet, Eclipse doesn't recognize them as devices so, I can't run my application.
I checked that those devices have not the minimum API level that is required and that the development tools and USB debugging are enabled in all of them.
I don't know if this has something to do with my problem, but the only device that runs the application and being recognized, is the one that I connected with Eclipse from the very first time.
This is the specific tutorial that I used in order to solve my problem. Except from that tutorial, i used this tutorial to download and manually install the USB Driver needed. Also with this tutorial, I installed the driver in my hardware device (Android Phone). I haven't test it with Android tablets but it works fine with other mobile phones than mine.

Can't deploy android application on panasonic toughpad fz-a1 from eclipse

I'm developing an Adroid application (v.14) with Eclipse and I want to deploy it on Panasonic FZ-A1 toughpad. When I try to deploy the app Eclipse shows me the active devices list, but the tablet didn't appear in it. I setted true the Debug USB option on toughpad, but nothing goes right. Is there any step that I have undone, or I actually ignore (for example installing drivers for Windows 8.1)? Consider that Windows 8.1 is able to synchronize with tablet.

Categories

Resources