Paulo
Paulo

Reputation: 7362

Building android app

hey guys, i am researching android app development, and i cant find much on building an app in C or C++, so my question is, is it possible to build an android app using only C or C++ ?

Upvotes: 1

Views: 323

Answers (3)

Cubic
Cubic

Reputation: 358

You might consider one of the other cross-platform services (e.g. MoSync), but realize that they are also limited in the sense that they give you access to more generic language features. Advanced or new features, such as NFC are not yet supported. Further, if you are planning on deploying the app commercially, you may have to pay them a royalty. You can get a better amount of information at their site.

Upvotes: 2

Seva Alekseyev
Seva Alekseyev

Reputation: 61388

Yes, in the most recent versions of the NDK they've announced such a capability. Before that, you could have an app that's a thin layer of Java on top of a C/C++ NDK core.

The majority of the run-time library is still Java-based, and accessing it from C++ is not exactly straightforward. JNI exposes the Java world to C/C++ callers, but it does not look pretty.

Upvotes: 4

Scott Stafford
Scott Stafford

Reputation: 44818

Sure, using the Android Native Developers Kit.

Upvotes: 1

Related Questions