I'm curious if the android platform supports multiple languages java or C++ or C#
Sent from my Motorola Droid 2
android apps are written in java but i think you can download the ndk and write them in c and c++
Thanks I was wondering that for thee longest time... I've had a little book learning about programming and can't yet differentiate languages yet
Sent from my telephone
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.......
Do you think android should use c# if google can't pay oracles legal fee for java?
Will well write on C on an android.
Of course they should of its the reason ios is so fluid and smooth amongst other things. Java runs poorly compared with c#.
Sent from my HTC EVO 3D X515m using Tapatalk 2
ngagephone said:
Of course they should of its the reason ios is so fluid and smooth amongst other things. Java runs poorly compared with c#.
Sent from my HTC EVO 3D X515m using Tapatalk 2
Click to expand...
Click to collapse
*Laughing out loud* - yes, c# and java - different worlds in speed. mmd srsly
Java is slow and ugly. Of course it would be better to be written in c# or c++.
But i don't think it will happen.
Writing something from scratch in a new programming language is hard work. Google will probably pay instead.
Will see.
Sent from my Desire S using XDA
ngagephone said:
Of course they should of its the reason ios is so fluid and smooth amongst other things. Java runs poorly compared with c#.
Sent from my HTC EVO 3D X515m using Tapatalk 2
Click to expand...
Click to collapse
iOS applications are made using Objective - C, C or C++. Not C#.
I am not sure how "slow" Java would be in comparison to C#.
C# compiles into bytecode which runs on a CLR runtime. And Java too compiles into bytecode which runs on a Java VM. In android's case the Dalvik VM. These two are very similar in this context so in my opinion it won't be much of a difference. But yea, In my opinion C# is a better language in terms of language features.
It is not the languages which are responsible for the slowness of the applications but the implementation of the said applications. Agreed some languages are suited better for certain types of applications, but that doesn't mean you cannot have a good application in some other language.
It really won't be that easy to switch to a language like C# for Android cause there are a lot of applications out there that are built using Java. Unless there is some sort of support for this, I don't think this will ever happen.
And besides C# belongs to Microsoft. But then you also see it in Game development tools like Unity as a scripting language. So I don't know...
It seems that most people on this thread don't know what c# is.
I would like it as I like the IDE's and the language itself more. Besides that, it would solve the Oracle vs Google problem.
Which IDE are you talking of? The Microsoft Visual C# IDE? Cause even if C# does end up on Android, I highly doubt Microsoft's IDE would have support for a competitor's platform.
The IDE of choice, I think, would be MonoDevelop, which is also very good.
For Windows:
Sharpdevelop, which does what Microsoft Visual C# Professional does for free.
For Linux and Windows:
Monodevelop
Both of them aren't even remotely as bloated as Eclipse.
I hate how I sometimes right-click in Eclipse and get a context menu that fills my entire screen.
Because, i'm reday for Korea olympiad, learning about C language...
And, i'm learning about JAVA for Android Application studying...
It's very hard for me...
The back is so hard to come around so difficult, right?
Don't give up
me too, want to discovery but i'm stupid
I mastered Java and C by training the concepts of programming in languages like Python.
After that, I was much more skilled.
What exactly don't you understand? Did you red a book about it?
Trying to learn 2 languages at the same time is very difficult especially for some one who has not coded before. I would start with one language first. Python is the first programming language they teach at my local university followed by Java. If you want to start with either C or Java, I would recommend Java. Once you are comfortable in Java then learning C would be much easier.
Hi Guys I Want To Star Coding Base On Android Developing Machines And i Just Want To Ask Is It better To Start With C Or C++ Or C# Or Java?? plz help me know how to start. Thanks All
C, C++ and java are programming languages while c# and JavaScript are scripting languages used for algorithms and webpages and aren't much different from their parent languages. Most of the time both programming language and scripting language are used parallely.
Java is a powerful language but it can be little bit tough to learn for newcomers. Since most android apps are written in java and JavaScript, you could learn it first.
Or you could try the much easier c++ road to see if it fits for you and to learn the basic concepts in programming. Since Java is based on c++ there isn't much difference.
And there is always room for improvement so you could try to become a linguistic programmer.
Personally asking I first tried to learn java first but I didn't understand a thing so I started to learn c++ and then dived into the world of java. It helps to learn the basics concepts of programming in a much easier language.