Professional Documents
Culture Documents
Default Storage Selection For Apks and Multimedia Content Feature Analysis
Default Storage Selection For Apks and Multimedia Content Feature Analysis
Restricted Distribution: Not to be distributed to anyone who is not an employee of either Qualcomm or its
subsidiaries without the express approval of Qualcomm’s Configuration Management.
Not to be used, copied, reproduced, or modified in whole or in part, nor its contents revealed in any manner to others
without the express written permission of Qualcomm Technologies, Inc.
Qualcomm reserves the right to make changes to the product(s) or information contained herein without notice. No
liability is assumed for any damages arising directly or indirectly by their use or application. The information
provided in this document is provided on an “as is” basis.
This document contains confidential and proprietary information and must be shredded when discarded.
Qualcomm is a trademark of QUALCOMM Incorporated, registered in the United States and other countries. All
QUALCOMM Incorporated trademarks are used with permission. Other product and brand names may be
trademarks or registered trademarks of their respective owners.
This technical data may be subject to U.S. and international export, re-export, or transfer (“export”) laws. Diversion
contrary to U.S. and international law is strictly prohibited.
1 Introduction...................................................................................................... 5
1.1 Purpose.......................................................................................................................... 5
1.2 Scope............................................................................................................................. 5
1.3 Conventions .................................................................................................................. 5
1.4 References ..................................................................................................................... 5
1.5 Technical assistance ...................................................................................................... 6
1.6 Acronyms ...................................................................................................................... 6
Tables
Table 1-1 Reference documents and standards ............................................................................................ 6
2 1.1 Purpose
3 This document analyzes the feature of “Default Storage Selection for APKs and Multimedia
4 Content” from marketing and gives QRD’s proposal.
5 1.2 Scope
6 This document is applicable to all releases of QMSS 8x10, 8916, 8939 with Android Kitkat
7 version.
8 1.3 Conventions
9 Function declarations, function names, type declarations, and code samples appear in a different
10 font, e.g., #include.
11 Code variables appear in angle brackets, e.g., <number>.
12 Commands to be entered appear in a different font, e.g., copy a:*.* b:.
13 Button and key names appear in bold font, e.g., click Save or press Enter.
14 If you are viewing this document using a color monitor, or if you print this document to a color
15 printer, red typeface indicates data types, blue typeface indicates attributes, and green typeface
16 indicates system attributes.
17 Parameter types are indicated by arrows:
→ Designates an input parameter
← Designates an output parameter
↔ Designates a parameter used for both input and output
18
19 Shading indicates content that has been added or changed in this revision of the document.
20
21
1 1.4 References
2 Reference documents are listed in Table 1-1. Reference documents that are no longer applicable
3 are deleted from this table; therefore, reference numbers may not be sequential.
Ref. Document
Qualcomm Technologies
Q1 Application Note: Software Glossary for Customers CL93-V3077-1
5
11 1.6 Acronyms
12 For definitions of terms and abbreviations, see [Q1].
24 Other popular applications in India and China market (such as whatsapp, mobile QQ, Wandoujia
25 etc) have the same behavior as “Facebook”.
26 Above unexpected behavior is heavily making end-users confused.
3 <StorageList xmlns:android="http://schemas.android.com/apk/res/android">
4 <!-- internal storage -->
5 <storage android:mountPoint="/storage/sdcard0"
6 android:storageDescription="@string/storage_internal"
7 android:primary="true"
8 android:emulated="true"
9 android:removable="false"
10 android:mtpReserve="100" />
11 <storage android:mountPoint="/storage/sdcard1"
12 android:storageDescription="@string/storage_sd_card"
13 android:primary="false"
14 android:emulated="false"
15 android:removable="true"
16 android:allowMassStorage="true" />
17 </StorageList>
18
19 Applications will read/write their private data (such as their own DataBase, picture resource,
20 downloaded files) in this "primary external storage". When one application runs for the first time
21 after installed, some essential private data will be automatically created by this application in
22 “primary external storage” and be updated at times during running.
23 If this “primary external storage” is changed during running, applications will lose all essential
24 data and important updated data, which will definitely cause lots of serious unknown issues.
25 Because of the above technical limitations, commercial reference phones never change “primary
26 external storage” and just use “Default Write Disk” option for only few applications (Camera,
27 browser download). But this option seems applicable for all applications in reference phones,
28 which is fake and is misleading end-users.
29 2.4 Conclusion
30 This feature is far less useful than end-users expected and as a result not necessary, because
31 QRD’s builds already support configuring “save location” in camera application and browser
32 download.