manju
manju

Reputation: 847

How to port native c code on android

can anyone tell me how to port a native c program on android platform..should i include some c libraries or how exactly...?

Thanks in advance,

Upvotes: 7

Views: 7883

Answers (4)

Axarydax
Axarydax

Reputation: 16623

Read up on the Android Native Development Kit (NDK)

Upvotes: 5

TheCottonSilk
TheCottonSilk

Reputation: 8822

I have used all those headers in one of my previous Android NDK implementations, except the mman.h and fb.h. However since mman is under sys and fb is part of android source, I guess you should be able to go ahead with it.

Let's know what issues you come across in the process.

BTW, what calls you need from mman.h?

Upvotes: 1

YPrakash
YPrakash

Reputation: 11

You may find this useful: Using the Android NDK

Upvotes: 1

Related Questions