V
V
vadim08722017-04-06 00:33:01
Java
vadim0872, 2017-04-06 00:33:01

How to create a menu in android on ndk(c/c++)?

Create a menu for android in c / c ++, I searched for information on Google, but nothing is normally written anywhere. The site for android developers only talks about native-activity, but there are no normal examples, and sites on how to create the same menu, buttons, etc. without using third-party libraries, because the application is simple and you don’t want to load it just like that.
ps is needed for c/c++, because a project has already been written on it and you need to transfer it to android.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Denis Zagaevsky, 2017-04-06
@zagayevskiy

It is very (unreasonably) difficult. Native applications usually follow one of several paths:
* core (native libs) in C++, interface - in Java. IMHO, the best way, allows you to do platform things and reuse business logic.
* all completely in C++, interface - OpenGL. This is done in games, or, for example, Yandex.Navigator. It usually looks frankly non-platform.
* all completely in C++, interface - Qt. This is a separate type, I can’t say anything here, I haven’t come across it.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question