Do you have a way to Implement a C Executable for Mobile?

Asked

Viewed 106 times

0

Come on; I managed to develop a very banac executable in C that writes in File so that I store some data. But, I wanted this executable that is already running on the Desktop also run on Mobiles, has some direct way for me to Get Executable and Create a Mobile Application with it?

  • Hard to understand. Do you already have a program written in C? C is not a scripting language.

  • Your question seems to have some problems and your experience here in Stack Overflow may not be the best because of this. We want you to do well here and get what you want, but for that we need you to do your part. Here are some guidelines that will help you: Stack Overflow Survival Guide in English (short version). If the help is very simple it is still possible to do in the comments.

  • simplifying, I need to take a C executable and turn it into an App.

1 answer

0

In short, you want to convert C to Android, that’s it?

We have some success stories here, here, here and here.

If we summarize the answer, we can only say that you will have to find a C/C++ compiler for Android, such as NDK, that allows an absurd performance to have your code (compiled into a clear executable) executed.

It also has the possibility for you to compile and run your source in a terminal. This solution I have already tested, and recommend, works perfectly (if it is a program without graphical interface, the ones with interface have not tested).

Browser other questions tagged

You are not signed in. Login or sign up in order to post.