Take the 2-minute tour ×
Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. It's 100% free, no registration required.

I have just started learning Android App Development a few days ago, with prior knowledge of C/C++, HTML and CSS.

This is the situation I am facing Repeatedly:

I am learning from a Video Tutorial Series, after each video, or each few videos, I say myself: Let's use what I have just learnt in the simple (and also "meaningless") app that I have made so far by watching the tutorials.

I start implementing it, but then after a few minutes, I realize that I cannot do it because I do not know a few other syntax related to the particular thing, (or) I do not know whether these things can be combined with these other things by the use of . (dot).

Whatever I try, I get either an error in eclipse or "Sorry...the app com.example.simple has stopped unexpectedly...." when the app runs.

Then I search StackOverflow, Google and learn that what I want to implement requires learning about a few more classes, syntax and creating a few more java classes.

I am not able to experiment on my own. Is it normal? Is it the HARD-WAY in which one is supposed to learn?

Should I first learn Java and then come back to Android - would that be helpful?

share|improve this question

closed as off-topic by gnat, MichaelT, Kilian Foth, GlenH7, World Engineer Oct 28 '13 at 22:50

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions seeking career or education advice are off topic on Programmers. They are only meaningful to the asker and do not generate lasting value for the broader programming community. Furthermore, in most cases, any answer is going to be a subjective opinion that may not take into account all the nuances of a (your) particular circumstance." – gnat, MichaelT, Kilian Foth, GlenH7, World Engineer
If this question can be reworded to fit the rules in the help center, please edit the question.

7  
Yes, you definitely should learn the language you are using from simple examples, before trying to learn a complex platform. –  Andrea Nov 9 '12 at 8:57
add comment

2 Answers

up vote 3 down vote accepted

I am really happy to see that you want to do Android programming, it is advised to learn Java before learning Android. It is something you don't know HTML but want to create a web page.

But on the start you can implement very simple hello world type of example and grasp the concepts before jumping into programming.

"Language does not matter, logic does". keep trying and don't give up on this.

Eclipse is quite powerful to debug and analyze errors. You could post some code errors might someone can give you right guidance.

share|improve this answer
1  
It's not mandatory to learn Java if you use one of the cross-platform toolkits like PhoneGap, Appcelerator and so on. –  Alan B Nov 9 '12 at 14:21
1  
"it is mandatory to learn Java... " - not for any definition of 'mandatory' that I'm aware of. I think the word you are looking for is "recommended" –  GrandmasterB Nov 9 '12 at 16:20
2  
Well, that is kinda the same as saying that it's recommended to learn how to swim before jumping off a cruise ship. If you want to do Android programming and not just create HTML based apps, you SHOULD know Java. –  cseder Nov 9 '12 at 16:48
1  
I have to agree with @cseder on this. Trying to get into Android without learning Java (by way of PhoneGap or similar) is - to extend his metaphor - like using a life jacket without knowing how to swim. You'll probably get something done, but not nearly as much as you could. –  Izkata Nov 10 '12 at 5:08
    
Appcelerator creates native Android apps, FWIW. –  Alan B Nov 20 '12 at 16:24
add comment

I would highly recommend spending some time studying Java before jumping into the fray of Android development, as it adds a whole layor or two of complexity on top of the language. I am fairly new to both Android and Java, but Java in a Nutshell really helped get to grips with the Java part of Android development. This book is really great in explaining the basics(the first few chapters) and differences to C++.

share|improve this answer
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.