Hi,
I'm trying to figure out the most efficient way of getting Linux with GUI to work, my laptop recently stopped cooperating and I would like to replace it with my phone.
I got myself Samsung DeX pad and it's handy and all but I would like to use the phone for programming, mainly java so Eclipse would be nice.
Any help is appreciated.
Thanks
Try this: https://play.google.com/store/apps/details?id=com.paprbit.dcoder&utm_source=dcodersite
It supports many programming languages, C++; Java; PHP, Python; HTML; etc.. etc..
Related
. . . with understanding development using Java for Android?
Do I start with Java books?
Where do I read about how to set up an Android development environment? I'm trying to read through everything at the Android Developers website, but I was hoping someone could point me towards better/more information.
I know this is a VERY n00b question, but in order to avoid asking any further n00b questions, I'd like to come to this party better equipped.
TIA -
Darryl
You HAVE to be good at java before you can start programming for android. C/C++ too if you intend to develop something performance hungry.
I suggest that you look at an introduction to developing in Java on desktop and familiarize yourself with Java syntax. If you haven't programmed anything before then also familiarize yourself with programming techniques and object oriented programming in java.
To be honest, it takes 4 years on college to learn that. You may be able to learn it earlier, given that you put enough effort but don't expect programming anything useful anytime soon.
Thank you!! At least I have a starting point. Never too late to begin.
Gonna see if starting with Introduction to Java Programming, Comprehensive Edition is something that works for me.
Thanks again!!
sorry for double post
Ive managed to set up Eclipse 3.5 and the Android SDK.
Then I downloaded the components to develop for Android 1.5, 1.5, and 2.x(.x)
Also installed the USB driver(on an WinXP machine) and that's all there is to it, I think.
As for Java, I have an old book(or bible, judging by the size) on Java 1.5 from Deitel.
But right now, Im just looking at the official trails on sun.com:
http ://java.sun.com/docs/books/tutorial/index.html
I guess learning the syntax is one thing.
Learning programming concepts and OO are two other things.
Then there are algorithms and programming techniques.
Then there is familiarization with how the Android platform differs from regular Java applications/applets/etc.
I think that covers the basic steps towards Android programming in java.
If I missed anything, can someone fill me in please?
Thanks!
maybe someone knows of a open source repos. you can look at examples. Like planet-source-code dot com but with android examples.
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.
I absolutely hate Java and view it as a violated corpse of C++, documentation on the language itself is absolutely horrid, I would rather use C++ to develop however google apparently discourages the use of anything but java. My questions is can I use C++ to a fairly good extent without much trouble or am I forced to use java? (Note: I'm looking to do UI/Touchscreen etc work I'm perfectly aware that I could do some terminal applications with very little effort)
Try MoSync.
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.
Dear XDA,
I like to tinker a bit for learning for work, and for self research. I am looking for an IDE app that can compile multiple languages if possible. If not then apps for most languages are fine. Looking for java, c/c++, python, perl,ruby,android,etc. I tried Anacode but it being locked behind a paywall if I don't donate really is annoying. Any unrestrictive apps like that? I have full desktop ide via gnuroot but thats for other purposes, I would like something running native on the android os.
Thanks