Hello everyone, before I tell you about my interview experience and the interview questions I met, I’d like to make a few diggations.

I have been working with Android for 3 years, and I always search for answers on the Internet (CSDN Danniu blog, StackOverflow, etc.) when I encounter difficult problems at work. I would like to express my heartfelt thanks to you for sharing your experience and helping those of us who need help. However, now THAT I think about it, IT is time for me to share my problems and solutions, hoping to help those in need.

Over time, a lot of people say that the Internet business has gotten harder to do, because the days of burning cash are over, there are only big, established companies left, and the unicorns are gone. This directly led to the decline of the Internet post, I pro test, and indeed so.

In May 2017, I quit my job (at this time, I worked in Shenzhen with 3 years of work experience) and began to test the Android market, looking for a suitable and stable medium and large company. I applied to many companies, but the interview opportunities were not as many as I expected. The interview process went smoothly and I didn’t get any offers (there were too many candidates). However, I took this opportunity to interview 10 companies, now I met the interview questions, and provide some interview skills for you to interview comrades.

OK, to enter the theme, look at the Android Knowledge Graph.

PS. Because of text limitation, if you want these 26 interview answers or more relevant information, please comment or follow me in a private message.

In a job interview, you will be asked these questions (lots of them!). , hiring senior android developers will go deeper, and will ask a extension of two. The following I first put forward a few key points, is the basic interviewer must ask questions, please be sure to understand! Java Basics — Data structure, Threads, MVC Framework communication — Network Connection (HttpClient, HttpUrlConnetion), Socket data Persistence — SQLite, SharedPreferences, ContentProvider Performance Optimization — Layout optimization, Memory optimization, battery optimization security — Data encryption, code confusion, WebView/Js calls, HTTPS UI — Animation Other — JNI, AIDL, Handler, Android6.0/7.0/8.0, Kotlin, I/O conference, I/O conference Let’s go over that one more time. In order to secure an offer, it is important to understand the implementation principles and the usage scenarios. Don’t carry it! Understand! The interviewer is tired of hearing all this stuff all day and had better be able to offer some insight. Interview questions (fixed answers not answered, you can find)

The order is based on memory, there is no priority, it is all important.

1. The Activity startup process (don’t answer the lifecycle)

2. The startup mode and usage scenario of the Activity

(1) Manifest setting, (2) startActivity Flag

3. Two startup modes of Service

(1) startService(2) bindService()

4.Broadcast registration modes and differences

(1) Static registration (Minifest), (2) Dynamic registration

HttpClient: HttpUrlConnection: HttpUrlConnection: HttpUrlConnection: HttpClient: HttpUrlConnection: HttpClient: HttpUrlConnection

6. The difference between HTTP and HTTPS

7. Handwriting algorithm (choose bubble must be able to)

8. Process survival (undead process) what is the priority of a process

9. Means of interprocess communication

(1) AIDL, (2) Broadcast, (3) Messenger

10. Load the larger image

11. Level 3 cache (all big picture frames can be pulled to this)

(1) memory cache, (2) local cache, (3) network

12.MVP framework (required)

13. Explain the Context

14.JNI [Extend here: where JNI is used in the project, such as: core logic, key, encryption logic]

15. Differences between the Java VIRTUAL Machine and the Dalvik Virtual Machine

What is the difference between sleep and wait

17.View, ViewGroup event distribution

18. Save the Activity state

onSaveInstanceState()

19.WebView and JS interaction (which apis to call)

20. Memory leak detection, memory performance optimization

(1) The difference between memory overflow (OOM) and memory leak (object cannot be reclaimed).

(2) Causes of memory leaks

21. Layout optimization

22. Customize views and animations

23. Design patterns (singleton, factory, observer. Function, usage scenario)

Generally speaking, it is OK to say that you can, do not just remember the name of the mouth to say it, or you will suffer.

24. Difference between String, Stringbuffer, Stringbuilder

25. Open source frameworks, why are they used and what are the differences

This is a question that must be asked. He will ask for whatever frame he puts on his resume.

For example, Volley, the interviewer would ask me how Volley works, and how it differs from OkHTTP and Retrofit.

There are a lot of open source frameworks out there, so I’ll just pick a few that most companies will use (frameworks are business and performance oriented, so it’s not always the well-known frameworks that will be used).

Web requests: Volley, OKhttp, Retrofit

Asynchronous: RxJava, AsyncTask

Picasso, Glide

Messaging: EventBus

Please find the above frame by yourself, too many will not be posted.

26.RecyclerView

conclusion

The interviewer’s face depends entirely on their personality (personality, mood, weather, your face). The above are just some of the important points I think, of course, there are many deep things that can not be filled up in a short time, or to see their usual experience accumulation. The interview is not only technical, but also high-level, personnel, which depends on the individual’s play.

PS: If the interviewer asks you if you have any questions, don’t dig a hole for yourself by saying how well you did today and whether you will get the job. Ask about the team, the atmosphere, and try to show interest in the company.

For example, I would like to know whether the company holds regular technical meetings, and whether old employees share their experience.

Life is not easy, so if an interviewer (and you will one day be interviewing someone else) reads this, please put aside your AIRS and prejudices and treat everyone with respect.

Finally, HERE are a few interview tips to pay attention to.

Smiling, polite and humble

Wear a bit decent, wear slippers gg 80 percent

Be sure to bring your resume and a pen

Say thank you when you come, thank you when you finish

Learn to read the interviewer’s face, and don’t move on if you have a bad answer

Don’t brag about your past projects, and don’t brag about them either

Answer the question to calm down, do not say a round of mouth, the interviewer is very annoying

Next, I will write several interview questions for BAT and other big factories, which will be released soon and I am sorting them out. If you like it, please point a zan ha!

Finally, I wish you a smooth interview and find your favorite company.

PS. Because of text limitation, if you want these 26 interview answers or more relevant information, please comment or follow me in a private message.