Android Native

Asked 2 years ago, Updated 2 years ago, 32 views

Hi, everyone. I finally took the first step in NDK programming after searching the Internet. You can now take a picture of the HelloJNI phrase. But I don't know how to use open source in C++. Should I study a little more? I can't see the destination.

android

2022-09-22 21:28

1 Answers

There is a saying that if you filmed Hello World, it would be like more than half of you came, so don't worry too much, and I recommend you to study one by one. I think it would be a good idea to post tips or hard-to-understand parts from studying on hashcode.

In addition, WebKit, which is famous for its web browser engine of Chrome and Safari, is a representative open-source NDK project. In the case of Telegram , images, audio, and encryption processes are developed using native code (C). WebKit has a huge code, so I recommend you to study by referring to the code of Telegram or Google sample projects.

(As you may have already seen) You can look at NDK development preferences, code writing, execution, and debugging using Android Studio on the page below.

I think it would be very helpful to run the NDK samples made by Google once and study them.


2022-09-22 21:28

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.