What is the difference between padding and margin in the UI? Padding the text to the border, margin is the control to the parent form.
A view to display in the interface OnDraw is displayed on the interface. 29. Please explain the relationship between message, Handler, message Queue, Looper in the single-threaded model. Inside the main thread there is a looper loop that iterates over the message queue, and the message contains handler to process the message.
30. What is the full name of Aidl? How does it work? AndroidInterfaceDefinition language (Android Interface Definition Language), a method used to access remote services across process access methods. One as the client one as the server side. The IDL inside Java is a way for Java to access across processes. Aidl inside is an interface, the server has a aidl file, and will generate the corresponding Java file, in the Onbind method returns the Binder object implemented this interface, the client will get to implement the interface object, you can call the object inside the method, The client will also have aidl files and corresponding Java files. Implement the Pacelble interface when passing complex type objects. How to work Day7 querystudent. Phone defender Itelephony interface hangs up the phone. 31please explain the difference between the Android program runtime permissions and the file system permissions. Android program execution needs to read to security sensitive items must be declared in Androidmanifest.xml related permission requests, call, access network, get coordinates, read and write SD card, read and write contacts, etc... The user will be prompted when installing ... the permissions for the drwx file system are Linux permissions. For example, sharedpreference inside the Context.mode.PrivateContext.Mode.world_read_able context.mode_world_writeable 777 own group other32There are many browsers installed on the system, can you specify a browser to access the specified page? Find the corresponding browser's intent filter, pass the data URI, activate this intent Intent Intent=NewIntent (); Intent.setclassname (PackageName, className); Intent.seturi ()33use and understanding of the main thread of Android. The main UI thread cannot perform time-consuming operations, Service,content provider,receive,activity These are running on the main thread that cannot perform time-consuming operations, activity5 seconds, receive10 seconds, service20 seconds, Content provider5 seconds.
android152 Notes 2