Answer the question
In order to leave comments, you need to log in
How to learn Java and Android?
I want to be an android dev. I poked around a little directly in the android, I realized that I needed to tighten up the language itself. I'm learning Java, got to about page 300 of Schildt's Complete Guide and feel a little lack of motivation. Since I read a lot in theory, but I can’t apply it in practice. Where to get practice and what to learn in what sequence to become an android developer?
Answer the question
In order to leave comments, you need to log in
Send a request to $url with $querystring data.
use_fsockope uses sockets, use_curl uses CURL. In fact, both functions do the same thing with different methods
php.net/manual/ru/function.fsockopen.php
php.net/manual/ru/function.curl-init.php
What does this piece of code do?
I started learning Java with the HeadFirst book Learning Java. It gives a good understanding of the basics of OOP, of course the Java language itself, and all this is supported by interesting examples. After this book, you need more practice, google puzzles. Also, in the HeadFirst collection there is a wonderful book on "Design Patterns", I read it to train OOP thinking, well, to study the patterns themselves. For android, I was looking for material myself, I also plan to study it, I found this resource developer.alexanderklimov.ru/android/index.php
True, I myself have not looked at it yet, but, at first glance, the material is presented in an understandable language.
Write Tetris. Lots of tetris. Each next to be better than the previous one.
What you need to start from the theory: OOP (interfaces, abstract classes, scopes, polymorphism, ...), patterns (you can at least start with this small post habrahabr.ru/post/136766/)
If you know the theory - go ahead to the embrasures. To begin with, I suggest that you familiarize yourself with the standard library and work with it a little. At least roughly see how and when to use different data structures.
Then write a couple of programs in Java SE (desktop applications) using Swing, because in the droid there will still be different Layouts and you need to roughly imagine what it is and how convenient they are sometimes due to the dynamic arrangement of elements.
Familiarize yourself with XML, what it is and what it is eaten with. To describe the interface you need.
It is advisable to get acquainted with the Gradle, Ant build systems, preferably in that order, Gradle is already stepping on the heels of Ant.
And then you can start writing under the droid, since there is startandroid.ru/ru
Good examples can be found at startandroid.ru.
If just writing examples is boring, then find some very simple application on googlePlay (Todo list, shopping list, note-taking program) and copy. Create your own application with exactly the same functionality. You can add something of your own.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question