TCL Shenzhen Advanced Android
- The architecture of the project, the roles of the various sides. Because of the preparation, this piece is not finished
- Communication mode adopted by each end: HTTP or MQTT. The answer is MQTT.
- Understand the MQTT protocol? What is the linking process like?
- MQTT cannot receive packets. How do I resolve the problem? Have you used any other tools to capture a bag
- Is the MQTT communication protocol self-defined?
- Dictating the socket connection process
- Socket through TCP communication, half packet, sticky packet? Half a pack, sticky bag say
- Socket TCP bytes data. How to ensure the normal format of data on the receiving end
- Does TCP fail to receive data? Even if the network is bad, weak network
- TCP three handshakes, four handshakes back
- Udp application scenarios
- Is udp socket communication used before
- Udp broadcast scenarios
- Udp multicast and multicast, unicast are different from each other
- Differences between UDP and TCP
- Do you know the DLNA screen projection protocol? Which modules are needed at work? What’s the process?
- How the client feeds the recorded audio to the server in real time.
- Is the foreground process understood? How do I start a foreground process? If the service is set to sticky, will the service restart if it is killed?
- What about gc garbage collector? Is it useful at work? What about memory management? Which objects will be reclaimed? What are the problems with GC?
- Do you understand NDK? How do I call so? Did you write Cmake? Talk about the steps for the Java layer to call so
- Let’s talk about the Android startup mode. Singtop, SingTask, SingInstance
- ActivityA——->ActivityB(the startup mode is Singinstance and A and B are different processes), kill ActivityA. If you press on interface B to return to interface A, will interface A restart? What’s the reason?
- Do you know about multithreading? Socket, which has a read stream and a write stream. Read and take. In the case of multi-threading, how to ensure the security of reading, how to design an efficient architecture. The consumption/generation mode is formed by a Queue.
24. Performance optimization knowledge, tell me the process of solving the most difficult performance problem? 25. Linux epoll, select the difference
That’s all I can remember. Algorithms, OKHTTP, and so on are not asked how the framework works