Learning Java - Android Q&A, Help & Troubleshooting

I want to learn Java and a work colleague has suggested a book called Dummies guide to Java. Any other recommendations on where to start and is it worth downloading ebooks to learn Java?

The Complete Reference, Java. This is a great book. There any many tutorials online too, some even directly from Oracle (who own Java). Remember that books can only teach you so much. You can learn the syntax and methods for writing code through books and tutorials, but you'll only learn proper programming if you look at various examples of Java code and try to understand them yourself, and try your hand at implementing those programs using your own logic and method rather than copy-pasting.
For Android development, the developers guide to Android at www.android.com is very comprehensive and provides all the required information to anyone with a good understanding of Java.
Sent from my Desire HD using xda premium

Related

[Q] Android: How to get started developing learn to develop?

I am very interested in learning how to develop for Android. Could anyone let me know what the best way is to get started I have installed the Java JDK and Eclipse and so far created the Hello World! App as per Google's own how to get started tutorial.
I have no experience programming except very basic HTML (Dreamweaver).
My goal is to learn how to develop for Android, from as much as I know it is Java based, should I learn Java before trying to do anything else, or should I just follow Google's own Tutorial ?
If there are books to get which ones are the best ones to get going? Which websites are the best ones to learn? What other resources should I consider?
I don't mind having to spend a couple dollars, but I have looked around and where I live there are no Java courses available.
You should first learn Java or at least the basics on Object Orientated Programming.
I want to pass you 2 links for video tutorials about Android Programming, maybe will help:
http://www.xtensivearts.com/
http://www.youtube.com/playlist?list=PL34F010EEF9D45FB8&feature=playlist-comment
maximillion82 said:
I am very interested in learning how to develop for Android. Could anyone let me know what the best way is to get started I have installed the Java JDK and Eclipse and so far created the Hello World! App as per Google's own how to get started tutorial.
I have no experience programming except very basic HTML (Dreamweaver).
My goal is to learn how to develop for Android, from as much as I know it is Java based, should I learn Java before trying to do anything else, or should I just follow Google's own Tutorial ?
If there are books to get which ones are the best ones to get going? Which websites are the best ones to learn? What other resources should I consider?
I don't mind having to spend a couple dollars, but I have looked around and where I live there are no Java courses available.
Click to expand...
Click to collapse
Having an understanding of Java will be good, as you'd be more comfortable when writing or understanding the code structure/syntaxes. You can also learn while doing Tutorials on Android, but scope on Java will be limited though. So basically its your choice.
Tutorials from the Android developer website is good. You can also consider going to these websites, as they have some good resources :
Video Tutorials : http://thenewboston.org/list.php?cat=6 (Already specified by above person)
Another set : http://www.vogella.com/articles/Android/article.html
Linux.com's series of Fresh Tutorials : http://www.linux.com/learn/docs
And if you Google for more Tutorials, you'd get more too. Cheers!
djeordje said:
You should first learn Java or at least the basics on Object Orientated Programming.
I want to pass you 2 links for video tutorials about Android Programming, maybe will help:
http://www.xtensivearts.com/
http://www.youtube.com/playlist?list=PL34F010EEF9D45FB8&feature=playlist-comment
Click to expand...
Click to collapse
Much appreciated thank you very much. I'll get started on that right now.

[Q] I want to be a developer

