Android's 8 questions about data sharing answer notes

1. Which two methods are provided in android to get the SharedPreference object?

The following URL is a good answer in my opinion:

https://www.2cto.com/kf/201502/375364.html

2. When is internal storage and external storage?

  1. Internal storage - refers to the storage space of the mobile phone when it leaves the factory, or ROM, which is the place where the firmware and software of the mobile phone system are installed by default. You can't read or write anything here without root privileges. For example, in Apple's 16G version, internal storage refers to the additional storage space in the 16G in addition to the mobile phone system.

  2. Mobile phone storage - usually refers to the built-in SD card of the mobile phone. In fact, it has the same function as the extended SD card, but it is set on the main board of the mobile phone and cannot be changed at will. It is a fixed space and is separate from the mobile phone system. When the phone needs to be restored to factory settings, it will not move the things stored on the phone.

3. What methods are commonly used in those two classes for internal storage?

http://www.cnblogs.com/ITtangtang/p/3920916.html

4. Briefly describe the difference between the raw and xml subdirectories in the res directory

http://www.jb51.net/article/77904.htm

5. What is SQLite?

SQLite, a lightweight database, is an ACID -compliant relational database management system contained in a relatively small C library. It is a public domain project established by D. Richard Hipp. Its design goal is embedded , and it has been used in many embedded products . It occupies very low resources. In embedded devices , only a few hundred K of memory may be enough. It can support mainstream operating systems such as Windows/Linux/Unix, etc. , and can be combined with many programming languages, such as Tcl, C#, PHP, Java, etc., as well as ODBC interfaces. In terms of world-renowned database management systems , its processing speed is faster than all of them. The first Alpha version of SQLite was born in May 2000. It has been 15 years since 2015, and SQLite has also ushered in a version SQLite 3 has been released.

6 How to create and open database files?

http://www.cnblogs.com/zminmin/p/6903456.html

7. Briefly describe the role of Content Provider

http://blog.sina.com.cn/s/blog_6ca887bb0100zapm.html

8 Briefly describe the usage of URI provided by Content Provider

http://www.cnblogs.com/linjiqin/archive/2011/05/28/2061396.html


Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325571631&siteId=291194637