Can C++/Qt be used to create apps for Android devices?

I know Java is the language used to create Android apps. But I also read somewhere that stated C++ can be used to create Android apps, is that true? Any Android app developers out there who can confirm this?

Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

I have use Eclipse SDK (Java) to mostly create Android apps but yes I can confirm you can also program part of your Android apps using C++ but the benefits are limited.  Here is the NDK:

"Android NDK

The NDK is a toolset that allows you to implement parts of your app using native-code languages such as C and C++. Typically, good use cases for the NDK are CPU-intensive applications such as game engines, signal processing, and physics simulation.

Before downloading the NDK, you should understand that the NDK will not benefit most apps. As a developer, you need to balance its benefits against its drawbacks. Notably, using native code on Android generally does not result in a noticable performance improvement, but it always increases your app complexity. In general, you should only use the NDK if it is essential to your app—never because you simply prefer to program in C/C++. When examining whether or not you should develop in native code, think about your requirements and see if the Android framework APIs provide the functionality that you need."
elepilAuthor Commented:
part of your Android apps using C++

So C++ can only be "part" of an Android app? You can't write an Android app entirely in C++ and do away with Java?
It's from my understanding that C++ support for Android programming is not as mature as JAVA and it's only recommended to us C++ when you're writing a cpu intensive app.

"The problem is just that if you use the most recent NDK, you'll not be able to deploy and a lot of not-recent Android versions."

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
elepilAuthor Commented:
Thank you for your response, it was very insightful to me.
Glad to help.  Cheers!
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.