4

Is there any way to programm C++ applications on Android? I mean - using your Android device for programming and compiling projects.

10
  • ggogle first hit "android C++ programming": zdnet.com/blog/burnette/… Commented Jan 2, 2011 at 0:44
  • 5
    @Mitch - the linked article as well as likely most/all Google hits are about programming C++ apps to run on Android. Which has very little to do with OP's question, which is creating and compiling and running resulted compiled C++ code entirely on Android device (e.g. an Android program serving as IDE and/or C++ compiler) Commented Jan 2, 2011 at 0:46
  • @Mitch: Roman is asking about writing C++ on an Android phone, as opposed to writing C++ on your computer and compiling it to run on Android; your link, however, was about the latter. (This is what DVK was saying, too.) Commented Jan 2, 2011 at 0:49
  • 3
    @Mitch - the point is, if someone HAS an android device and nothing else (say on vacation/flight/other travel), or an Android "PC" replacement (think 10" tablets), and they'd rather hack/learn C++ than surf porn, I'd rather encourage such person than criticize them. Commented Jan 2, 2011 at 1:10
  • 1
    @DVK: Really? "Delete Browsing History" .... Commented Jan 2, 2011 at 1:11

2 Answers 2

3

It really quite depends on what you want to do.

If you just want to see the output of some C++ code, you could use some online compilers such as Codepad or Ideone. Ideone also has an API, and there is an iPhone app called CodeToGo that uses it to provide the ability to "run" code in the app -- you could try to search or build something similar for Android.

Another possibility, although probably more complicated, is to install a full-blown linux distribution on your phone, for example, Debian (which has everything you'd need to install a compiler) -- there is a guide on how to do that here, and you can search for more on google.

Sign up to request clarification or add additional context in comments.

1 Comment

There is also a IDEdroid for Android (like CodeToGo for iPhone)
0

It depends on the scope of what you want to do.

At the very least, you can do small snippets of C++ code by typing them in and running in your browser via http://codepad.org/

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.