I. Functions and resources of Windows Phone 7
First, let's take a look at a picture. It's not official information. This is based on usage.
In WP7, resource storage locations are divided into four types:
For the contact function, whether it is a phone number, email address, or Facebook, it is a type of resource: contact.
As a result, Microsoft has integrated all the things into people, which is reasonable in terms of type, but it still takes time to adapt. In addition, it imposes strict access restrictions on contacts.
The application can only call the corresponding dialog box to select a contact to get a number or email. Or call the text message and call dialog box.
The resources involved in Zune functions, videos, images, and music are media libraries.
There is nothing to say about the library, but the application's access to the library is also strictly limited, all read-only, only allows the append of images to the library.
Third, ApplicationProgramLocal Storage.
Local Storage has strong security, and applications cannot access each other. Even Microsoft has made the office suite an application, so there is no need to worry about it. If he wants to make multiple, he cannot interwork data.
The modification of this item is revolutionary. I was so angry at the moment that it was a tragedy that applications could not exchange data. The previous usage habits were completely revolutionary and no longer needed resource managers, there is no other directory for you.
This time, Microsoft designed three blocks for WP7 storage, two of which were used to by users. You need to adapt and understand it.
The fourth type of resource is SkyDrive.
When you register a live ID and click "big" in the contact, you can pin to start. You can see your content on SkyDrive.
The image viewing program can be uploaded to SkyDrive. No other applications have the function of uploading SkyDrive.
Resources are independent from each other. There is only one special case: IE File Download or email attachment (or IE download ).
When a file with a specific extension is encountered, the file will be directly downloaded to the corresponding private path or media library of the application.
Microsoft believes that all user needs have been solved and sufficient security has been achieved. Therefore, the file system has been killed.
From the perspective of the large resource relationship, Microsoft indeed found a simple path for users to process resources, but the details of the current version of WP7 are all problems.
Ii. Restrictions and defects of Windows Phone 7 storage
Windows Phone 7 storage has been analyzed. Yes, this shortest path is perfect, has a clear division, and features are simple.
However, some restrictions of the first version are crazy, and the details are not very powerful. Let's take a look at the restrictions:
1. Strictly protected contacts
The program cannot obtain the contact list. If you want a contact list, the number is the number, and the mailbox is the email address.
Contact Management Tool: dead.
All contact functions have a unified interface. You need to make a call, send a text message, and confirm it again.
SMS fee-absorbing software: dead.
Send SMS messages in batches: dead.
2. Media libraries that cannot be managed by applications
The program can only read the media library and append images.
Media repository management tool: dead.
3. Completely concealed Local Storage
Remember that there is no compromise on local storage. Please give up any unnecessary attempts.
Network path for any exchange
4. Unfriendly SkyDrive
SkyDrive does not provide interfaces for general applications.
5. Malicious emails
Generally, you cannot add attachments to emails.