Link to home
Start Free TrialLog in
Avatar of Member_2_4548968
Member_2_4548968

asked on

Running C++ program on Android OS

Hi,

Is someone experienced in compiling native C or C++ to run under Android OS?

Is this a straightforward task or are there many problems to be expected.

The program currently is a windows dll. Is a dll approach also possible under Android?

Thanks for your help
Avatar of alexey_gusev
alexey_gusev
Flag of United Kingdom of Great Britain and Northern Ireland image

I can't say I'm experienced to run C++ under Android, but from what I read and heard (like http://blogs.zdnet.com/Burnette/?p=1284) it is by far not straightforward.

Android is totally different from Windows, so I guess it would be much easier to rewrite your app completely
Avatar of samwood09
samwood09

have to write it in java :/
Avatar of Member_2_4548968

ASKER

Java is not an option I'm afraid. The large program is totally written in C ansi.

Is you conclusion that it is not possible to run C applications under Android?
ASKER CERTIFIED SOLUTION
Avatar of alexey_gusev
alexey_gusev
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
yes I have seen the link and it looks ok to me. You can call a C library from JAVA using the JNI.