F
F
fastkulob2018-08-07 16:04:07
Android
fastkulob, 2018-08-07 16:04:07

Is it possible to write applications for android in C?

How to write an android application in C.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
G
GavriKos, 2018-08-07
@fastkulob

Google towards Android NDK. True, you still need a little java.
Briefly, the scheme is as follows. Either is done in c / c ++ (as far as I remember, pure c is also possible there). The core of the application is being made in java - there are all sorts of activities, an interface, and so on. Java can call methods on your lib, and your lib can call methods back on Java. All this is beautifully architectural (actually not, because there are a lot of hemorrhoids) you connect and voila. The logic is here, the wrapper is in java.

A
Alexander Taratin, 2018-08-19
@Taraflex

The simplest way.
Take cocos2d-x or Qt (they themselves will generate the necessary java binding and project for android)
and write in c ++ using only language constructs and libraries from pure c .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question