Answer the question
In order to leave comments, you need to log in
Learning Java on the example of Android applications?
Hello!
Are there any tutorials that explain the principles and basics of the language, using the example of creating an android application?
Or what can be learned about Java in connection with app development?
I am programming in JS, PHP. I wrote an application, but I need to deepen my knowledge of Java for productive work. I don't know how to do it right.
Answer the question
In order to leave comments, you need to log in
Learning java through android is not the best idea. There are a lot of complexities and discrepancies in android. It is better to learn pure java se and on this basis, specifically android, then there will be an understanding of the internal structure of the android api.
I recommend reading "Bruce Eckel - Java Philosophy" and in parallel "Eric Freeman, Elizabeth Freeman - Design Patterns".
So-so idea to learn Java through Android. Android uses Java purely as a front end, a developer-friendly syntax. But the JVM is there. The principle "it is written once, it is started everywhere" because of it is not observed. You can't run an app written using the Android SDK anywhere other than Android OS. Java as a language is pretty banal and boring. Learning Java just as a language is also boring. You need to get into the infrastructure right away. There is probably no book. On the Oracle website, there are quite detailed tutorials on the implementation of this or that functionality. In your place (and once I was there), I would take ready-made developments (you implemented something in PHP, JS) and try to reproduce them in Java. If this is a web - take the Spring Framework with its Spring MVC (there are sooooo many tutorials on it), if you want a desktop - take JavaFX (there is not much information here, but you can find it). And then I came to the conclusion that you might want mobile ... Then yes, let's take Android and let's go ... But the main idea is that learning Java is not the goal itself, the goal should be to study the infrastructure and tools for building software in Java.
If
java is needed only in the context of android, then this is more than enough for the
first
time at first, it will save you from stupid mistakes
I will advise you courses on Udacity for android from Google. They explain the basics of android development as if you have no knowledge of java using the example of creating applications. Initially, their approach may seem too "childish", but the further you go, the more complex and useful the information will be.
Continue sawing applications, sooner or later you will reach the moment when you need deeper understanding in some direction of Java, then you will understand what you need to learn.
+ Read, Java philosophy has not been canceled.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question