• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Creating apps supported by most versions of Android

tomyf

Lurker
Hi all,

I have a simple question:

Is it possible to create apps to be used for most versions of Android? for example, If I create apps (in Qt Creator IDE) using API 25 (version 7.1.1) does it work for this version and also lower versions (say, 6,5,4)?
 
The development tool used by most people here is Android Studio. This enables you to specify a minimum and target API. The minimum API is the lowest version that your app will run on. This often means that you must write flexible code which can take into account the differences between the API versions, because it's possible that a method present in one version of the API can be deprecated in subsequent versions. This obviously can make your code a little messy.
So basically, the portability of your app across different APIs depends on the features you're using from the framework libraries.

The only way to be sure that your app will run on all possible API versions is to test. This can be done with the emulator, launching the app from within Android Studio. I have no idea how Qt Creator does this.

As I suggested in your previous thread, you may get a better response by posting the question on the Qt Creator forum (link provided in the other thread)
 
Thank you for your info. It was helpful.

I've installed SDK packages for both x86 and ARM architectures and like to test a very simple code in Android Studio and use it's emulator.

Would you please suggest me such an example?
 
Thanks so much.

If I knew Java I would certainly use Android Studio for creating Android apps, but since know only C++ that is why I use Qt Creator for Windows, iOS and Android platforms.
 
Back
Top Bottom