Wikipedia/preview/data/appManager_data.js
changeset 20 918767a9c8d3
equal deleted inserted replaced
19:f3521a11d878 20:918767a9c8d3
       
     1 /**
       
     2  * SAPI Sample Data - AppManager
       
     3  */
       
     4 
       
     5 
       
     6 (function(){  
       
     7 	
       
     8     var data_apps = [
       
     9     {
       
    10         "Path": "C:\\private\\10282822\\com.nokia.forum.widget.accuwidget\\AccuWidget\\accuwidget.xhtml",
       
    11         "Uid": "0x2000dad2",
       
    12         "Caption": "AccuWidget",
       
    13         "ShortCaption": "AccuWidget"
       
    14     }, {
       
    15         "Path": "C:\\private\\10282822\\com.nokia.wrt.tools.sapi.CreatorWidget\\CreatorWidget\\index.html",
       
    16         "Uid": "0x2000dadb",
       
    17         "Caption": "Creator Widget",
       
    18         "ShortCaption": "Creator Widget"
       
    19 	},{
       
    20         "Path": "Z:\\sys\\bin\\lcapp.exe",
       
    21         "Uid": "0x10283139",
       
    22         "Caption": "Location",
       
    23         "ShortCaption": "Location"
       
    24     }, {
       
    25         "Path": "Z:\\sys\\bin\\javadrmmanager.exe",
       
    26         "Uid": "0x1028246e",
       
    27         "Caption": "javadrmmanager",
       
    28         "ShortCaption": "javadrmmanager"
       
    29     }, {
       
    30         "Path": "Z:\\sys\\bin\\iaupdater.exe",
       
    31         "Uid": "0x2000f85d",
       
    32         "Caption": "iaupdater",
       
    33         "ShortCaption": "iaupdater"
       
    34     }, {
       
    35         "Path": "Z:\\sys\\bin\\iaupdate.exe",
       
    36         "Uid": "0x2000f85a",
       
    37         "Caption": "App. update",
       
    38         "ShortCaption": "App. update"
       
    39     }, {
       
    40         "Path": "Z:\\sys\\bin\\SAFlash.exe",
       
    41         "Uid": "0x101fd693",
       
    42         "Caption": "Flash Lite",
       
    43         "ShortCaption": "Flash Lite"
       
    44     }, {
       
    45         "Path": "Z:\\sys\\bin\\eswt.exe",
       
    46         "Uid": "0x101f9516",
       
    47         "Caption": "eswt",
       
    48         "ShortCaption": "eswt"
       
    49     }, {
       
    50         "Path": "Z:\\sys\\bin\\DRMRightsManager.exe",
       
    51         "Uid": "0x101f85c7",
       
    52         "Caption": "Licences",
       
    53         "ShortCaption": "Licences"
       
    54     }, {
       
    55         "Path": "Z:\\sys\\bin\\RoapApp.exe",
       
    56         "Uid": "0x10008d64",
       
    57         "Caption": "Licence download",
       
    58         "ShortCaption": "Licence download"
       
    59     }, {
       
    60         "Path": "Z:\\sys\\bin\\DdViewer.exe",
       
    61         "Uid": "0x10008d3f",
       
    62         "Caption": "Download",
       
    63         "ShortCaption": "Download"
       
    64 	}, {
       
    65 		"Path": "Z:\\sys\\bin\\MediaGallery2.exe",
       
    66 		"Uid": "0x101f8599",
       
    67 		"Caption": "Gallery",
       
    68 		"ShortCaption": "Gallery"
       
    69     }, {
       
    70         "Path": "Z:\\sys\\bin\\CodViewer.exe",
       
    71         "Uid": "0x10008d4a",
       
    72         "Caption": "Download",
       
    73         "ShortCaption": "Download"
       
    74     }];
       
    75 		
       
    76 		
       
    77 		
       
    78     var data_packages = [{
       
    79         "PackageName": "Mobiola Screen Capture",
       
    80         "Uid": "0x2000be16",
       
    81         "Version": "3:0",
       
    82         "Vendor": "Warelex LLC",
       
    83         "Drive": "E"
       
    84     }, {
       
    85         "PackageName": "Facebook",
       
    86         "Uid": "0x20011184",
       
    87         "Version": "1:0",
       
    88         "Vendor": "Nokia Corporation",
       
    89         "Drive": "C"
       
    90     }];
       
    91 	
       
    92 	
       
    93 	/**
       
    94 	 * register data!
       
    95 	 */
       
    96 	device.implementation.loadData('Service.AppManager', 'Application', data_apps);
       
    97 	device.implementation.loadData('Service.AppManager', 'UserInstalledPackage', data_packages);
       
    98 
       
    99 })()