Click here to Skip to main content
15,896,726 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
i would like to ask, how can i convert my c or c++ code to an android app .

What I have tried:

for example i have some calcultor c++ code and i want to convert it to an android app for my phone
Posted
Updated 26-Mar-18 0:21am

You can use the design and GUI of your app and the internal model code if it is well crafted.

But you have to re create the GUI in the native Android IDE and than transfer your code into the handler functions.

If you want to use one code base for different target than may Xamarin an interesting tool.
 
Share this answer
 
Your best bet is converting it to Java (see Developer Guides | Android Developers[^]).
Other alternatives are C# (via Xamarin[^]) or Java/C++ (via NDK[^]).
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900