I'm a high school junior and I want to be a developer. I've always been into technology and computer systems, most people asking me for help on anything computer related. Over the years I've taught myself various things like: how to build a computer, basic html, adobe Photoshop & Illustrator & After Effects, etc. I can't list them all. Currently I am trying to learn Java myself, and hopefully next year I will be taking AP Computer Science. I want to be a developer. Specifically for platforms like Android. Apps AND actual ROMS.
I want to know from some developers on here, where did you guys get your start? What did you learn? Any tips and suggestions?
Thanks
-Abdi
http://developer.android.com/develop/index.html :good: first learn java though....
Hi abdi7451,
the first programming language I learned was C..It really gives the developer a lot of freedom and increased capabilities for the code writing..I think that it will help you for your future projects..
For App development, I would strongly advise:
The New Boston - Android Tutorials
It would also help if you learnt some of the Java basics:
The New Boston - Java Tutorials
The tutorials are done by Bucky and Travis and these guys are very good. They take you through the learning step by step.
Also. When you come across problems, the main Android Developers site is very good, but I've also found Stack Overflow very helpful.
I started using the tutorials with no Android or Java knowledge at all and I've used what I have learned to make a couple of basic soundboards so far and other bits and pieces, but what they teach you gives you the potential for a lot more.
You can see the apps I've made Here (Google Play) and Here.
Good Luck.
Just Me said:
For App development, I would strongly advise:
The New Boston - Android Tutorials
It would also help if you learnt some of the Java basics:
The New Boston - Java Tutorials
The tutorials are done by Bucky and Travis and these guys are very good. They take you through the learning step by step.
Also. When you come across problems, the main Android Developers site is very good, but I've also found Stack Overflow very helpful.
I started using the tutorials with no Android or Java knowledge at all and I've used what I have learned to make a couple of basic soundboards so far and other bits and pieces, but what they teach you gives you the potential for a lot more.
You can see the apps I've made Here (Google Play) and Here.
Good Luck.
Click to expand...
Click to collapse
Yea, right now I'm using code army to learn Java.

[Q] Learning to develop Android app - should I learn Java first?

