Pages

Wednesday, February 5, 2014

C4droid 4.11 APK


C4droid is a user-friendly but powerful C/C++ IDE + C/C++ compiler for Android.


Basic features :
  • Offline compiler :
    • Create your own applications on Android device and run them even without Internet access.
  • No root required but C4droid can use it for your programs if you want.
  • Full ANSI C and ISO C99 support with TCC + uClibc.
  • Source code editor with syntax highlighting, tabs, code completion, code formatting, file association and infinite undo/redo.
  • Customizable GUI, choose where to place tabs and buttons by yourself. Themes are also supported.
  • Export and share your programs as APKs or native executables. (For terminal apps)
More features with a free GCC plugin :
  • Full C++ and almost complete C++11 support with GCC + Bionic libc.
  • NativeActivity, Qt, SDL and SDL2 support for GUI.
  • The most recent version of GCC always available.
  • Makefile support :
    • Use the same build scripts as on your PC. (BusyBox is included)
  • Semi-automatic open-source library porting feature for enhanced programming and education.
How to install C++ support?
  • C4droid will ask you to install C++ support at first startup and will configure itself in semi-automatic mode.
  • If you want to do that manually, you need :
    • Enough internal memory OR root rights. C4droid does not require root rights for devices with more than 50MB of free internal memory.
    • Install GCC plugin. (C4droid will ask you to install it)
    • Select G++ compiler in C4droid preferences.
    • Use iostream and not iostream.h,
    • Add "using namespace std;" to your program. (Before int main)
How to use SDL, SDL2, NativeActivity and Qt in single-file mode?
  • Just install SDL plugin and select G++ compiler in C4droid preferences.
  • Note that C4droid chooses app mode using a very simple source code analysis :
    • SDL is detected with #include "SDL.h".
    • SDL2 is detected with #include "SDL2/SDL.h".
    • NativeActivity is detected with #include "android_native_app_glue.h".
    • Qt is detected with #include "QApplication".
  • If you are compiling a single-file Qt app, you must add #include "yoursourcefilenamewithcpp.moc" to the end of source code file also.
How to use Makefiles, multifile projects, etc?
  • Long-click compile button or select "compilation settings" if buttons are hidden/moved and configure current directory to use the mode you want.
  • Note that C4droid will create .c4droid configuration file when you will press Ok. Some modes like makefile require to enter result executable file name and don't forget to do that.
  • After doing that all use compile and run buttons to build and run your app as regular.
How to build and install libraries?
  • Almost the same way as regular Makefile building except for that most probably some patching may be required.
  • Currently tested libraries are gmp (internal memory only),mpfr,mpc,libxml2,neon,sqlite and SDL_gfx. (Disable-mmx required)
Which gestures/keyboard shortcuts does C4droid support?
  • Long-click gestures :
    • Save button : Save as.
    • Open button : Recent files.
    • Run button : Run with arguments.
    • Compile button : Cconfigure current directory.
    • Tab : Close tab.
Keyboard shortcuts :
  • Ctrl-C, Ctrl-V, Ctrl-X for Copy, Paste and Cut.
  • Ctrl-S, Ctrl-O for Save/Open.
  • Ctrl-Z, Ctrl-Y for Undo/Redo.
  • Ctrl-L for "go to Line".
  • Ctrl-F for Find.
  • Ctrl-A for select All.
  • Ctrl-B for Build/compile.
  • Ctrl-R for Run.
  • Ctrl-Space/Ctrl-D for autocompletion. (Ctrl-Space may be reserved by Android)
C4droid (C/C++ compiler & IDE) - screenshot thumbnail
C4droid (C/C++ compiler & IDE) - screenshot thumbnail C4droid (C/C++ compiler & IDE) - screenshot thumbnail C4droid (C/C++ compiler & IDE) - screenshot thumbnail

What's New
  • If app crashes after update, reinstall it. It's an Android OS bug.
  • Fixed APK export bug.
  • Added x86 and side menu support.
  • Updated :
    • GCC to 4.8.2.
    • Qt to 5.2.0, Qt 5 is not compatible with Qt 4. (Reinstall Ministro II app to get it working)
    • SDL to 2.0.1, SDL_GL_SetAttribute( SDL_GL_CONTEXT_MAJOR_VERSION, 1) is now required for OGLES1.
    • Icon.
Requires Android
2.1 and up

Updated
January 11, 2014

Current Version
4.11

Google Play
Zippyshare Download

Facebook Like 2

Please leave a comment for Broken Links.

No comments:

Post a Comment