📜 ⬆️ ⬇️

Everyone should know this.

The demand for Android developers is great now. I decided to prepare a list of what each developer needs to know for this platform. This is not only what you may be asked to do during the follow-up, but the whole range of knowledge that is most likely useful in work. The bonus is a couple of interesting questions about the platform.


Android platform:



')
As a bonus, it is useful to know:



Core java. All that is necessary for an ordinary java-developer.




Some interesting questions about the platform:


1. There is Task 1, Task 2. In the first there is Activity A, on top is Activity B. Task 2 sends intent to launch Activity A, while A has a launch type = “singleTask” in the manifest. What happens to Task 1? What will the Activity stack look like in Task 1? What happens when you press the Back button a few times?

2. There is a service that was launched through binding with the Activity. What happens to the service when the user leaves the relevant Activity? What needs to be done to change this behavior?

3. Inside the Activity, a BroadcastReceiver defined as a non-static internal class. Can such a receiver receive intents? Why?

Answers to questions will be in the comments.

Material for preparation:

Android Dev Guide

PS I will be glad to expand this list.

Source: https://habr.com/ru/post/120772/


All Articles