views:

386

answers:

5

I'm a beginner in programming. My experience so far is only in Actionscript 2 and 3. So I have a basic understanding of declaring variables, loops, arrays, if/then, do/while... I'm wanting to move to developing for Android phones so I'm wondering what suggestions people have for where to go next. Should I jump right to Android? Start with a 'beginning Java' approach? Or should I go some other route to beef up my knowledge of OOP concepts before launching into Android? I have my Dev environment set up and completed the Hello Android tutorial and I'm just wondering if I am going to be in over my head quickly?

+3  A: 

definitely nail down java syntax, so as little as possible confuses you in android development. android has some interesting objects to say the least--and their names don't hold traditional data structure names that you would be used to seeing. so, again, master the syntax, write some apps, then think about diving into android.

David
@david - thanks for the suggestion, I will definitely start out on the Java side.
Hudey
FYI: kubi's book suggestions are a good place to start. sit down at a store for an hour or so one day and just pine through the first few paragraphs of each chapter of all the java books on the shelf. the "Head First" would probably be good for your level if you need a recommendation. Then buy a Murach's or O'Reilly for reference. OH i almost forgot...learn to love the online API http://java.sun.com/javase/reference/api.jsp and the specific 6 API http://java.sun.com/javase/6/docs/api/
David
+2  A: 

Yep, I'd say you need to learn java properly, and doing it exclusively through android is probably not the quickest approach. Try working your way through a recently published (it is essential that it covers generics) Java introduction book, then take on Android.

Hans Westerbeek
+8  A: 

I'm just wondering if I am going to be in over my head quickly?

Almost without a doubt. ^_^

My suggestion: Buy two books from Amazon.com

  1. An Android development book. Work through every example in this book, do the problems at the ends of the chapters, take your time, understand what you're doing.
  2. Buy an up-to-date Java book. Use it for reference when the Android book discusses something you don't understand.

This is very similar to what I did years ago to learn Obj-C and Mac development and it worked well. It will take you longer to get up to speed than diving into development and hacking something together, but at the end of the day you'll have a much better understanding of the principals and intricacies of writing code for the Android platform.

I should also mention my reasoning behind suggesting you buy books instead of using free Google results. Books are structured and highly edited. Assuming the author(s) are competent, a decent book will teach you what you need to know and leave out details that are either unimportant or more advanced that what you strictly need. It's difficult to impossible to find that level of structure in an online tutorial.

kubi
@kubi - thanks so much. I had the feeling that I need to start with Java first but hadn't seen anyone suggest that. Your approach makes a ton of sense to me.
Hudey
so vote up his answer
Hans Westerbeek
I tried Hans... brand new user, so I guess I need 'reputation' to do that ... ?
Hudey
i just voted up you question so now you can do that :) Good luck learning java+android!
Hans Westerbeek
@hans - thanks - I'm up to 13 so I'm almost there :)
Hudey
+1  A: 

Android would be trial by fire. If you continue directly in Android, choose a few more simple hello world with bells on types of project. With ActionScript you were learning both a language and the platform, and switching to Android means learning a new language and very different platform. Most of the assumptions you acquired learning Flash will be wrong in Android.

drawnonward
@drawnonward - The trial by fire is actually how I learned Actionscript, but I had the feeling from the start that it's not the way to start with Android. Thanks for confirming my suspicion!
Hudey
+1  A: 

I began learning Android with an understanding of JavaScript from front end web development. I grabbed the Wrox Android book and used the tutorials at http://java.sun.com/docs/books/tutorial/index.html to help me through the Java parts. I suggest diving head first into Android and going back to Java reference/tutorials where needed.

Matty F