| Home · All Classes · Grouped Classes · Annotated · Functions |
The Qtopia document system integrates with Digital Rights Management (DRM) and the Safe Execution Environment providing an enabling layer to enhance file-handling across all applications. Files are displayed by category rather than as a hierarchy which provides application-specific file displays. For example, if the user selects Mediaplayer, only the files able to be used by the Mediaplayer are displayed for selection.
The Document Management architecture of Qtopia provides a system-wide approach to management of user-visible documents such as images and music files. This allows efficient navigation of documents, removable storage media, and complex document types such as Digital Rights Management (DRM) files. The SafeExecution system Document Server also relies on the Document Management system to control access to documents.The document API framework provides the basis for the Document Management system and enables the browsing and launching of Digital Rights Management (DRM) files. An SQL database backs the framework allowing for flexible document management services.
The framework includes a scanning algorithm designed to run in the background and allow the user interface to continue to operate during document discovery. Qtopia applications in the launcher are also managed via the API.
Loading, saving and other file operations performed by Qtopia applications are channeled through the Document Management systems File Manager functionality. This allows management of DRM content for example, which must not be saved to external storage devices in plain-text format.
See the Document System API Documentation for further details.
Work has been done to clean up the public facing API of the Document System, to make it a complete and stable API. The intent is to enable Application Binary Compatibility through the 4.x Qtopia series, with as much planning for future features as possible. This is backed by a more efficient location storage and notification framework.
NOT YET IMPLEMENTED
The Document Server exposes the functionality of the Document System using a Unix Domain Socket based server. Untrusted applications may connect to the server and utilize a select sub-set of the document system features without requiring direct access to the documents database.
The functionality of the Document System available to an application is determined by its SXE profiles. In this way an application may be allowed to view document meta-data but not open or edit documents.
The Document Server also provides a Document Selector Service which displays an open/save document dialog on behalf of an untrusted application. A selected document is opened by the Document Server process and passed to the untrusted application over the Unix Domain Socket using Ancilliary Data. Because the dialog is displayed by the server it allows the user unfettered access to their documents, but strictly limits the application's access to documents explicity selected by the user.
The Document Server thus allows downloaded untrusted applications to handle user documents. This enables downloadable Photo Editors, and so on.
There is now provision for media management such as playlists, supporting MP3 ID3 tags, EXIF tags in JPEG photos etc.
A navigation view for documents tab, in cases where there are thousands of documents, a hierarchical (drill down) menu approach is used. Full-featured navigation by type and category is available.
This facility also allows selecting content on the SD Card.
The previous LauncherView/LauncherIconView framework for displaying Applications/Documents/Games/Settings has been moved to a new Model/View framework, backed by QContentSet::model(). This provides better performance and "just-in-time" fetching of content data.
In line with the new QCopObject content channel notification architecture fewer messages are now passed for updates of the sets and thus the views.
A content filter expression system is integrated with the Document view/model. The system also handles the Qtopia application views (Applications, Games, Settings etc) and a visual notification of scanning for documents is provided.
NOT YET IMPLEMENTED
Similar to the PIM searching feature documents can be navigated by typing letters. The UI responds by skipping to items in the list which start with those letters. This works in conjunction with scrolling through the list with up and down arrows, or selecting by type/category.
PIM code currenlty has some SQL techniques which may be borrowed to assist with the back end.
Work has been done to reduce startup times and overhead involved with the new document system, including first run, through initial startup times, to general usage. Much of this related to the operation of the actual database engine on the device file-system, but also included SQL and other optimizations.
NOT YET IMPLEMENTED
Update 26/10/2006 - MimeType system must handle case of an unknown mimetype for a piece of content (flagged by "application/octet-stream") such that this can be updated when new information about that file arrives (eg an new extension to mime-type mapping).
Mime-type information must be tracked by Qtopia to answer the questions:
Associated questions are:
In 4.3 SXE and the PackageManager will allow downloaded programs that can display and work with users files. For example viewers and editors for such files as mp3's and camera pictures may be available for download.
Installing such applications may update the mime-type information tracked by Qtopia.
Also new content may arrive on the device via a download, or new files may be on inserted media cards. Such new content may come with file-extensions or mime-types, or both, or neither.
Image and Document selector widgets available for use in other applications, now use the above optimized and full-featured framework.
| Copyright © 2007 Trolltech | Trademarks | Qtopia 4.3.0 |