Job Recruitment Website - Recruitment portal - Does Google recruit Andre?

Does Google recruit Andre?

Confess, of course. You can look at the test questions.

Google Android Development Engineer Job Interview Question

Recently, many companies recruit Android programmers, summarize some common basic questions of Android interview and see how much you can do.

1. What are the ways to start an activity? Do you understand every meaning?

Here Android 123 reminds everyone that some intention signs are flag _ activity _ brough _ to _ front.

, FLAG_ACTIVITY_CLEAR_TOp, flag _ activity _ clear _ when _ task _ reset, flag _ activity _ exclude _ from _ recent, FLAG_ACTIVITY_MULTIpLE_TASK and FLAG_ACTIVITY_NEW_TASK.

Wait a minute. For each meaning, please read the SDK document and run down specifically, so that your memory will be deeper.

2. What are the startup modes of activities and tasks? What does each mean?

The definitions of android:launchMode in AndroidManifest.xml mainly include standard, singleTop, singleTask and singleInstance. At the same time, we should also understand the problem of android: taskAffinity. The previous article has mentioned the Android development network, but many developers are still not clear about it. We will summarize these basic problems again in the future.

3. What are the ways to pass some binary data through intention?

1). Use Serializable interface to realize serialization, which is a common method in Java.

2).

Implement the parcelable interface, in which some classes of Android have been implemented, such as Bitmap class, and parcelable is in Android.

It is also common to exchange data at AIDL.

4. Can you talk about the entrance of Android application?

The main method has been implemented in an application example of Google virtual machine. Please refer to the specific application introduction.

What is the entrance of Android program, not Main ()?

5.Java's basic question, what's the difference between HashSet and HashTable?

I believe that Java programmers all know that HashSet can't store duplicate data compared with HashMap, and for HashTable, the stored data can't have the condition that key or value is null.

6.Java basic problem, using Java collection class to write breadth-first search.

This is a basic data structure problem, and it is more practical to process it layer by layer through queues than depth-first stack processing.

7. What XML parsers are there in 7.Android? Are you familiar with them?

Xmlpull, SAX and DOM here are familiar to those who have done Web development.

8. Does 8.SQLite support transactions? How do additions and deletions improve performance?

As a lightweight database, SQLite is smaller than MySQL, but supports SQL queries. In order to improve performance, we can consider the original optimized SQL query.

9. Are you proficient in Android services, Binder and AIDL?

As an important background service of Android, these are what every Android developer should master, which is also related to Java.

SE is the biggest difference. For specific examples, you can check the source code of Android music player in Music.git, so I won't go into details here.

10. Which Android phone have you used? What are its advantages and disadvantages? What are its advantages and disadvantages compared with iphone or Symbian?

Taking this as an interview question is also an investigation, which can probably understand its understanding of Android and multi-mobile development.