I'm taking a Java course next semester, and was wondering if anybody knew any apps that compile/run Java code on your phone? I've been looking around but can't find much. I used C4Droid when I was coding with C++, but can't find a Java one.
Thanks fellas.
Related
im looking to start developing android apps. should i start goggling how to develop android apps, or should i learn c++ first?
i have a 500 page PDF on c++ ( from the university that my brother goes to). the pdf is for beginner's learning to c++ it starts of with the common hello world code and advances.is this a good start?
ps: i hope this is the right section.
Damn! 500+ Pages and for Beginners. I couldn't write that much if I had a whole life time to do it. And maybe Android Q&A.
And yeah dude Google then Learn. Or maybe, Google and Learn. OR! Google what you should do first. SMART!
I would suggest you take a course on it then do some real world placement with seasoned programmers, you wont really develop all of the required skills using a beginners guide to programming.
Android is Java not C++.
I heard that a good Java introductory book is Head First Java. If you have some programming experience I would recommend Thinking in Java.
After you are confortable with Java, you could move to Android specific things. Good luck!
thanks for the replies. the 500 pages of C++ are pdf, and the font is kind of big. im ganna keep learning from that for a couple of weeks to get the very basics. then ill move on to java.
PS: another nub question, what dose Linux have to do with android? is it better to develop on Linux or windows 7?
Android is based on Linux. But you can develop in any platform you want. It is the same Linux, windows or OSX, whatever you have would work.
janfsd said:
Android is based on Linux. But you can develop in any platform you want. It is the same Linux, windows or OSX, whatever you have would work.
Click to expand...
Click to collapse
im a little confused .
andriod uses the syntax java,while andriod is based off linux which uses syntax c, c++, java and fortan. so dose andriod use the java part of linux only or what?
To be more specific, it is based on the Linux Kernel, which is written in C. All the apps are already Android specific, so written in Java. Google developed their own virtual machine (Dalvik) so the developers can use it. It is Java based (on the 1.5 version), but it doesn't support all Java classes. It is still possible to write in c++ with the NDK, but only if you need the extra performance or maybe write a game in OpenGL. So you would stick to Java.
If you need to communicate with kernel, or your application has to do something with great calculation (Such as encoding or decoding), you may need to through Java layer and native layer by JNI, than you need C/C++. Else you just need to write your application by Java.
okay that clears it up, thanks guys. now i just gotta give it time and dedication.
OK. im learning the c++ programming language. I want to understand some simplest android apps first. That is why i asked to attach simplest apk with its source code in c++. Presently im learning c++ with microsoft visual studio 2010. And what compiler do u recommend me for dealing with android apks.
Similar simplest things with other programming languages are also needed as im planning to learn other languages also. Pls specify them.
Hoping to hear some suggestions and guidance from u. Thanks in advance.......
hi, guys i know that i can compile c++ on android and even test it, but i cant find the right app, so help me, in market theres a c4droid compiler but it costs, so anyone can help me find free c4droid app or find other good comiler of c++?
well.... I've seen the app that sends file to server and compile there, so you need internet access. Few weeks ago wanna to download such app but can't find app that use libraries from SDcard and compile on phone...
I was searching for a c++ complier but i didn't fine one. I needed it for school.
sourceLair?
nedosas said:
hi, guys i know that i can compile c++ on android and even test it, but i cant find the right app, so help me, in market theres a c4droid compiler but it costs, so anyone can help me find free c4droid app or find other good comiler of c++?
Click to expand...
Click to collapse
Use a DOS emulator like aDosBox. There's just some problems with some special characters (like < and >) while using the onscreen keyboard but the compiler for Windows/DOS runs well. I just edit the source codes with other text editors.
Theo's idea is pretty sound. Sounds like your best shot at the moment. I was going to provide you pretty much the same information
nedosas said:
hi, guys i know that i can compile c++ on android and even test it, but i cant find the right app, so help me, in market theres a c4droid compiler but it costs, so anyone can help me find free c4droid app or find other good comiler of c++?
Click to expand...
Click to collapse
me too. i need a c++ compiler for studying, however i have a question: if we have a c++ compiler, does it work well.
Hi, the gnu tools provide full source code for most architectures with c++, you could try cross-compiling them and automake for your platform (most probably arm7 abei). also read this thread http://forum.xda-developers.com/archive/index.php/t-623976.html. Also there are tutorials scattered all around the web for cross-compiling, which unless you want to write your own C++ compiler in dalvik VM would be the best direction to go in at the moment.
SlideR270295 said:
I was searching for a c++ complier but i didn't fine one. I needed it for school.
Click to expand...
Click to collapse
If you are in college you can get visual studio for free.
Sent from my PG86100 using XDA App
I don't appreciate the RAM eater Java. So, I was looking for way to do android programming using C++, which efficiently manages the resources. I came across this post . Does anyone thinks it might be a good idea to program android using C++ or flow the same Java Path? Anyone developing using Android NDK? Please respond, I might require your useful suggestions.
AbhimanyuAryan said:
I don't appreciate the RAM eater Java. So, I was looking for way to do android programming using C++, which efficiently manages the resources. I came across this post . Does anyone thinks it might be a good idea to program android using C++ or flow the same Java Path? Anyone developing using Android NDK? Please respond, I might require your useful suggestions.
Click to expand...
Click to collapse
If you're looking to do normal app stuff (i.e. Android-styled GUI), I wouldn't bother with the NDK. It's going to be a lot of extra work to both with the NDK, and it looks like you're going to either have to bind the C++ to Android UI code with JNI (really just resulting in a less-efficient program) or make your own UI using native drawing (possibly through OpenGL) -- that'll be quite a pain. It's just easier to use Java. If you're writing a game/very computationally heavy program, then the NDK with a NativeActivity (basically, a Java activity that notifies your native code of Activity lifecycle events) might be a good idea though.
I hope im in the right section as I think its a general question.
But I've been looking for an android compiler to run java.
I'm learning java right now, and I have a PDF book I read on my free time from my phone and I'm wondering is there's any compilers for java so I can practice my coding.
I've checked out afew on the android market but they don't seem to work for me. Any ideas?
AIDE- IDE for Android java c++ from playstore