I learnt programming a long time ago (20 years ago) and back then I learnt C++. Fast forward to present, I have interest in creating an Android app and started doing some research. I bought some books and watched some video, downloaded Eclipse, etc.
Although I still remember some Object Oriented Programming concepts (Polymorphism, if-else-then loops, etc.), I never fully grasp some of the syntax presented in those study books / videos. This could be because I am a total noob when it comes to Java.
So my question is: is it worth it to learn Java first, completely independent on Android, and THEN learn Android programming?
PS: I did bought some Java books but I don't think some of the things there are applicable to Android. For one, I setup Eclipse with Android SDK and although I can create some Android app (even have it run on my phone! YAY!), I could not figure out how to write, compile and execute Java app in my MacBook (keep throwing a bunch of exceptions).
lanwarrior said:
So my question is: is it worth it to learn Java first, completely independent on Android, and THEN learn Android programming?
Click to expand...
Click to collapse
Of course. You need basic-medium java knowledge to develop your apps. About this...
lanwarrior said:
I don't think some of the things there are applicable to Android
Click to expand...
Click to collapse
It's not true. If something can be done in Java for PC, can be done in Android as well (in the same way, or using the Android way, easier and better, mostly times ).
Any recommendation on a good Java Book that:
- gets me up and running faster, since I am not focusing in developing a PC/MAC based Java app but Android app?
- Make use of Eclipse?
I suggest learning java first before you start app development so that you will understand what you are actually doing while writing the source code
Complete reference java is a good book to make your concepts crystal clear
for android app development tutorial you can refer thenewboston video tutorials and developer.android.com for understanding android os and API
Sent from my GT-S5670 using xda premium
How "deep" should I learn Java first?
I read some Jave books that covers really deep stuff that are over 1000+ pages, and there are books like the "Learn Java in 24 hours", etc.
I am just curious because I have read articles whereby people with no programming experiences had developed iPhone apps in months. I think Objective-C is harder to learn than Java because it does not have some of the great features like garbage collections, etc.
lanwarrior said:
How "deep" should I learn Java first?
I read some Jave books that covers really deep stuff that are over 1000+ pages, and there are books like the "Learn Java in 24 hours", etc.
I am just curious because I have read articles whereby people with no programming experiences had developed iPhone apps in months. I think Objective-C is harder to learn than Java because it does not have some of the great features like garbage collections, etc.
Click to expand...
Click to collapse
Throwing an Android app together is relatively easy, especially if you've got prior programming experience. Between the plentiful tutorials and stackoverflow to help with specific semantics, it's pretty straight forward to get what you want done. However, there's a big difference between getting something done, and getting it done efficiently - that's where having a fundamental grasp of the underlying language comes in handy.
When I was starting out I grabbed a couple different books, from basic Android programming to Advanced Java. I found Learn Java for Android Development to be a very decent read, and it was great for getting me up to speed on Java quickly, without going through basic coding principles I already understood from using other languages (or burying me in deep Java mechanics that I didn't really want or need).
--
Jason
rossja said:
When I was starting out I grabbed a couple different books, from basic Android programming to Advanced Java. I found Learn Java for Android Development to be a very decent read, and it was great for getting me up to speed on Java quickly, without going through basic coding principles I already understood from using other languages (or burying me in deep Java mechanics that I didn't really want or need).
--
Jason
Click to expand...
Click to collapse
Thanks for the recommendation on the book. Seems like a perfect book for me!
lanwarrior said:
I learnt programming a long time ago (20 years ago) and back then I learnt C++. Fast forward to present, I have interest in creating an Android app and started doing some research. I bought some books and watched some video, downloaded Eclipse, etc.
Although I still remember some Object Oriented Programming concepts (Polymorphism, if-else-then loops, etc.), I never fully grasp some of the syntax presented in those study books / videos. This could be because I am a total noob when it comes to Java.
So my question is: is it worth it to learn Java first, completely independent on Android, and THEN learn Android programming?
PS: I did bought some Java books but I don't think some of the things there are applicable to Android. For one, I setup Eclipse with Android SDK and although I can create some Android app (even have it run on my phone! YAY!), I could not figure out how to write, compile and execute Java app in my MacBook (keep throwing a bunch of exceptions).
Click to expand...
Click to collapse
I think u are on the right way.
Please go into android directly.
Do you have a specific idea what you want to create? If no, Get one. I had no idea about Java and Android, only knew visual basic and some c#, but I had an idea what I want to create. And this way i started watching basic tutorials and got some basic information how to do stuff(intents, the thing with the contexts). For me personally, learning the Java stuff was easy, as its really close to what i knew(and you know some c++, which gives you the basics). Simply read a little bit about the control structures and classes and Start making your app. And if you want to know how something works, Google it!
Btw: i am really young, so this shouldnt be a Problem for somebody older.
Gesendet von meinem SM-N9005 mit Tapatalk

Need help with programming android dictionary app

Hey guys,
I just want to make android dictionary app with only over a thousand of words. I have the list of words and their meanings in Word Microsoft office . I have installed all the android packages i need. Do i need to know a lot about java to make this dictionary? I dont know anything about programming but i just want to make this app. how do i start about programming dictionary? Do you have any suggestion webs/ tutorials similar to programming dictionary?
Appreciate your help!
java is necessary for android application development
if you don't know java , I suggest learning the basics of java ,especially concepts of objects and classes
there are many online / offline java guides/books/tutorials
I myself referred to local books and Complete Reference Java
once you have learnt java , you can refer to developer.android.com and read about the basic APIs training part
also you can refer to video tutorials by thenewboston , they are also good
all the best :thumbup:
Sent from my GT-S5670 using xda premium

I wanna learn android coding

Ok ok I know there are a million tutorials if I just google this but I was hoping one of our local experts would give me some direction on how to get started. I have to start from the ground floor kearning languages etc. So what program(s) will I need? Know of any good tutorials?
Sent from my SCH-I545 using xda app-developers app
Get this
Text Editor
Get this
Archive Tool
Read all of this
Everything Android Development
Get this
Android SDK
Get this
Java Runtime Environment
Get this
Dsixda's Kitchen
Read all of this
Beginners guide to development
Read all of this
General Android Cooking
As far as learning the coding itself... Google it. There are probably a billion different links and walkthroughs on all sorts of coding. My suggestion is to focus on one small aspect of android development to begin with. For me it was kernel and other performance tweaks. But I already understood the code well enough to skip the basics as I was a linux nerd first.
You da man...Dubbsy
Search Android Development for Absolute Beginners on YouTube
This is a really good playlist on YouTube by mybringback, you don't even need to know any languages, you kind of learn to use JavaScript, XML etc on the way. The whole playlist is travis guiding you through making an android app
You need ADT/ Eclipse I think, he tells you all you need in the first video
Sent from my SCH-I545 using xda app-developers app

Categories

Resources