├── .csslintrc
├── .gitignore
├── .gitmodules
├── .jshintignore
├── .jshintrc
├── Jakefile
├── LICENSE
├── README.md
├── build
├── btest.js
├── btest
│ └── test.html
├── build.js
├── build
│ ├── app.js
│ ├── chromestore.js
│ ├── chromium.js
│ ├── clean.js
│ ├── compress.js
│ ├── conf.js
│ ├── pack.js
│ ├── quotes.js
│ ├── utils.js
│ └── web.js
├── deploy.js
├── lint.js
├── lint
│ └── reporter.js
├── scripts
│ ├── build.sh
│ └── runTestsInNode
├── stats.js
├── test.js
└── test
│ └── jasmine-node.js
├── configure
├── doc
├── CHANGELOG.md
└── gpx.md
├── ext
├── app
│ ├── blackberry.xml
│ ├── build.xml
│ ├── lib
│ │ ├── ant-contrib
│ │ │ ├── LICENSE.txt
│ │ │ └── ant-contrib-1.0b3.jar
│ │ └── cordova.1.5.0
│ │ │ ├── ext-air
│ │ │ └── Cordova_Network
│ │ │ │ ├── library.xml
│ │ │ │ └── src
│ │ │ │ └── org
│ │ │ │ └── apache
│ │ │ │ └── cordova
│ │ │ │ └── network
│ │ │ │ └── Network.as
│ │ │ ├── ext
│ │ │ └── cordova.1.5.0.jar
│ │ │ └── javascript
│ │ │ ├── cordova-1.5.0.js
│ │ │ └── playbook
│ │ │ └── cordova-1.5.0.js
│ ├── playbook.xml
│ ├── project.properties
│ └── www
│ │ ├── config.xml
│ │ ├── cordova-1.5.0.js
│ │ ├── ext-air
│ │ └── Cordova_Network
│ │ │ ├── library.xml
│ │ │ └── src
│ │ │ └── org
│ │ │ └── apache
│ │ │ └── cordova
│ │ │ └── network
│ │ │ └── Network.as
│ │ ├── ext
│ │ └── cordova.1.5.0.jar
│ │ ├── playbook
│ │ └── cordova-1.5.0.js
│ │ └── plugins.xml
├── assets
│ ├── beep.wav
│ ├── browserCheck.html
│ ├── dbsamples
│ │ ├── dbapplication.xml
│ │ ├── dbcontent.xml
│ │ └── dbpackage.xml
│ ├── images
│ │ ├── AboutLogo.png
│ │ ├── Colt-Landscape.png
│ │ ├── Colt.png
│ │ ├── Icon_128x128.png
│ │ ├── Icon_150x150.png
│ │ ├── Icon_16x16.png
│ │ ├── Icon_48x48.png
│ │ ├── NOTICE
│ │ ├── README.md
│ │ ├── about_Tizen_Simulator_logo.png
│ │ ├── arrow.png
│ │ ├── back.png
│ │ ├── bluetooth.png
│ │ ├── chromeToolsIcon.png
│ │ ├── circle.png
│ │ ├── closedArrowIcon.png
│ │ ├── compass.png
│ │ ├── configPanelIcon.png
│ │ ├── contact-icon.png
│ │ ├── dontPanic.png
│ │ ├── downArrowIcon.png
│ │ ├── forward.png
│ │ ├── getstarted.png
│ │ ├── infoIcon.png
│ │ ├── leftArrowIcon.png
│ │ ├── load2.gif
│ │ ├── loadIcon.png
│ │ ├── map_marker.png
│ │ ├── marker_icon.png
│ │ ├── menuDraggerIcon.png
│ │ ├── openArrowIcon.png
│ │ ├── panelsIcon.png
│ │ ├── pause.png
│ │ ├── phoneMap_tDiffuse.png
│ │ ├── phoneMap_tNormal.png
│ │ ├── play.png
│ │ ├── refreshIcon.png
│ │ ├── rightArrowIcon.png
│ │ ├── saveIcon.png
│ │ ├── settingsIcon.png
│ │ ├── sideCollapseIconLeftSide.png
│ │ ├── sideCollapseIconRightSide.png
│ │ ├── tizen-sdk-menu.png
│ │ ├── tizen-title.png
│ │ ├── tizen-wave.gif
│ │ ├── tizenAboutLogo.png
│ │ ├── tizenlogo.png
│ │ ├── tizenlogo_large.png
│ │ └── ui-bg-hashed.png
│ ├── index.html
│ ├── phoneModel.js
│ ├── ripple.css
│ └── themes
│ │ ├── dark
│ │ ├── images
│ │ │ ├── device.png
│ │ │ ├── ui-bg_flat_25_222222_40x100.png
│ │ │ ├── ui-bg_flat_30_cccccc_40x100.png
│ │ │ ├── ui-bg_flat_50_1e1e1e_40x100.png
│ │ │ ├── ui-bg_glass_40_ffc73d_1x400.png
│ │ │ ├── ui-bg_highlight-hard_30_5871a3_1x100.png
│ │ │ ├── ui-bg_highlight-soft_0_333333_1x100.png
│ │ │ ├── ui-bg_highlight-soft_10_333333_1x100.png
│ │ │ ├── ui-bg_highlight-soft_20_333333_1x100.png
│ │ │ ├── ui-bg_highlight-soft_50_1e1e1e_1x100.png
│ │ │ ├── ui-icons_222222_256x240.png
│ │ │ ├── ui-icons_5871a3_256x240.png
│ │ │ ├── ui-icons_a83300_256x240.png
│ │ │ ├── ui-icons_cccccc_256x240.png
│ │ │ └── ui-icons_ffffff_256x240.png
│ │ └── theme.css
│ │ └── light
│ │ ├── images
│ │ ├── device.png
│ │ ├── ui-anim_basic_16x16.gif
│ │ ├── ui-bg_flat_0_aaaaaa_40x100.png
│ │ ├── ui-bg_flat_75_ffffff_40x100.png
│ │ ├── ui-bg_glass_55_fbf9ee_1x400.png
│ │ ├── ui-bg_glass_65_ffffff_1x400.png
│ │ ├── ui-bg_glass_75_dadada_1x400.png
│ │ ├── ui-bg_glass_75_e6e6e6_1x400.png
│ │ ├── ui-bg_glass_95_fef1ec_1x400.png
│ │ ├── ui-bg_highlight-soft_75_cccccc_1x100.png
│ │ ├── ui-icons_222222_256x240.png
│ │ ├── ui-icons_2e83ff_256x240.png
│ │ ├── ui-icons_454545_256x240.png
│ │ ├── ui-icons_888888_256x240.png
│ │ └── ui-icons_cd0a0a_256x240.png
│ │ └── theme.css
├── cache.manifest
├── chromestore
│ ├── controllers
│ │ ├── Background.js
│ │ └── PopUp.js
│ ├── manifest.json
│ └── views
│ │ ├── background.html
│ │ └── popup.html
└── chromium
│ ├── bootstrap.js
│ ├── controllers
│ ├── Background.js
│ ├── Insertion.js
│ ├── PopUp.js
│ ├── frame.js
│ └── jquery.js
│ ├── manifest.json
│ ├── styles
│ └── extension.css
│ ├── updates.xml
│ └── views
│ ├── background.html
│ ├── popup.html
│ └── update.html
├── lib
├── ripple.js
└── ripple
│ ├── accelerometer.js
│ ├── app.js
│ ├── appcache.js
│ ├── bootstrap.js
│ ├── bus.js
│ ├── console.js
│ ├── constants.js
│ ├── db.js
│ ├── dbfs.js
│ ├── deviceMotionEmulator.js
│ ├── deviceSettings.js
│ ├── devices.js
│ ├── devices
│ ├── Bold9700.js
│ ├── Bold9700
│ │ └── skin.css
│ ├── Bold9900.js
│ ├── Bold9900
│ │ └── skin.css
│ ├── Colt.js
│ ├── Colt
│ │ └── skin.css
│ ├── Curve9300.js
│ ├── Curve9300
│ │ └── skin.css
│ ├── Curve9350-9360-9370.js
│ ├── Curve9350-9360-9370
│ │ └── skin.css
│ ├── FWVGA.js
│ ├── G1.js
│ ├── HD.js
│ ├── HPPre3.js
│ ├── HPVeer.js
│ ├── HVGA.js
│ ├── Legend.js
│ ├── Nexus.js
│ ├── Nexus7.js
│ ├── NexusGalaxy.js
│ ├── NexusS.js
│ ├── NokiaN8.js
│ ├── NokiaN97.js
│ ├── PalmPre.js
│ ├── PalmPre2.js
│ ├── Pearl9100.js
│ ├── Pearl9100
│ │ └── skin.css
│ ├── Playbook.js
│ ├── Playbook
│ │ └── skin.css
│ ├── QVGA.js
│ ├── Style9670.js
│ ├── Style9670
│ │ └── skin.css
│ ├── Tattoo.js
│ ├── Torch9800.js
│ ├── Torch9800
│ │ └── skin.css
│ ├── Torch9810.js
│ ├── Torch9810
│ │ └── skin.css
│ ├── Torch9860-9850.js
│ ├── Torch9860-9850
│ │ └── skin.css
│ ├── WQVGA.js
│ ├── WSVGA.js
│ ├── WVGA.js
│ ├── Wave.js
│ ├── custom.js
│ ├── iPad.js
│ ├── iPhone3.js
│ ├── tizen-HD.js
│ └── tizen-WVGA.js
│ ├── documentEventListener.js
│ ├── emulatorBridge.js
│ ├── event.js
│ ├── exception.js
│ ├── fileSystem.js
│ ├── fs.js
│ ├── geo.js
│ ├── honeypot.js
│ ├── hwKeyEmulator.js
│ ├── notifications.js
│ ├── omgwtf.js
│ ├── platform.js
│ ├── platform
│ ├── builder.js
│ ├── cordova
│ │ └── 2.0.0
│ │ │ ├── JavaPluginManager.js
│ │ │ ├── MediaError.js
│ │ │ ├── bridge.js
│ │ │ ├── bridge
│ │ │ ├── accelerometer.js
│ │ │ ├── app.js
│ │ │ ├── camera.js
│ │ │ ├── capture.js
│ │ │ ├── compass.js
│ │ │ ├── console.js
│ │ │ ├── contacts.js
│ │ │ ├── device.js
│ │ │ ├── file.js
│ │ │ ├── geolocation.js
│ │ │ ├── media.js
│ │ │ ├── network.js
│ │ │ └── notification.js
│ │ │ ├── logger.js
│ │ │ ├── spec.js
│ │ │ └── spec
│ │ │ ├── config.js
│ │ │ ├── device.js
│ │ │ ├── events.js
│ │ │ └── ui.js
│ ├── phonegap
│ │ └── 1.0.0
│ │ │ ├── AVCodecsAttributes.js
│ │ │ ├── Acceleration.js
│ │ │ ├── AudioCodecAttributes.js
│ │ │ ├── AudioDeviceAttributes.js
│ │ │ ├── BrailleDeviceAttributes.js
│ │ │ ├── CPUAttributes.js
│ │ │ ├── CameraAttributes.js
│ │ │ ├── Connection.js
│ │ │ ├── ConnectionAttributes.js
│ │ │ ├── Contact.js
│ │ │ ├── ContactAccount.js
│ │ │ ├── ContactAddress.js
│ │ │ ├── ContactError.js
│ │ │ ├── ContactField.js
│ │ │ ├── ContactFindOptions.js
│ │ │ ├── ContactName.js
│ │ │ ├── ContactOrganization.js
│ │ │ ├── DisplayDeviceAttributes.js
│ │ │ ├── InputDevicesAttributes.js
│ │ │ ├── KeyboardAttributes.js
│ │ │ ├── MicrophoneAttributes.js
│ │ │ ├── NetworkAttributes.js
│ │ │ ├── NetworkStatus.js
│ │ │ ├── OutputDevicesAttributes.js
│ │ │ ├── PhoneGap.js
│ │ │ ├── PointerAttributes.js
│ │ │ ├── PowerAttributes.js
│ │ │ ├── PrintingDeviceAttributes.js
│ │ │ ├── SensorAttributes.js
│ │ │ ├── StorageUnitAttributes.js
│ │ │ ├── SystemInfoOptions.js
│ │ │ ├── ThermalAttributes.js
│ │ │ ├── VideoCodecAttributes.js
│ │ │ ├── accelerometer.js
│ │ │ ├── camera.js
│ │ │ ├── compass.js
│ │ │ ├── contacts.js
│ │ │ ├── device.js
│ │ │ ├── map.js
│ │ │ ├── navigator.js
│ │ │ ├── network.js
│ │ │ ├── notification.js
│ │ │ ├── orientation.js
│ │ │ ├── service.js
│ │ │ ├── sms.js
│ │ │ ├── spec.js
│ │ │ ├── spec
│ │ │ ├── config.js
│ │ │ ├── device.js
│ │ │ ├── events.js
│ │ │ └── ui.js
│ │ │ ├── system.js
│ │ │ └── telephony.js
│ ├── spec.js
│ ├── tizen
│ │ └── 2.0
│ │ │ ├── AccountBase.js
│ │ │ ├── AccountService.js
│ │ │ ├── AlarmAbsolute.js
│ │ │ ├── AlarmBase.js
│ │ │ ├── AlarmRelative.js
│ │ │ ├── ApplicationControl.js
│ │ │ ├── ApplicationControlData.js
│ │ │ ├── AttributeFilter.js
│ │ │ ├── AttributeRangeFilter.js
│ │ │ ├── BluetoothClass.js
│ │ │ ├── BluetoothClassDeviceMajor.js
│ │ │ ├── BluetoothClassDeviceMinor.js
│ │ │ ├── BluetoothClassDeviceService.js
│ │ │ ├── BluetoothDevice.js
│ │ │ ├── BluetoothServiceHandler.js
│ │ │ ├── BluetoothSocket.js
│ │ │ ├── BookmarkFolder.js
│ │ │ ├── BookmarkItem.js
│ │ │ ├── CalendarAlarm.js
│ │ │ ├── CalendarAttendee.js
│ │ │ ├── CalendarEvent.js
│ │ │ ├── CalendarEventId.js
│ │ │ ├── CalendarItem.js
│ │ │ ├── CalendarRecurrenceRule.js
│ │ │ ├── CalendarTask.js
│ │ │ ├── CompositeFilter.js
│ │ │ ├── ContactAddress.js
│ │ │ ├── ContactAnniversary.js
│ │ │ ├── ContactBase.js
│ │ │ ├── ContactEmailAddress.js
│ │ │ ├── ContactGroup.js
│ │ │ ├── ContactName.js
│ │ │ ├── ContactOrganization.js
│ │ │ ├── ContactPhoneNumber.js
│ │ │ ├── ContactRef.js
│ │ │ ├── ContactWebSite.js
│ │ │ ├── Conversation.js
│ │ │ ├── DeviceMotionEvent.js
│ │ │ ├── DeviceOrientationEvent.js
│ │ │ ├── DownloadRequest.js
│ │ │ ├── EventBase.js
│ │ │ ├── GeoCircleBounds.js
│ │ │ ├── GeoPolyBounds.js
│ │ │ ├── GeoRectBounds.js
│ │ │ ├── GeocodeOptions.js
│ │ │ ├── GeocodeResult.js
│ │ │ ├── GeometryFilter.js
│ │ │ ├── Message.js
│ │ │ ├── MessageBody.js
│ │ │ ├── MessageFolder.js
│ │ │ ├── MessageStorage.js
│ │ │ ├── MessagingService.js
│ │ │ ├── NDEFMessage.js
│ │ │ ├── NDEFRecord.js
│ │ │ ├── NDEFRecordInternal.js
│ │ │ ├── NDEFRecordMedia.js
│ │ │ ├── NDEFRecordText.js
│ │ │ ├── NDEFRecordURI.js
│ │ │ ├── NotificationBase.js
│ │ │ ├── NotificationDetailInfo.js
│ │ │ ├── POIBase.js
│ │ │ ├── POIFilter.js
│ │ │ ├── POIGeometry.js
│ │ │ ├── PackageInformation.js
│ │ │ ├── PrivMessage.js
│ │ │ ├── ReverseGeocodeOptions.js
│ │ │ ├── SimpleCoordinates.js
│ │ │ ├── SortMode.js
│ │ │ ├── StatusNotification.js
│ │ │ ├── SyncInfo.js
│ │ │ ├── SyncProfileInfo.js
│ │ │ ├── SyncServiceInfo.js
│ │ │ ├── SyncStatistics.js
│ │ │ ├── TZDate.js
│ │ │ ├── TimeDuration.js
│ │ │ ├── WebAPIError.js
│ │ │ ├── WebAPIException.js
│ │ │ ├── account.js
│ │ │ ├── alarm.js
│ │ │ ├── application.js
│ │ │ ├── battery.js
│ │ │ ├── bluetooth.js
│ │ │ ├── bookmark.js
│ │ │ ├── calendar.js
│ │ │ ├── callHistory.js
│ │ │ ├── contact.js
│ │ │ ├── content.js
│ │ │ ├── datacontrol.js
│ │ │ ├── datasync.js
│ │ │ ├── dbfs.js
│ │ │ ├── dbinit.js
│ │ │ ├── decorator.js
│ │ │ ├── download.js
│ │ │ ├── errorcode.js
│ │ │ ├── filesystem.js
│ │ │ ├── geoBackend_local.js
│ │ │ ├── geoBackend_nominatim.js
│ │ │ ├── geocoder.js
│ │ │ ├── lbs_utils.js
│ │ │ ├── map.js
│ │ │ ├── messaging.js
│ │ │ ├── msg_utils.js
│ │ │ ├── navigator.js
│ │ │ ├── networkbearerselection.js
│ │ │ ├── nfc.js
│ │ │ ├── notification.js
│ │ │ ├── package.js
│ │ │ ├── pendingObject.js
│ │ │ ├── pendingoperation.js
│ │ │ ├── poi.js
│ │ │ ├── poiBackend_openmapquest.js
│ │ │ ├── power.js
│ │ │ ├── push.js
│ │ │ ├── route.js
│ │ │ ├── routeBackend_local.js
│ │ │ ├── routeBackend_navigation.js
│ │ │ ├── sensors.js
│ │ │ ├── spec.js
│ │ │ ├── spec
│ │ │ ├── btdevices.js
│ │ │ ├── config.js
│ │ │ ├── device.js
│ │ │ ├── sensor.js
│ │ │ └── ui.js
│ │ │ ├── syncml-js-lib
│ │ │ ├── adapter.js
│ │ │ ├── agent.js
│ │ │ ├── base64.js
│ │ │ ├── codec.js
│ │ │ ├── common.js
│ │ │ ├── constant.js
│ │ │ ├── context.js
│ │ │ ├── ctype.js
│ │ │ ├── devinfo.js
│ │ │ ├── elementtree.js
│ │ │ ├── item.js
│ │ │ ├── localadapter.js
│ │ │ ├── matcher.js
│ │ │ ├── protocol.js
│ │ │ ├── remoteadapter.js
│ │ │ ├── router.js
│ │ │ ├── stablematch.js
│ │ │ ├── state.js
│ │ │ ├── storage.js
│ │ │ ├── store.js
│ │ │ ├── synchronizer.js
│ │ │ └── useragent.js
│ │ │ ├── systeminfo.js
│ │ │ ├── systemsetting.js
│ │ │ ├── time.js
│ │ │ ├── timezone_info.js
│ │ │ ├── tizen1_utils.js
│ │ │ ├── touchEvent.js
│ │ │ ├── typecast.js
│ │ │ ├── typecoerce.js
│ │ │ ├── typedef.js
│ │ │ └── vibration.js
│ ├── w3c
│ │ └── 1.0
│ │ │ ├── Acceleration.js
│ │ │ ├── Coordinates.js
│ │ │ ├── Position.js
│ │ │ ├── PositionError.js
│ │ │ ├── Rotation.js
│ │ │ ├── SensorConnection.js
│ │ │ ├── geolocation.js
│ │ │ └── navigator.js
│ ├── wac
│ │ ├── 1.0
│ │ │ ├── AccelerometerInfo.js
│ │ │ ├── Account.js
│ │ │ ├── AccountInfo.js
│ │ │ ├── AddressBookItem.js
│ │ │ ├── ApplicationTypes.js
│ │ │ ├── Attachment.js
│ │ │ ├── AudioPlayer.js
│ │ │ ├── CalendarItem.js
│ │ │ ├── CallRecord.js
│ │ │ ├── CallRecordTypes.js
│ │ │ ├── Camera.js
│ │ │ ├── Config.js
│ │ │ ├── DataNetworkConnectionTypes.js
│ │ │ ├── DataNetworkInfo.js
│ │ │ ├── Device.js
│ │ │ ├── DeviceInfo.js
│ │ │ ├── DeviceStateInfo.js
│ │ │ ├── EventRecurrenceTypes.js
│ │ │ ├── Exception.js
│ │ │ ├── ExceptionTypes.js
│ │ │ ├── File.js
│ │ │ ├── Message.js
│ │ │ ├── MessageFolderTypes.js
│ │ │ ├── MessageQuantities.js
│ │ │ ├── MessageTypes.js
│ │ │ ├── Messaging.js
│ │ │ ├── Multimedia.js
│ │ │ ├── PIM.js
│ │ │ ├── PositionInfo.js
│ │ │ ├── PowerInfo.js
│ │ │ ├── RadioInfo.js
│ │ │ ├── RadioSignalSourceTypes.js
│ │ │ ├── Telephony.js
│ │ │ ├── VideoPlayer.js
│ │ │ ├── Widget.js
│ │ │ ├── WidgetManager.js
│ │ │ ├── spec.js
│ │ │ └── spec
│ │ │ │ ├── config.js
│ │ │ │ ├── device.js
│ │ │ │ ├── events.js
│ │ │ │ └── ui.js
│ │ └── 2.0
│ │ │ ├── AUTHORS
│ │ │ ├── README
│ │ │ ├── accelerometer.js
│ │ │ ├── calendar.js
│ │ │ ├── camera.js
│ │ │ ├── contact.js
│ │ │ ├── contactfilter.js
│ │ │ ├── dbfs.js
│ │ │ ├── deviceapierror.js
│ │ │ ├── deviceapis.js
│ │ │ ├── deviceinteraction.js
│ │ │ ├── devicestatus.js
│ │ │ ├── errorcode.js
│ │ │ ├── filesystem.js
│ │ │ ├── geolocation.js
│ │ │ ├── messagefilter.js
│ │ │ ├── messaging.js
│ │ │ ├── orientation.js
│ │ │ ├── pendingObject.js
│ │ │ ├── pendingoperation.js
│ │ │ ├── spec.js
│ │ │ ├── spec
│ │ │ ├── config.js
│ │ │ ├── device.js
│ │ │ └── ui.js
│ │ │ ├── task.js
│ │ │ ├── typecoerce.js
│ │ │ └── wac2_utils.js
│ ├── web
│ │ └── default
│ │ │ ├── device.js
│ │ │ ├── spec.js
│ │ │ └── spec
│ │ │ └── ui.js
│ ├── webworks.bb10
│ │ └── 1.0.0
│ │ │ ├── app.js
│ │ │ ├── connection.js
│ │ │ ├── device.js
│ │ │ ├── dialog.js
│ │ │ ├── event.js
│ │ │ ├── identity.js
│ │ │ ├── invoke.js
│ │ │ ├── navigator.js
│ │ │ ├── spec.js
│ │ │ ├── spec
│ │ │ ├── config.js
│ │ │ ├── device.js
│ │ │ ├── events.js
│ │ │ └── ui.js
│ │ │ └── system.js
│ ├── webworks.core
│ │ └── 2.0.0
│ │ │ ├── XMLHttpRequest.js
│ │ │ ├── client
│ │ │ ├── FileProperties.js
│ │ │ ├── dialog.js
│ │ │ ├── events.js
│ │ │ ├── io
│ │ │ │ ├── dir.js
│ │ │ │ └── file.js
│ │ │ ├── system.js
│ │ │ ├── transport.js
│ │ │ └── utils.js
│ │ │ ├── fsCache.js
│ │ │ ├── select.js
│ │ │ ├── server
│ │ │ ├── dialog.js
│ │ │ ├── io
│ │ │ │ ├── dir.js
│ │ │ │ └── file.js
│ │ │ └── system.js
│ │ │ └── spec
│ │ │ ├── config.js
│ │ │ └── events.js
│ ├── webworks.handset
│ │ └── 2.0.0
│ │ │ ├── XMLHttpRequest.js
│ │ │ ├── client
│ │ │ ├── Address.js
│ │ │ ├── AddressBookArguments.js
│ │ │ ├── Appointment.js
│ │ │ ├── Attendee.js
│ │ │ ├── AudioPlayer.js
│ │ │ ├── BrowserArguments.js
│ │ │ ├── CalendarArguments.js
│ │ │ ├── CallLog.js
│ │ │ ├── CameraArguments.js
│ │ │ ├── Contact.js
│ │ │ ├── FilterExpression.js
│ │ │ ├── JavaArguments.js
│ │ │ ├── MapsArguments.js
│ │ │ ├── Memo.js
│ │ │ ├── MemoArguments.js
│ │ │ ├── MenuItem.js
│ │ │ ├── Message.js
│ │ │ ├── MessageArguments.js
│ │ │ ├── Phone.js
│ │ │ ├── PhoneArguments.js
│ │ │ ├── PhoneCall.js
│ │ │ ├── PhoneLogs.js
│ │ │ ├── PushData.js
│ │ │ ├── Recurrence.js
│ │ │ ├── Reminder.js
│ │ │ ├── SearchArguments.js
│ │ │ ├── Task.js
│ │ │ ├── TaskArguments.js
│ │ │ ├── app.js
│ │ │ ├── appEvent.js
│ │ │ ├── audio.js
│ │ │ ├── blackberry.js
│ │ │ ├── category.js
│ │ │ ├── identity.js
│ │ │ ├── identity
│ │ │ │ ├── Service.js
│ │ │ │ ├── Transport.js
│ │ │ │ └── phone.js
│ │ │ ├── invoke.js
│ │ │ ├── io
│ │ │ │ └── dir.js
│ │ │ ├── menu.js
│ │ │ ├── messaging.js
│ │ │ ├── pim.js
│ │ │ ├── push.js
│ │ │ ├── sms.js
│ │ │ ├── system.js
│ │ │ └── systemEvent.js
│ │ │ ├── server.js
│ │ │ ├── server
│ │ │ ├── Task.js
│ │ │ ├── app.js
│ │ │ ├── appEvent.js
│ │ │ ├── appointment.js
│ │ │ ├── audioPlayer.js
│ │ │ ├── category.js
│ │ │ ├── contact.js
│ │ │ ├── identity.js
│ │ │ ├── identity
│ │ │ │ └── phone.js
│ │ │ ├── invoke.js
│ │ │ ├── io
│ │ │ │ └── dir.js
│ │ │ ├── memo.js
│ │ │ ├── menu.js
│ │ │ ├── message.js
│ │ │ ├── phone.js
│ │ │ ├── push.js
│ │ │ ├── sms.js
│ │ │ └── systemEvent.js
│ │ │ ├── spec.js
│ │ │ └── spec
│ │ │ ├── device.js
│ │ │ ├── events.js
│ │ │ └── ui.js
│ └── webworks.tablet
│ │ └── 2.0.0
│ │ ├── XMLHttpRequest.js
│ │ ├── client
│ │ ├── BrowserArguments.js
│ │ ├── CameraArguments.js
│ │ ├── app.js
│ │ ├── appEvent.js
│ │ ├── identity.js
│ │ ├── invoke.js
│ │ ├── io
│ │ │ └── dir.js
│ │ ├── system.js
│ │ └── systemEvent.js
│ │ ├── server.js
│ │ ├── server
│ │ ├── app.js
│ │ ├── appEvent.js
│ │ ├── identity.js
│ │ ├── invoke.js
│ │ └── systemEvent.js
│ │ ├── spec.js
│ │ └── spec
│ │ ├── device.js
│ │ ├── events.js
│ │ └── ui.js
│ ├── resizer.js
│ ├── sensorSettings.js
│ ├── touchEventEmulator.js
│ ├── ui.js
│ ├── ui
│ ├── plugins
│ │ ├── HWKeys.js
│ │ ├── HWKeys
│ │ │ └── hwkeysPanel.html
│ │ ├── about-dialog.js
│ │ ├── about-dialog
│ │ │ └── dialog.html
│ │ ├── accelerometer.js
│ │ ├── accelerometer
│ │ │ └── panel.html
│ │ ├── app-dialog
│ │ │ └── app-dialog.html
│ │ ├── application.js
│ │ ├── audioPlayer.js
│ │ ├── background
│ │ │ └── overlay.html
│ │ ├── build.js
│ │ ├── build
│ │ │ └── panel.html
│ │ ├── call.js
│ │ ├── call
│ │ │ └── panel.html
│ │ ├── camera.js
│ │ ├── camera
│ │ │ └── overlay.html
│ │ ├── communication.js
│ │ ├── communication
│ │ │ └── panel.html
│ │ ├── communicationResponse
│ │ │ └── overlay.html
│ │ ├── configWindow.js
│ │ ├── configWindow
│ │ │ ├── configPanels.html
│ │ │ └── configWindow.html
│ │ ├── deviceSettings.js
│ │ ├── devices.js
│ │ ├── devices
│ │ │ └── panel.html
│ │ ├── dialog
│ │ │ └── overlay.html
│ │ ├── download.js
│ │ ├── download
│ │ │ └── panel.html
│ │ ├── eulaCheck.js
│ │ ├── exec-dialog.js
│ │ ├── exec-dialog
│ │ │ └── dialog.html
│ │ ├── fileSystem.js
│ │ ├── fileSystem
│ │ │ └── panel.html
│ │ ├── firstRunCheck.js
│ │ ├── geoDB.js
│ │ ├── geoDB
│ │ │ └── panel.html
│ │ ├── geoView.js
│ │ ├── geoView
│ │ │ └── panel.html
│ │ ├── goodVibrations.js
│ │ ├── information.js
│ │ ├── information
│ │ │ └── panel.html
│ │ ├── invoke.js
│ │ ├── invoke
│ │ │ └── panel.html
│ │ ├── layout.js
│ │ ├── lockScreen
│ │ │ └── overlay.html
│ │ ├── menu
│ │ │ └── overlay.html
│ │ ├── messaging.js
│ │ ├── messaging
│ │ │ └── panel.html
│ │ ├── multimedia.js
│ │ ├── multimedia
│ │ │ └── panel.html
│ │ ├── network.js
│ │ ├── network
│ │ │ └── panel.html
│ │ ├── nfc.js
│ │ ├── nfc
│ │ │ └── panel.html
│ │ ├── notifications.js
│ │ ├── notifications
│ │ │ └── panel.html
│ │ ├── omnibar.js
│ │ ├── options.js
│ │ ├── package.js
│ │ ├── package
│ │ │ └── panel.html
│ │ ├── panelCollapse.js
│ │ ├── phone.js
│ │ ├── phone
│ │ │ └── panel.html
│ │ ├── platform.js
│ │ ├── platformEvents.js
│ │ ├── platformEvents
│ │ │ └── panel.html
│ │ ├── power.js
│ │ ├── power
│ │ │ └── panel.html
│ │ ├── push.js
│ │ ├── push
│ │ │ └── panel.html
│ │ ├── sensorSettings.js
│ │ ├── sensorSettings
│ │ │ └── panel.html
│ │ ├── sensors.js
│ │ ├── sensors
│ │ │ └── panel.html
│ │ ├── settings-dialog.js
│ │ ├── settings-dialog
│ │ │ └── dialog.html
│ │ ├── settings-menu.js
│ │ ├── settings-menu
│ │ │ └── panel.html
│ │ ├── settings.js
│ │ ├── settings
│ │ │ └── panel.html
│ │ ├── storage.js
│ │ ├── storage
│ │ │ └── panel.html
│ │ ├── themeSwitcher.js
│ │ ├── time.js
│ │ ├── time
│ │ │ └── panel.html
│ │ ├── tooltip.js
│ │ ├── tooltips.js
│ │ ├── touchEvent.js
│ │ ├── touchEvent
│ │ │ └── panel.html
│ │ ├── videoPlayer.js
│ │ ├── widgetConfig.js
│ │ └── widgetConfig
│ │ │ └── panel.html
│ └── themes.js
│ ├── utils.js
│ ├── widgetConfig.js
│ ├── xhr.js
│ └── xhr
│ ├── base.js
│ ├── cors.js
│ ├── helpers.js
│ └── jsonp.js
├── package.json
├── snapshot
├── packageUpdate
├── sdk-wrt-options.txt
├── simulator.bat
├── simulator.sh
├── web-simulator-190912.tar.gz
└── web-simulator-190912.zip
├── test
├── assets
│ └── config
│ │ ├── config.xml
│ │ ├── config_multiple_name_nodes.xml
│ │ ├── config_multiple_name_nodes_unique.xml
│ │ ├── config_multiple_nested_features.xml
│ │ ├── config_no_namespaces.xml
│ │ ├── config_no_widget_node.xml
│ │ ├── config_wac_2.0.xml
│ │ ├── config_with_bad_url_email_attributes.xml
│ │ └── config_with_missing_attributes.xml
├── integration
│ └── webworks.tablet
│ │ └── systemEvent.js
└── unit
│ ├── accelerometer.js
│ ├── console.js
│ ├── cordova
│ ├── accelerometer.js
│ ├── camera.js
│ ├── capture.js
│ ├── compass.js
│ ├── console.js
│ ├── contacts.js
│ ├── device.js
│ ├── file.js
│ ├── geolocation.js
│ ├── media.js
│ ├── network.js
│ └── notification.js
│ ├── db.js
│ ├── deviceMotionEmulator.js
│ ├── device_settings.js
│ ├── devices.js
│ ├── emulatorBridge.js
│ ├── event.js
│ ├── exception.js
│ ├── fs.js
│ ├── geo.js
│ ├── honeypot.js
│ ├── notifications.js
│ ├── phonegap
│ ├── accelerometer.js
│ ├── camera.js
│ ├── compass.js
│ ├── contacts.js
│ ├── device.js
│ ├── events.js
│ ├── navigator.js
│ ├── network.js
│ └── notification.js
│ ├── platform.builder.js
│ ├── platform.js
│ ├── resizer.js
│ ├── thirdparty
│ └── jQuery.js
│ ├── tizen
│ └── 1.0
│ │ ├── alarm.js
│ │ ├── contact.js
│ │ ├── geocoder.js
│ │ ├── messaging.js
│ │ ├── systeminfo.js
│ │ └── tizen1_utils.js
│ ├── tooltip.js
│ ├── ui.js
│ ├── utils.js
│ ├── w3c
│ ├── geolocation.js
│ └── navigator.js
│ ├── wac
│ └── 2.0
│ │ ├── accelerometer.js
│ │ ├── calendar.js
│ │ ├── camera.js
│ │ ├── contact.js
│ │ ├── deviceapis.js
│ │ ├── devicestatus.js
│ │ ├── filesystem.js
│ │ ├── geolocation.js
│ │ └── orientation.js
│ ├── web
│ └── geolocation.js
│ ├── webworks.handset
│ ├── io
│ │ └── dir.js
│ └── system.js
│ ├── webworks.tablet
│ ├── app.js
│ ├── appEvent.js
│ ├── identity
│ │ └── identity.js
│ └── systemEvent.js
│ ├── webworks
│ ├── Address.js
│ ├── Attendee.js
│ ├── Message.js
│ ├── Recurrence.js
│ ├── Task.js
│ ├── XMLHttpRequest.js
│ ├── app.js
│ ├── appEvent.js
│ ├── appointment.js
│ ├── audioPlayer.js
│ ├── blackberry.js
│ ├── category.js
│ ├── config.js
│ ├── contact.js
│ ├── dialog.js
│ ├── fsCache.js
│ ├── identity
│ │ ├── Service.js
│ │ ├── Transport.js
│ │ ├── identity.js
│ │ └── phone.js
│ ├── invoke.js
│ ├── io
│ │ ├── dir.js
│ │ └── file.js
│ ├── memo.js
│ ├── menu.js
│ ├── phone.js
│ ├── push.js
│ ├── select.js
│ ├── sms.js
│ ├── system.js
│ ├── systemEvent.js
│ ├── transport.js
│ └── utils.js
│ ├── widgetConfig.js
│ └── xhr.js
└── thirdparty
├── 3d.js
├── Math.uuid.js
├── OpenLayers.js
├── ShaderSkin.js
├── almond.js
├── async.js
├── browser-require
├── README.md
├── example
│ ├── bar
│ │ └── something.js
│ ├── embedded.html
│ ├── foo.js
│ ├── load-local.html
│ ├── load-remote-multi.html
│ └── load-remote.html
├── require.js
└── test
│ ├── index.html
│ ├── test-require.js
│ └── test.js
├── draw.js
├── dredd.txt
├── fail.txt
├── jWorkflow
├── .gitignore
├── LICENSE
├── README.rdoc
├── Rakefile
├── jworkflow-min-0.4.0.js
├── lib
│ └── jWorkflow.js
├── package.json
└── test
│ ├── test.html
│ ├── test_jworkflow.js
│ └── vendor
│ ├── jquery.js
│ ├── qunit.css
│ └── qunit.js
├── jXHR.js
├── jasmine
├── .gitignore
├── .gitmodules
├── Gemfile
├── HowToRelease.markdown
├── MIT.LICENSE
├── README.markdown
├── Rakefile
├── images
│ └── jasmine_favicon.png
├── jasmine-core.gemspec
├── jsdoc-template
│ ├── allclasses.tmpl
│ ├── allfiles.tmpl
│ ├── class.tmpl
│ ├── index.tmpl
│ ├── publish.js
│ ├── static
│ │ ├── default.css
│ │ ├── header.html
│ │ └── index.html
│ └── symbol.tmpl
├── jshint
│ ├── jshint.js
│ └── run.js
├── lib
│ ├── jasmine-core.rb
│ └── jasmine-core
│ │ ├── example
│ │ ├── SpecRunner.html
│ │ ├── spec
│ │ │ ├── PlayerSpec.js
│ │ │ └── SpecHelper.js
│ │ └── src
│ │ │ ├── Player.js
│ │ │ └── Song.js
│ │ ├── jasmine-html.js
│ │ ├── jasmine.css
│ │ ├── jasmine.js
│ │ ├── json2.js
│ │ └── version.rb
├── spec
│ ├── console
│ │ └── TrivialConsoleReporterSpec.js
│ ├── core
│ │ ├── BaseSpec.js
│ │ ├── CustomMatchersSpec.js
│ │ ├── EnvSpec.js
│ │ ├── ExceptionsSpec.js
│ │ ├── JsApiReporterSpec.js
│ │ ├── MatchersSpec.js
│ │ ├── MockClockSpec.js
│ │ ├── MultiReporterSpec.js
│ │ ├── NestedResultsSpec.js
│ │ ├── PrettyPrintSpec.js
│ │ ├── QueueSpec.js
│ │ ├── ReporterSpec.js
│ │ ├── RunnerSpec.js
│ │ ├── SpecRunningSpec.js
│ │ ├── SpecSpec.js
│ │ ├── SpySpec.js
│ │ ├── SuiteSpec.js
│ │ ├── UtilSpec.js
│ │ └── WaitsForBlockSpec.js
│ ├── html
│ │ ├── MatchersHtmlSpec.js
│ │ ├── PrettyPrintHtmlSpec.js
│ │ └── TrivialReporterSpec.js
│ ├── node_suite.js
│ └── runner.html
└── src
│ ├── SourcesList.json
│ ├── console
│ └── TrivialConsoleReporter.js
│ ├── core
│ ├── Block.js
│ ├── Env.js
│ ├── JsApiReporter.js
│ ├── Matchers.js
│ ├── MultiReporter.js
│ ├── NestedResults.js
│ ├── PrettyPrinter.js
│ ├── Queue.js
│ ├── Reporter.js
│ ├── Runner.js
│ ├── Spec.js
│ ├── Suite.js
│ ├── WaitsBlock.js
│ ├── WaitsForBlock.js
│ ├── base.js
│ ├── mock-timeout.js
│ ├── util.js
│ └── version.json
│ └── html
│ ├── TrivialReporter.js
│ └── jasmine.css
├── jquery.js
├── jquery.tooltip.js
├── jquery.ui.js
├── node-XMLHttpRequest
├── README.md
├── XMLHttpRequest.js
├── autotest.watchr
├── demo.js
├── package.json
└── tests
│ ├── test-constants.js
│ ├── test-headers.js
│ └── test-request.js
├── redblack
├── .npmignore
├── LICENSE
├── README.md
├── TODO.txt
├── package.json
└── redblack.js
├── three.js
└── underscore-min.js
/.csslintrc:
--------------------------------------------------------------------------------
1 | [
2 | "floats",
3 | "overqualified-elements",
4 | "zero-units",
5 | "universal-selector",
6 | "import",
7 | "font-faces",
8 | "vendor-prefix",
9 | "text-indent",
10 | "gradients",
11 | "compatible-vendor-prefixes",
12 | "adjoining-classes",
13 | "known-properties",
14 | "empty-rules",
15 | "duplicate-properties",
16 | "display-property-grouping"
17 | ]
18 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | .idea/*
2 | node_modules/
3 | build/.idea/*
4 | solution/.idea/*
5 | .project
6 | .settings
7 | *.DS_Store
8 | tags
9 | *.*~
10 | *.swp
11 | www/*
12 | build_output/
13 | pkg
14 | /plugins
15 | services
16 |
--------------------------------------------------------------------------------
/.gitmodules:
--------------------------------------------------------------------------------
1 | [submodule "thirdparty/jasmine"]
2 | path = thirdparty/jasmine
3 | url = http://github.com/pivotal/jasmine.git
4 | [submodule "thirdparty/node-XMLHttpRequest"]
5 | path = thirdparty/node-XMLHttpRequest
6 | url = http://github.com/driverdan/node-XMLHttpRequest.git
7 | [submodule "thirdparty/jWorkflow"]
8 | path = thirdparty/jWorkflow
9 | url = https://github.com/tinyhippos/jWorkflow.git
10 |
--------------------------------------------------------------------------------
/.jshintignore:
--------------------------------------------------------------------------------
1 | .git
2 | node_modules
3 | thirdparty
4 | ext
5 | pkg
6 | snapshot
7 | test
8 | lib/ripple/platform/wac/
9 | lib/ripple/platform/tizen/2.0/syncml-js-lib
10 |
--------------------------------------------------------------------------------
/build/build/clean.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2011 Research In Motion Limited.
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS,
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | * See the License for the specific language governing permissions and
14 | * limitations under the License.
15 | */
16 | var childProcess = require('child_process'),
17 | _c = require('./conf');
18 |
19 | module.exports = function (prev, baton) {
20 | baton.take();
21 |
22 | var cmd = 'rm -rf ' + _c.DEPLOY + ' && ' +
23 | 'mkdir ' + _c.DEPLOY;
24 |
25 | childProcess.exec(cmd, baton.pass);
26 | };
27 |
--------------------------------------------------------------------------------
/build/scripts/build.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 | # Copyright 2011 Research In Motion Limited.
4 | #
5 | # Licensed under the Apache License, Version 2.0 (the "License");
6 | # you may not use this file except in compliance with the License.
7 | # You may obtain a copy of the License at
8 | #
9 | # http://www.apache.org/licenses/LICENSE-2.0
10 | #
11 | # Unless required by applicable law or agreed to in writing, software
12 | # distributed under the License is distributed on an "AS IS" BASIS,
13 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | # See the License for the specific language governing permissions and
15 | # limitations under the License.
16 |
17 | #declare the paths relative to the root
18 | OUTPUT=build_output
19 | PKG=pkg
20 | BUILD_OUTPUT=../../$OUTPUT
21 | RIPPLE_BUILD=../../$PKG
22 |
23 | #clear build_output directory
24 | rm -fr $BUILD_OUTPUT
25 | mkdir $BUILD_OUTPUT
26 |
27 | #call jake
28 | jake deploy > $BUILD_OUTPUT/jake.txt
29 | export BUILD_STATUS=$?
30 |
31 | #if build was good then package zip
32 | if [ $BUILD_STATUS = 0 ]; then
33 | cd ../..
34 | zip -9 -r $OUTPUT/ripple_ui.zip $PKG
35 | fi
36 | exit $BUILD_STATUS
37 |
--------------------------------------------------------------------------------
/build/scripts/runTestsInNode:
--------------------------------------------------------------------------------
1 | // This is here for a reason.
2 | // This is so you can do things like `NODE_PATH=/path/to/ripple/lib node external_script`.
3 | // This gets around that pesky forcing of relative requires in Node (these days).
4 | // See the `jakefile` for how this is used in this project.
5 | require('./../test')();
6 |
--------------------------------------------------------------------------------
/configure:
--------------------------------------------------------------------------------
1 | npm install -g jake jshint csslint uglify-js
2 | npm install
3 |
--------------------------------------------------------------------------------
/doc/gpx.md:
--------------------------------------------------------------------------------
1 |
2 | GPX is a platform-independent serialization schema that we have used to allow Ripple to simulate
3 | geolocation routes. There are several ways you can generate GPX files for use with Ripple, here
4 | are three examples:
5 |
6 | 1. Record an actual route using the Endomondo mobile app (http://endomondo.com). After you have
7 | recorded the route, log into the Endomondo site and download the route as a GPX file using the
8 | export feature in the RH navigation pane.
9 | 2. Create a route by requesting driving directions at http://yournavigation.org. Select the 'Export'
10 | feature and select GPX format
11 | 3. If you prefer Google maps, follow these instructions: http://www.elsewhere.org/journal/gmaptogpx/
12 |
13 |
--------------------------------------------------------------------------------
/ext/app/lib/ant-contrib/ant-contrib-1.0b3.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/intel/web-simulator/51fc660b7da78c90789d06e007daa392cb69e025/ext/app/lib/ant-contrib/ant-contrib-1.0b3.jar
--------------------------------------------------------------------------------
/ext/app/lib/cordova.1.5.0/ext-air/Cordova_Network/library.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | org.apache.cordova.network.Network
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
--------------------------------------------------------------------------------
/ext/app/lib/cordova.1.5.0/ext/cordova.1.5.0.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/intel/web-simulator/51fc660b7da78c90789d06e007daa392cb69e025/ext/app/lib/cordova.1.5.0/ext/cordova.1.5.0.jar
--------------------------------------------------------------------------------
/ext/app/www/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
6 |
7 | Ripple
8 |
9 |
10 | Ripple Mobile Environment Emulator
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
--------------------------------------------------------------------------------
/ext/app/www/ext-air/Cordova_Network/library.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | org.apache.cordova.network.Network
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
--------------------------------------------------------------------------------
/ext/app/www/ext/cordova.1.5.0.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/intel/web-simulator/51fc660b7da78c90789d06e007daa392cb69e025/ext/app/www/ext/cordova.1.5.0.jar
--------------------------------------------------------------------------------
/ext/app/www/plugins.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/ext/assets/beep.wav:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/intel/web-simulator/51fc660b7da78c90789d06e007daa392cb69e025/ext/assets/beep.wav
--------------------------------------------------------------------------------
/ext/assets/images/AboutLogo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/intel/web-simulator/51fc660b7da78c90789d06e007daa392cb69e025/ext/assets/images/AboutLogo.png
--------------------------------------------------------------------------------
/ext/assets/images/Colt-Landscape.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/intel/web-simulator/51fc660b7da78c90789d06e007daa392cb69e025/ext/assets/images/Colt-Landscape.png
--------------------------------------------------------------------------------
/ext/assets/images/Colt.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/intel/web-simulator/51fc660b7da78c90789d06e007daa392cb69e025/ext/assets/images/Colt.png
--------------------------------------------------------------------------------
/ext/assets/images/Icon_128x128.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/intel/web-simulator/51fc660b7da78c90789d06e007daa392cb69e025/ext/assets/images/Icon_128x128.png
--------------------------------------------------------------------------------
/ext/assets/images/Icon_150x150.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/intel/web-simulator/51fc660b7da78c90789d06e007daa392cb69e025/ext/assets/images/Icon_150x150.png
--------------------------------------------------------------------------------
/ext/assets/images/Icon_16x16.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/intel/web-simulator/51fc660b7da78c90789d06e007daa392cb69e025/ext/assets/images/Icon_16x16.png
--------------------------------------------------------------------------------
/ext/assets/images/Icon_48x48.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/intel/web-simulator/51fc660b7da78c90789d06e007daa392cb69e025/ext/assets/images/Icon_48x48.png
--------------------------------------------------------------------------------
/ext/assets/images/NOTICE:
--------------------------------------------------------------------------------
1 | All logos, trademarks and other brand features contained in this project are and remain the property of their respective owners. No licenses or other rights in or to such logos and/or trademarks and/or other brand features are granted. Please see the linked, pertinent guideline[https://www.tizen.org/about/tizen-brand-guidelines].
2 |
--------------------------------------------------------------------------------
/ext/assets/images/README.md:
--------------------------------------------------------------------------------
1 | # License
2 |
3 | The assets in this directory are excluded from the Apache Software License v.2.0. Please see the NOTICE file in this directory for more details.
4 |
5 |
--------------------------------------------------------------------------------
/ext/assets/images/about_Tizen_Simulator_logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/intel/web-simulator/51fc660b7da78c90789d06e007daa392cb69e025/ext/assets/images/about_Tizen_Simulator_logo.png
--------------------------------------------------------------------------------
/ext/assets/images/arrow.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/intel/web-simulator/51fc660b7da78c90789d06e007daa392cb69e025/ext/assets/images/arrow.png
--------------------------------------------------------------------------------
/ext/assets/images/back.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/intel/web-simulator/51fc660b7da78c90789d06e007daa392cb69e025/ext/assets/images/back.png
--------------------------------------------------------------------------------
/ext/assets/images/bluetooth.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/intel/web-simulator/51fc660b7da78c90789d06e007daa392cb69e025/ext/assets/images/bluetooth.png
--------------------------------------------------------------------------------
/ext/assets/images/chromeToolsIcon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/intel/web-simulator/51fc660b7da78c90789d06e007daa392cb69e025/ext/assets/images/chromeToolsIcon.png
--------------------------------------------------------------------------------
/ext/assets/images/circle.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/intel/web-simulator/51fc660b7da78c90789d06e007daa392cb69e025/ext/assets/images/circle.png
--------------------------------------------------------------------------------
/ext/assets/images/closedArrowIcon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/intel/web-simulator/51fc660b7da78c90789d06e007daa392cb69e025/ext/assets/images/closedArrowIcon.png
--------------------------------------------------------------------------------
/ext/assets/images/compass.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/intel/web-simulator/51fc660b7da78c90789d06e007daa392cb69e025/ext/assets/images/compass.png
--------------------------------------------------------------------------------
/ext/assets/images/configPanelIcon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/intel/web-simulator/51fc660b7da78c90789d06e007daa392cb69e025/ext/assets/images/configPanelIcon.png
--------------------------------------------------------------------------------
/ext/assets/images/contact-icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/intel/web-simulator/51fc660b7da78c90789d06e007daa392cb69e025/ext/assets/images/contact-icon.png
--------------------------------------------------------------------------------
/ext/assets/images/dontPanic.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/intel/web-simulator/51fc660b7da78c90789d06e007daa392cb69e025/ext/assets/images/dontPanic.png
--------------------------------------------------------------------------------
/ext/assets/images/downArrowIcon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/intel/web-simulator/51fc660b7da78c90789d06e007daa392cb69e025/ext/assets/images/downArrowIcon.png
--------------------------------------------------------------------------------
/ext/assets/images/forward.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/intel/web-simulator/51fc660b7da78c90789d06e007daa392cb69e025/ext/assets/images/forward.png
--------------------------------------------------------------------------------
/ext/assets/images/getstarted.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/intel/web-simulator/51fc660b7da78c90789d06e007daa392cb69e025/ext/assets/images/getstarted.png
--------------------------------------------------------------------------------
/ext/assets/images/infoIcon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/intel/web-simulator/51fc660b7da78c90789d06e007daa392cb69e025/ext/assets/images/infoIcon.png
--------------------------------------------------------------------------------
/ext/assets/images/leftArrowIcon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/intel/web-simulator/51fc660b7da78c90789d06e007daa392cb69e025/ext/assets/images/leftArrowIcon.png
--------------------------------------------------------------------------------
/ext/assets/images/load2.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/intel/web-simulator/51fc660b7da78c90789d06e007daa392cb69e025/ext/assets/images/load2.gif
--------------------------------------------------------------------------------
/ext/assets/images/loadIcon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/intel/web-simulator/51fc660b7da78c90789d06e007daa392cb69e025/ext/assets/images/loadIcon.png
--------------------------------------------------------------------------------
/ext/assets/images/map_marker.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/intel/web-simulator/51fc660b7da78c90789d06e007daa392cb69e025/ext/assets/images/map_marker.png
--------------------------------------------------------------------------------
/ext/assets/images/marker_icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/intel/web-simulator/51fc660b7da78c90789d06e007daa392cb69e025/ext/assets/images/marker_icon.png
--------------------------------------------------------------------------------
/ext/assets/images/menuDraggerIcon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/intel/web-simulator/51fc660b7da78c90789d06e007daa392cb69e025/ext/assets/images/menuDraggerIcon.png
--------------------------------------------------------------------------------
/ext/assets/images/openArrowIcon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/intel/web-simulator/51fc660b7da78c90789d06e007daa392cb69e025/ext/assets/images/openArrowIcon.png
--------------------------------------------------------------------------------
/ext/assets/images/panelsIcon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/intel/web-simulator/51fc660b7da78c90789d06e007daa392cb69e025/ext/assets/images/panelsIcon.png
--------------------------------------------------------------------------------
/ext/assets/images/pause.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/intel/web-simulator/51fc660b7da78c90789d06e007daa392cb69e025/ext/assets/images/pause.png
--------------------------------------------------------------------------------
/ext/assets/images/phoneMap_tDiffuse.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/intel/web-simulator/51fc660b7da78c90789d06e007daa392cb69e025/ext/assets/images/phoneMap_tDiffuse.png
--------------------------------------------------------------------------------
/ext/assets/images/phoneMap_tNormal.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/intel/web-simulator/51fc660b7da78c90789d06e007daa392cb69e025/ext/assets/images/phoneMap_tNormal.png
--------------------------------------------------------------------------------
/ext/assets/images/play.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/intel/web-simulator/51fc660b7da78c90789d06e007daa392cb69e025/ext/assets/images/play.png
--------------------------------------------------------------------------------
/ext/assets/images/refreshIcon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/intel/web-simulator/51fc660b7da78c90789d06e007daa392cb69e025/ext/assets/images/refreshIcon.png
--------------------------------------------------------------------------------
/ext/assets/images/rightArrowIcon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/intel/web-simulator/51fc660b7da78c90789d06e007daa392cb69e025/ext/assets/images/rightArrowIcon.png
--------------------------------------------------------------------------------
/ext/assets/images/saveIcon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/intel/web-simulator/51fc660b7da78c90789d06e007daa392cb69e025/ext/assets/images/saveIcon.png
--------------------------------------------------------------------------------
/ext/assets/images/settingsIcon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/intel/web-simulator/51fc660b7da78c90789d06e007daa392cb69e025/ext/assets/images/settingsIcon.png
--------------------------------------------------------------------------------
/ext/assets/images/sideCollapseIconLeftSide.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/intel/web-simulator/51fc660b7da78c90789d06e007daa392cb69e025/ext/assets/images/sideCollapseIconLeftSide.png
--------------------------------------------------------------------------------
/ext/assets/images/sideCollapseIconRightSide.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/intel/web-simulator/51fc660b7da78c90789d06e007daa392cb69e025/ext/assets/images/sideCollapseIconRightSide.png
--------------------------------------------------------------------------------
/ext/assets/images/tizen-sdk-menu.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/intel/web-simulator/51fc660b7da78c90789d06e007daa392cb69e025/ext/assets/images/tizen-sdk-menu.png
--------------------------------------------------------------------------------
/ext/assets/images/tizen-title.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/intel/web-simulator/51fc660b7da78c90789d06e007daa392cb69e025/ext/assets/images/tizen-title.png
--------------------------------------------------------------------------------
/ext/assets/images/tizen-wave.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/intel/web-simulator/51fc660b7da78c90789d06e007daa392cb69e025/ext/assets/images/tizen-wave.gif
--------------------------------------------------------------------------------
/ext/assets/images/tizenAboutLogo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/intel/web-simulator/51fc660b7da78c90789d06e007daa392cb69e025/ext/assets/images/tizenAboutLogo.png
--------------------------------------------------------------------------------
/ext/assets/images/tizenlogo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/intel/web-simulator/51fc660b7da78c90789d06e007daa392cb69e025/ext/assets/images/tizenlogo.png
--------------------------------------------------------------------------------
/ext/assets/images/tizenlogo_large.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/intel/web-simulator/51fc660b7da78c90789d06e007daa392cb69e025/ext/assets/images/tizenlogo_large.png
--------------------------------------------------------------------------------
/ext/assets/images/ui-bg-hashed.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/intel/web-simulator/51fc660b7da78c90789d06e007daa392cb69e025/ext/assets/images/ui-bg-hashed.png
--------------------------------------------------------------------------------
/ext/assets/themes/dark/images/device.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/intel/web-simulator/51fc660b7da78c90789d06e007daa392cb69e025/ext/assets/themes/dark/images/device.png
--------------------------------------------------------------------------------
/ext/assets/themes/dark/images/ui-bg_flat_25_222222_40x100.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/intel/web-simulator/51fc660b7da78c90789d06e007daa392cb69e025/ext/assets/themes/dark/images/ui-bg_flat_25_222222_40x100.png
--------------------------------------------------------------------------------
/ext/assets/themes/dark/images/ui-bg_flat_30_cccccc_40x100.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/intel/web-simulator/51fc660b7da78c90789d06e007daa392cb69e025/ext/assets/themes/dark/images/ui-bg_flat_30_cccccc_40x100.png
--------------------------------------------------------------------------------
/ext/assets/themes/dark/images/ui-bg_flat_50_1e1e1e_40x100.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/intel/web-simulator/51fc660b7da78c90789d06e007daa392cb69e025/ext/assets/themes/dark/images/ui-bg_flat_50_1e1e1e_40x100.png
--------------------------------------------------------------------------------
/ext/assets/themes/dark/images/ui-bg_glass_40_ffc73d_1x400.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/intel/web-simulator/51fc660b7da78c90789d06e007daa392cb69e025/ext/assets/themes/dark/images/ui-bg_glass_40_ffc73d_1x400.png
--------------------------------------------------------------------------------
/ext/assets/themes/dark/images/ui-bg_highlight-hard_30_5871a3_1x100.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/intel/web-simulator/51fc660b7da78c90789d06e007daa392cb69e025/ext/assets/themes/dark/images/ui-bg_highlight-hard_30_5871a3_1x100.png
--------------------------------------------------------------------------------
/ext/assets/themes/dark/images/ui-bg_highlight-soft_0_333333_1x100.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/intel/web-simulator/51fc660b7da78c90789d06e007daa392cb69e025/ext/assets/themes/dark/images/ui-bg_highlight-soft_0_333333_1x100.png
--------------------------------------------------------------------------------
/ext/assets/themes/dark/images/ui-bg_highlight-soft_10_333333_1x100.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/intel/web-simulator/51fc660b7da78c90789d06e007daa392cb69e025/ext/assets/themes/dark/images/ui-bg_highlight-soft_10_333333_1x100.png
--------------------------------------------------------------------------------
/ext/assets/themes/dark/images/ui-bg_highlight-soft_20_333333_1x100.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/intel/web-simulator/51fc660b7da78c90789d06e007daa392cb69e025/ext/assets/themes/dark/images/ui-bg_highlight-soft_20_333333_1x100.png
--------------------------------------------------------------------------------
/ext/assets/themes/dark/images/ui-bg_highlight-soft_50_1e1e1e_1x100.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/intel/web-simulator/51fc660b7da78c90789d06e007daa392cb69e025/ext/assets/themes/dark/images/ui-bg_highlight-soft_50_1e1e1e_1x100.png
--------------------------------------------------------------------------------
/ext/assets/themes/dark/images/ui-icons_222222_256x240.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/intel/web-simulator/51fc660b7da78c90789d06e007daa392cb69e025/ext/assets/themes/dark/images/ui-icons_222222_256x240.png
--------------------------------------------------------------------------------
/ext/assets/themes/dark/images/ui-icons_5871a3_256x240.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/intel/web-simulator/51fc660b7da78c90789d06e007daa392cb69e025/ext/assets/themes/dark/images/ui-icons_5871a3_256x240.png
--------------------------------------------------------------------------------
/ext/assets/themes/dark/images/ui-icons_a83300_256x240.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/intel/web-simulator/51fc660b7da78c90789d06e007daa392cb69e025/ext/assets/themes/dark/images/ui-icons_a83300_256x240.png
--------------------------------------------------------------------------------
/ext/assets/themes/dark/images/ui-icons_cccccc_256x240.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/intel/web-simulator/51fc660b7da78c90789d06e007daa392cb69e025/ext/assets/themes/dark/images/ui-icons_cccccc_256x240.png
--------------------------------------------------------------------------------
/ext/assets/themes/dark/images/ui-icons_ffffff_256x240.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/intel/web-simulator/51fc660b7da78c90789d06e007daa392cb69e025/ext/assets/themes/dark/images/ui-icons_ffffff_256x240.png
--------------------------------------------------------------------------------
/ext/assets/themes/light/images/device.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/intel/web-simulator/51fc660b7da78c90789d06e007daa392cb69e025/ext/assets/themes/light/images/device.png
--------------------------------------------------------------------------------
/ext/assets/themes/light/images/ui-anim_basic_16x16.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/intel/web-simulator/51fc660b7da78c90789d06e007daa392cb69e025/ext/assets/themes/light/images/ui-anim_basic_16x16.gif
--------------------------------------------------------------------------------
/ext/assets/themes/light/images/ui-bg_flat_0_aaaaaa_40x100.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/intel/web-simulator/51fc660b7da78c90789d06e007daa392cb69e025/ext/assets/themes/light/images/ui-bg_flat_0_aaaaaa_40x100.png
--------------------------------------------------------------------------------
/ext/assets/themes/light/images/ui-bg_flat_75_ffffff_40x100.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/intel/web-simulator/51fc660b7da78c90789d06e007daa392cb69e025/ext/assets/themes/light/images/ui-bg_flat_75_ffffff_40x100.png
--------------------------------------------------------------------------------
/ext/assets/themes/light/images/ui-bg_glass_55_fbf9ee_1x400.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/intel/web-simulator/51fc660b7da78c90789d06e007daa392cb69e025/ext/assets/themes/light/images/ui-bg_glass_55_fbf9ee_1x400.png
--------------------------------------------------------------------------------
/ext/assets/themes/light/images/ui-bg_glass_65_ffffff_1x400.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/intel/web-simulator/51fc660b7da78c90789d06e007daa392cb69e025/ext/assets/themes/light/images/ui-bg_glass_65_ffffff_1x400.png
--------------------------------------------------------------------------------
/ext/assets/themes/light/images/ui-bg_glass_75_dadada_1x400.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/intel/web-simulator/51fc660b7da78c90789d06e007daa392cb69e025/ext/assets/themes/light/images/ui-bg_glass_75_dadada_1x400.png
--------------------------------------------------------------------------------
/ext/assets/themes/light/images/ui-bg_glass_75_e6e6e6_1x400.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/intel/web-simulator/51fc660b7da78c90789d06e007daa392cb69e025/ext/assets/themes/light/images/ui-bg_glass_75_e6e6e6_1x400.png
--------------------------------------------------------------------------------
/ext/assets/themes/light/images/ui-bg_glass_95_fef1ec_1x400.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/intel/web-simulator/51fc660b7da78c90789d06e007daa392cb69e025/ext/assets/themes/light/images/ui-bg_glass_95_fef1ec_1x400.png
--------------------------------------------------------------------------------
/ext/assets/themes/light/images/ui-bg_highlight-soft_75_cccccc_1x100.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/intel/web-simulator/51fc660b7da78c90789d06e007daa392cb69e025/ext/assets/themes/light/images/ui-bg_highlight-soft_75_cccccc_1x100.png
--------------------------------------------------------------------------------
/ext/assets/themes/light/images/ui-icons_222222_256x240.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/intel/web-simulator/51fc660b7da78c90789d06e007daa392cb69e025/ext/assets/themes/light/images/ui-icons_222222_256x240.png
--------------------------------------------------------------------------------
/ext/assets/themes/light/images/ui-icons_2e83ff_256x240.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/intel/web-simulator/51fc660b7da78c90789d06e007daa392cb69e025/ext/assets/themes/light/images/ui-icons_2e83ff_256x240.png
--------------------------------------------------------------------------------
/ext/assets/themes/light/images/ui-icons_454545_256x240.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/intel/web-simulator/51fc660b7da78c90789d06e007daa392cb69e025/ext/assets/themes/light/images/ui-icons_454545_256x240.png
--------------------------------------------------------------------------------
/ext/assets/themes/light/images/ui-icons_888888_256x240.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/intel/web-simulator/51fc660b7da78c90789d06e007daa392cb69e025/ext/assets/themes/light/images/ui-icons_888888_256x240.png
--------------------------------------------------------------------------------
/ext/assets/themes/light/images/ui-icons_cd0a0a_256x240.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/intel/web-simulator/51fc660b7da78c90789d06e007daa392cb69e025/ext/assets/themes/light/images/ui-icons_cd0a0a_256x240.png
--------------------------------------------------------------------------------
/ext/cache.manifest:
--------------------------------------------------------------------------------
1 | CACHE MANIFEST
2 | NETWORK:
3 | *
4 | CACHE:
5 | package.json
6 |
--------------------------------------------------------------------------------
/ext/chromestore/manifest.json:
--------------------------------------------------------------------------------
1 | {
2 | "version": "",
3 | "name": "Ripple Emulator (Beta)",
4 | "background_page":"views/background.html",
5 | "icons":{
6 | "16":"images/Icon_16x16.png",
7 | "128":"images/Icon_128x128.png",
8 | "48":"images/Icon_48x48.png"
9 | },
10 | "browser_action":{
11 | "popup":"views/popup.html",
12 | "default_icon":"images/Icon_48x48.png",
13 | "default_title":"Ripple"
14 | },
15 | "content_scripts":[{
16 | "run_at": "document_start",
17 | "js": ["controllers/Insertion.js"],
18 | "matches": ["http://*/*","https://*/*","file://*"]
19 | },
20 | {
21 | "run_at": "document_start",
22 | "js": ["controllers/frame.js"],
23 | "matches": ["http://*/*","https://*/*","file://*"],
24 | "all_frames": true
25 | }],
26 | "permissions": ["tabs", "unlimitedStorage", "notifications", "contextMenus", "webRequest", ""],
27 | "description": "A browser based html5 mobile application development and testing tool"
28 | }
29 |
--------------------------------------------------------------------------------
/ext/chromestore/views/background.html:
--------------------------------------------------------------------------------
1 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
--------------------------------------------------------------------------------
/ext/chromium/bootstrap.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2011 Research In Motion Limited.
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS,
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | * See the License for the specific language governing permissions and
14 | * limitations under the License.
15 | */
16 | if (!window.tinyHippos) {
17 | window.tinyHippos = {};
18 | var _panel = th_panel;
19 |
20 | (function () {
21 | var injection = _panel.LAYOUT_HTML.replace(/#URL_PREFIX#/g, rippleExtensionId);
22 |
23 | document.open();
24 | document.write(injection);
25 |
26 | window.setTimeout(function () {
27 | document.close();
28 | }, 100);
29 | }());
30 |
31 | }
32 |
33 | delete window.th_panel;
34 |
--------------------------------------------------------------------------------
/ext/chromium/controllers/frame.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2011 Research In Motion Limited.
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS,
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | * See the License for the specific language governing permissions and
14 | * limitations under the License.
15 | */
16 | if (!document.getElementById("emulator-booting") && !document.getElementById("tinyhippos-injected")) {
17 | var script = document.createElement("script");
18 | script.id = "tinyhippos-injected";
19 | script.innerText = 'if (window.top.require) { window.top.require("ripple/bootstrap").inject(window, document); }';
20 | document.documentElement.appendChild(script);
21 | }
22 |
--------------------------------------------------------------------------------
/ext/chromium/updates.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/ext/chromium/views/background.html:
--------------------------------------------------------------------------------
1 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
--------------------------------------------------------------------------------
/lib/ripple/appcache.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2011 Research In Motion Limited.
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS,
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | * See the License for the specific language governing permissions and
14 | * limitations under the License.
15 | */
16 | module.exports = {
17 | initialize: function () {
18 | window.addEventListener('load', function (e) {
19 | window.applicationCache.addEventListener('updateready', function (e) {
20 | if (window.applicationCache.status === window.applicationCache.UPDATEREADY) {
21 | window.applicationCache.swapCache();
22 | window.location.reload();
23 | }
24 | }, false);
25 | }, false);
26 | }
27 | };
28 |
--------------------------------------------------------------------------------
/lib/ripple/console.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2011 Research In Motion Limited.
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS,
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | * See the License for the specific language governing permissions and
14 | * limitations under the License.
15 | */
16 | var _self;
17 |
18 | function _log(msg, method) {
19 | try {
20 | console[method](_self.prefix ? _self.prefix + " :: " + msg : msg);
21 | } catch (e) {
22 | // silent
23 | }
24 | }
25 |
26 | _self = {
27 | log: function (msg) {
28 | _log(msg, "log");
29 | },
30 |
31 | warn: function (msg) {
32 | _log(msg, "warn");
33 | },
34 |
35 | error: function (msg) {
36 | _log(msg, "error");
37 | }
38 | };
39 |
40 | module.exports = _self;
41 |
--------------------------------------------------------------------------------
/lib/ripple/platform/cordova/2.0.0/JavaPluginManager.js:
--------------------------------------------------------------------------------
1 | module.exports = {
2 | exec: function () {
3 | throw "this really shouldn't be called. like ever!";
4 | },
5 | resume: function () {
6 | throw "this shouldn't be called";
7 | },
8 | pause: function () {
9 | throw "this shouldn't be called";
10 | },
11 | destroy: function () {
12 | throw "this shouldn't be called";
13 | }
14 | };
15 |
--------------------------------------------------------------------------------
/lib/ripple/platform/cordova/2.0.0/MediaError.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2011 Research In Motion Limited.
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS,
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | * See the License for the specific language governing permissions and
14 | * limitations under the License.
15 | */
16 | var MediaError = function (code, msg) {
17 | this.code = (code !== undefined ? code : null);
18 | this.message = msg || "";
19 | };
20 |
21 | MediaError.MEDIA_ERR_NONE_ACTIVE = 0;
22 | MediaError.MEDIA_ERR_ABORTED = 1;
23 | MediaError.MEDIA_ERR_NETWORK = 2;
24 | MediaError.MEDIA_ERR_DECODE = 3;
25 | MediaError.MEDIA_ERR_NONE_SUPPORTED = 4;
26 |
27 | module.exports = MediaError;
28 |
--------------------------------------------------------------------------------
/lib/ripple/platform/cordova/2.0.0/bridge/app.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2011 Research In Motion Limited.
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS,
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | * See the License for the specific language governing permissions and
14 | * limitations under the License.
15 | */
16 | var camera = require('ripple/ui/plugins/camera'),
17 | event = require('ripple/event');
18 |
19 | module.exports = {
20 | show: function (success, error, args) {
21 | return success && success();
22 | }
23 | };
24 |
--------------------------------------------------------------------------------
/lib/ripple/platform/cordova/2.0.0/bridge/camera.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2011 Research In Motion Limited.
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS,
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | * See the License for the specific language governing permissions and
14 | * limitations under the License.
15 | */
16 | var camera = require('ripple/ui/plugins/camera'),
17 | event = require('ripple/event');
18 |
19 | module.exports = {
20 | takePicture: function (success, error, args) {
21 | event.once("captured-image", function (uri, file) {
22 | success(uri);
23 | });
24 | camera.show();
25 | },
26 | cleanup: function (success, error, args) {
27 | success();
28 | }
29 | };
30 |
--------------------------------------------------------------------------------
/lib/ripple/platform/cordova/2.0.0/bridge/capture.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2011 Research In Motion Limited.
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS,
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | * See the License for the specific language governing permissions and
14 | * limitations under the License.
15 | */
16 |
17 | var camera = require('ripple/ui/plugins/camera'),
18 | event = require('ripple/event');
19 |
20 | module.exports = {
21 | captureImage: function (success, error, args) {
22 | event.once("captured-image", function (uri, file) {
23 | file.fullPath = uri;
24 | success([file]);
25 | });
26 | camera.show();
27 | }
28 | };
29 |
--------------------------------------------------------------------------------
/lib/ripple/platform/cordova/2.0.0/bridge/console.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2011 Research In Motion Limited.
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS,
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | * See the License for the specific language governing permissions and
14 | * limitations under the License.
15 | */
16 |
17 | module.exports = {
18 | log: function (win, fail, args) {
19 | console.log(args[0]);
20 | }
21 | };
22 |
--------------------------------------------------------------------------------
/lib/ripple/platform/cordova/2.0.0/bridge/device.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2011 Research In Motion Limited.
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS,
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | * See the License for the specific language governing permissions and
14 | * limitations under the License.
15 | */
16 | var devices = require('ripple/devices');
17 |
18 | module.exports = {
19 | getDeviceInfo: function (success, fail, args) {
20 | var device = devices.getCurrentDevice();
21 |
22 | success({
23 | available: true,
24 | platform: device.osName,
25 | version: device.osVersion,
26 | name: device.name,
27 | uuid: device.uuid,
28 | cordova: "2.0.0"
29 | });
30 | }
31 | };
32 |
--------------------------------------------------------------------------------
/lib/ripple/platform/cordova/2.0.0/bridge/network.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2011 Research In Motion Limited.
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS,
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | * See the License for the specific language governing permissions and
14 | * limitations under the License.
15 | */
16 |
17 | var deviceSettings = require('ripple/deviceSettings'),
18 | event = require('ripple/event'),
19 | _success;
20 |
21 | event.on("ConnectionChanged", function () {
22 | return _success && _success(deviceSettings.retrieve("NetworkStatus.connectionType"));
23 | });
24 |
25 | module.exports = {
26 | getConnectionInfo: function (success, fail, args) {
27 | _success = success;
28 | success(deviceSettings.retrieve("NetworkStatus.connectionType"));
29 | }
30 | };
31 |
--------------------------------------------------------------------------------
/lib/ripple/platform/cordova/2.0.0/logger.js:
--------------------------------------------------------------------------------
1 | module.exports = {
2 | log: function (msg) {
3 | console.log(msg);
4 | }
5 | };
6 |
--------------------------------------------------------------------------------
/lib/ripple/platform/cordova/2.0.0/spec/ui.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2011 Research In Motion Limited.
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS,
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | * See the License for the specific language governing permissions and
14 | * limitations under the License.
15 | */
16 | module.exports = {
17 | plugins: [
18 | "accelerometer",
19 | "deviceSettings",
20 | "geoView",
21 | "widgetConfig",
22 | "platformEvents"
23 | ]
24 | };
25 |
--------------------------------------------------------------------------------
/lib/ripple/platform/phonegap/1.0.0/AVCodecsAttributes.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2011 Research In Motion Limited.
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS,
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | * See the License for the specific language governing permissions and
14 | * limitations under the License.
15 | */
16 | module.exports = function (info, id, audioCodecs, videoCodecs) {
17 | return {
18 | info: info,
19 | id: id,
20 | audioCodecs: audioCodecs,
21 | videoCodecs: videoCodecs
22 | };
23 | };
24 |
--------------------------------------------------------------------------------
/lib/ripple/platform/phonegap/1.0.0/Acceleration.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2011 Research In Motion Limited.
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS,
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | * See the License for the specific language governing permissions and
14 | * limitations under the License.
15 | */
16 | module.exports = function (x, y, z) {
17 | return {
18 | x: x || 0,
19 | y: y || 0,
20 | z: z || 0,
21 | timestamp: new Date().getTime()
22 | };
23 | };
24 |
--------------------------------------------------------------------------------
/lib/ripple/platform/phonegap/1.0.0/AudioCodecAttributes.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2011 Research In Motion Limited.
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS,
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | * See the License for the specific language governing permissions and
14 | * limitations under the License.
15 | */
16 | module.exports = function (info, id, compFormats, encode, decode) {
17 | return {
18 | info: info,
19 | id: id,
20 | compFormats: compFormats,
21 | encode: encode,
22 | decode: decode
23 | };
24 | };
25 |
--------------------------------------------------------------------------------
/lib/ripple/platform/phonegap/1.0.0/AudioDeviceAttributes.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2011 Research In Motion Limited.
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS,
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | * See the License for the specific language governing permissions and
14 | * limitations under the License.
15 | */
16 | module.exports = function (type, freqRangeLow, freqRangeHigh, volumeLevel, info) {
17 | return {
18 | type: type,
19 | freqRangeLow: freqRangeLow,
20 | freqRangeHigh: freqRangeHigh,
21 | volumeLevel: volumeLevel,
22 | info: info
23 | };
24 |
25 | };
26 |
--------------------------------------------------------------------------------
/lib/ripple/platform/phonegap/1.0.0/BrailleDeviceAttributes.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2011 Research In Motion Limited.
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS,
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | * See the License for the specific language governing permissions and
14 | * limitations under the License.
15 | */
16 | module.exports = function (nbCells, info) {
17 | return {
18 | nbCells: nbCells,
19 | info: info
20 | };
21 |
22 | };
23 |
--------------------------------------------------------------------------------
/lib/ripple/platform/phonegap/1.0.0/CPUAttributes.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2011 Research In Motion Limited.
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS,
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | * See the License for the specific language governing permissions and
14 | * limitations under the License.
15 | */
16 | module.exports = function (info, id, usage) {
17 | return {
18 | info: info,
19 | id: id,
20 | usage: usage
21 | };
22 | };
23 |
--------------------------------------------------------------------------------
/lib/ripple/platform/phonegap/1.0.0/CameraAttributes.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2011 Research In Motion Limited.
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS,
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | * See the License for the specific language governing permissions and
14 | * limitations under the License.
15 | */
16 | module.exports = function (supportsVideo, hasFlash, sensorPixels, maxZoomFactor) {
17 | return {
18 | supportsVideo: supportsVideo,
19 | hasFlash: hasFlash,
20 | sensorPixels: sensorPixels,
21 | maxZoomFactor: maxZoomFactor
22 | };
23 |
24 | };
25 |
--------------------------------------------------------------------------------
/lib/ripple/platform/phonegap/1.0.0/Connection.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2011 Research In Motion Limited.
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS,
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | * See the License for the specific language governing permissions and
14 | * limitations under the License.
15 | */
16 | module.exports = {
17 | UNKNOWN: "unknown",
18 | ETHERNET: "ethernet",
19 | WIFI: "wifi",
20 | CELL_2G: "2g",
21 | CELL_3G: "3g",
22 | CELL_4G: "4g",
23 | NONE: "none"
24 | };
25 |
--------------------------------------------------------------------------------
/lib/ripple/platform/phonegap/1.0.0/ContactAccount.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2011 Research In Motion Limited.
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS,
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | * See the License for the specific language governing permissions and
14 | * limitations under the License.
15 | */
16 | module.exports = function (domain, username, userid) {
17 | return {
18 | domain: domain,
19 | username: username,
20 | userid: userid
21 | };
22 | };
23 |
--------------------------------------------------------------------------------
/lib/ripple/platform/phonegap/1.0.0/ContactAddress.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2011 Research In Motion Limited.
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS,
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | * See the License for the specific language governing permissions and
14 | * limitations under the License.
15 | */
16 | module.exports = function (pref, type, formatted, streetAddress, locality, region, postalCode, country, id) {
17 | return {
18 | pref: pref || null,
19 | type: type || null,
20 | formatted: formatted || null,
21 | streetAddress: streetAddress || null,
22 | locality: locality || null,
23 | region: region || null,
24 | postalCode: postalCode || null,
25 | country: country || null,
26 | id: id || null
27 | };
28 | };
29 |
--------------------------------------------------------------------------------
/lib/ripple/platform/phonegap/1.0.0/ContactError.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2011 Research In Motion Limited.
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS,
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | * See the License for the specific language governing permissions and
14 | * limitations under the License.
15 | */
16 | function ContactError(code) {
17 | this.code = code || null;
18 | }
19 |
20 | ContactError.UNKNOWN_ERROR = 0;
21 | ContactError.INVALID_ARGUMENT_ERROR = 1;
22 | ContactError.NOT_FOUND_ERROR = 2;
23 | ContactError.TIMEOUT_ERROR = 3;
24 | ContactError.PENDING_OPERATION_ERROR = 4;
25 | ContactError.IO_ERROR = 5;
26 | ContactError.NOT_SUPPORTED_ERROR = 6;
27 | ContactError.PERMISSION_DENIED_ERROR = 20;
28 |
29 | module.exports = ContactError;
30 |
--------------------------------------------------------------------------------
/lib/ripple/platform/phonegap/1.0.0/ContactField.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2011 Research In Motion Limited.
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS,
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | * See the License for the specific language governing permissions and
14 | * limitations under the License.
15 | */
16 | module.exports = function (type, value, pref) {
17 | return {
18 | type: type,
19 | value: value,
20 | pref: pref || false
21 | };
22 | };
23 |
--------------------------------------------------------------------------------
/lib/ripple/platform/phonegap/1.0.0/ContactFindOptions.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2011 Research In Motion Limited.
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS,
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | * See the License for the specific language governing permissions and
14 | * limitations under the License.
15 | */
16 | module.exports = function (filter, multiple, updatedSince) {
17 | return {
18 | filter: filter || "",
19 | multiple: multiple || false,
20 | updatedSince: updatedSince || ""
21 | };
22 | };
23 |
--------------------------------------------------------------------------------
/lib/ripple/platform/phonegap/1.0.0/ContactName.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2011 Research In Motion Limited.
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS,
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | * See the License for the specific language governing permissions and
14 | * limitations under the License.
15 | */
16 | module.exports = function (formatted, familyName, givenName, middleName, honorificPrefix, honorificSuffix) {
17 | return {
18 | formatted: formatted,
19 | familyName: familyName,
20 | givenName: givenName,
21 | middleName: middleName,
22 | honorificPrefix: honorificPrefix,
23 | honorificSuffix: honorificSuffix
24 | };
25 | };
26 |
--------------------------------------------------------------------------------
/lib/ripple/platform/phonegap/1.0.0/ContactOrganization.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2011 Research In Motion Limited.
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS,
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | * See the License for the specific language governing permissions and
14 | * limitations under the License.
15 | */
16 | module.exports = function (pref, type, name, dept, title) {
17 | return {
18 | pref: pref || null,
19 | type: type || null,
20 | name: name || null,
21 | department: dept || null,
22 | title: title || null
23 | };
24 | };
25 |
--------------------------------------------------------------------------------
/lib/ripple/platform/phonegap/1.0.0/DisplayDeviceAttributes.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2011 Research In Motion Limited.
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS,
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | * See the License for the specific language governing permissions and
14 | * limitations under the License.
15 | */
16 | module.exports = function (orientation, brightness, contrast, blanked, dotsPerInchW, dotsPerInchH, physicalWidth, physicalHeight, info) {
17 | return {
18 | orientation: orientation,
19 | brightness: brightness,
20 | contrast: contrast,
21 | blanked: blanked,
22 | dotsPerInchW: dotsPerInchW,
23 | dotsPerInchH: dotsPerInchH,
24 | physicalWidth: physicalWidth,
25 | physicalHeight: physicalHeight,
26 | info: info
27 | };
28 | };
29 |
--------------------------------------------------------------------------------
/lib/ripple/platform/phonegap/1.0.0/KeyboardAttributes.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2011 Research In Motion Limited.
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS,
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | * See the License for the specific language governing permissions and
14 | * limitations under the License.
15 | */
16 | module.exports = function (type, isHardware, info) {
17 | return {
18 | type: type,
19 | isHardware: isHardware,
20 | info: info
21 | };
22 | };
23 |
--------------------------------------------------------------------------------
/lib/ripple/platform/phonegap/1.0.0/MicrophoneAttributes.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2011 Research In Motion Limited.
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS,
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | * See the License for the specific language governing permissions and
14 | * limitations under the License.
15 | */
16 | module.exports = function (type, freqRangeLow, freqRangeHigh, info, name, types) {
17 | return {
18 | type: type,
19 | freqRangeLow: freqRangeLow,
20 | freqRangeHigh: freqRangeHigh,
21 | info: info,
22 | name: name,
23 | types: types
24 | };
25 | };
26 |
--------------------------------------------------------------------------------
/lib/ripple/platform/phonegap/1.0.0/NetworkAttributes.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2011 Research In Motion Limited.
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS,
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | * See the License for the specific language governing permissions and
14 | * limitations under the License.
15 | */
16 | module.exports = function (info, id, activeConnections) {
17 | return {
18 | info: info,
19 | id: id,
20 | activeConnections: activeConnections || []
21 | };
22 | };
23 |
--------------------------------------------------------------------------------
/lib/ripple/platform/phonegap/1.0.0/NetworkStatus.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2011 Research In Motion Limited.
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS,
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | * See the License for the specific language governing permissions and
14 | * limitations under the License.
15 | */
16 | module.exports = {
17 | NOT_REACHABLE: 0,
18 | REACHABLE_VIA_CARRIER_DATA_NETWORK: 1,
19 | REACHABLE_VIA_WIFI_NETWORK: 2
20 | };
21 |
--------------------------------------------------------------------------------
/lib/ripple/platform/phonegap/1.0.0/PhoneGap.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2011 Research In Motion Limited.
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS,
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | * See the License for the specific language governing permissions and
14 | * limitations under the License.
15 | */
16 | module.exports = {
17 | available: true
18 | };
19 |
--------------------------------------------------------------------------------
/lib/ripple/platform/phonegap/1.0.0/PointerAttributes.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2011 Research In Motion Limited.
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS,
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | * See the License for the specific language governing permissions and
14 | * limitations under the License.
15 | */
16 | module.exports = function (type, supportsMultiTouch, info) {
17 | return {
18 | type: type,
19 | supportsMultiTouch: supportsMultiTouch,
20 | info: info
21 | };
22 | };
23 |
--------------------------------------------------------------------------------
/lib/ripple/platform/phonegap/1.0.0/PowerAttributes.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2011 Research In Motion Limited.
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS,
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | * See the License for the specific language governing permissions and
14 | * limitations under the License.
15 | */
16 | module.exports = function (info, id, level, timeRemaining, isBattery, isCharging) {
17 | return {
18 | info: info,
19 | id: id,
20 | level: level,
21 | timeRemaining: timeRemaining,
22 | isBattery: isBattery,
23 | isCharging: isCharging
24 | };
25 | };
26 |
--------------------------------------------------------------------------------
/lib/ripple/platform/phonegap/1.0.0/PrintingDeviceAttributes.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2011 Research In Motion Limited.
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS,
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | * See the License for the specific language governing permissions and
14 | * limitations under the License.
15 | */
16 | module.exports = function (type, resolution, color, info) {
17 | return {
18 | type: type,
19 | resolution: resolution,
20 | color: color,
21 | info: info
22 | };
23 | };
24 |
--------------------------------------------------------------------------------
/lib/ripple/platform/phonegap/1.0.0/SensorAttributes.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2011 Research In Motion Limited.
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS,
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | * See the License for the specific language governing permissions and
14 | * limitations under the License.
15 | */
16 | module.exports = function (value, min, max, normalizedValue) {
17 | return {
18 | value: value,
19 | min: min,
20 | max: max,
21 | normalizedValue: normalizedValue
22 | };
23 | };
24 |
--------------------------------------------------------------------------------
/lib/ripple/platform/phonegap/1.0.0/StorageUnitAttributes.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2011 Research In Motion Limited.
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS,
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | * See the License for the specific language governing permissions and
14 | * limitations under the License.
15 | */
16 | module.exports = function (info, id, type, isWritable, capacity, availableCapacity, isRemoveable) {
17 | return {
18 | info: info,
19 | id: id,
20 | type: type,
21 | isWritable: isWritable,
22 | capacity: capacity,
23 | availableCapacity: availableCapacity,
24 | isRemoveable: isRemoveable
25 | };
26 | };
27 |
--------------------------------------------------------------------------------
/lib/ripple/platform/phonegap/1.0.0/SystemInfoOptions.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2011 Research In Motion Limited.
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS,
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | * See the License for the specific language governing permissions and
14 | * limitations under the License.
15 | */
16 | module.exports = function (highThreshold, lowThreshold, thresholdTarget, timeout, id) {
17 | return {
18 | highThreshold: highThreshold,
19 | lowThreshold: lowThreshold,
20 | thresholdTarget: thresholdTarget,
21 | timeout: timeout,
22 | id: id
23 | };
24 | };
25 |
--------------------------------------------------------------------------------
/lib/ripple/platform/phonegap/1.0.0/ThermalAttributes.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2011 Research In Motion Limited.
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS,
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | * See the License for the specific language governing permissions and
14 | * limitations under the License.
15 | */
16 | module.exports = function (info, id, state) {
17 | return {
18 | info: info,
19 | id: id,
20 | state: state
21 | };
22 | };
23 |
--------------------------------------------------------------------------------
/lib/ripple/platform/phonegap/1.0.0/VideoCodecAttributes.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2011 Research In Motion Limited.
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS,
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | * See the License for the specific language governing permissions and
14 | * limitations under the License.
15 | */
16 | module.exports = function (info, id, compFormats, containerFormats, hwAccel, profiles, frameTypes, rateTypes) {
17 | return {
18 | info: info,
19 | id: id,
20 | compFormats: compFormats,
21 | containerFormats: containerFormats,
22 | hwAccel: hwAccel,
23 | profiles: profiles,
24 | frameTypes: frameTypes,
25 | rateTypes: rateTypes
26 | };
27 | };
28 |
--------------------------------------------------------------------------------
/lib/ripple/platform/phonegap/1.0.0/camera.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2011 Research In Motion Limited.
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS,
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | * See the License for the specific language governing permissions and
14 | * limitations under the License.
15 | */
16 | module.exports = {
17 | getPicture: function (cameraSuccess, cameraError, cameraOptions) {
18 | if (cameraError) {
19 | cameraError.apply(null, ["not implemented"]);
20 | }
21 | else {
22 | throw "not implemented";
23 | }
24 | }
25 | };
26 |
--------------------------------------------------------------------------------
/lib/ripple/platform/phonegap/1.0.0/map.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2011 Research In Motion Limited.
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS,
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | * See the License for the specific language governing permissions and
14 | * limitations under the License.
15 | */
16 | module.exports = {
17 | show: function () {
18 | throw "not implemented";
19 | }
20 | };
21 |
--------------------------------------------------------------------------------
/lib/ripple/platform/phonegap/1.0.0/network.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2011 Research In Motion Limited.
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS,
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | * See the License for the specific language governing permissions and
14 | * limitations under the License.
15 | */
16 | var deviceSettings = require('ripple/deviceSettings'),
17 | _self = {
18 | connection: {
19 | }
20 | };
21 |
22 | _self.connection.__defineGetter__("type", function () {
23 | return deviceSettings.retrieve("NetworkStatus.connectionType");
24 | });
25 |
26 | module.exports = _self;
27 |
--------------------------------------------------------------------------------
/lib/ripple/platform/phonegap/1.0.0/orientation.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2011 Research In Motion Limited.
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS,
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | * See the License for the specific language governing permissions and
14 | * limitations under the License.
15 | */
16 | module.exports = {
17 | currentOrientation: null,
18 | getCurrentOrientation: function (onSuccess, onFail) {
19 | throw "not implemented";
20 | },
21 | watchOrientation: function () {
22 | throw "not implemented";
23 | }
24 | };
25 |
--------------------------------------------------------------------------------
/lib/ripple/platform/phonegap/1.0.0/service.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2011 Research In Motion Limited.
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS,
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | * See the License for the specific language governing permissions and
14 | * limitations under the License.
15 | */
16 | // for form, but could probably just delete
17 | module.exports = {};
18 |
--------------------------------------------------------------------------------
/lib/ripple/platform/phonegap/1.0.0/sms.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2011 Research In Motion Limited.
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS,
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | * See the License for the specific language governing permissions and
14 | * limitations under the License.
15 | */
16 | module.exports = {
17 | send: function () {
18 | throw "not implemented";
19 | }
20 | };
21 |
--------------------------------------------------------------------------------
/lib/ripple/platform/phonegap/1.0.0/spec/events.js:
--------------------------------------------------------------------------------
1 | function _fires(name, data) {
2 | return function () {
3 | var doc = require("ripple/emulatorBridge").document(),
4 | evt = doc.createEvent("Events");
5 |
6 | evt.initEvent(name, true, false);
7 | doc.dispatchEvent(evt);
8 | };
9 | }
10 |
11 | module.exports = {
12 | "deviceready": {
13 | callback: _fires("deviceready")
14 | },
15 | "backbutton": {
16 | callback: _fires("backbutton")
17 | },
18 | "menubutton": {
19 | callback: _fires("menubutton")
20 | },
21 | "pause": {
22 | callback: _fires("pause")
23 | },
24 | "resume": {
25 | callback: _fires("resume")
26 | },
27 | "searchbutton": {
28 | callback: _fires("searchbutton")
29 | },
30 | "online": {
31 | callback: _fires("online")
32 | },
33 | "offline": {
34 | callback: _fires("offline")
35 | }
36 | };
37 |
--------------------------------------------------------------------------------
/lib/ripple/platform/phonegap/1.0.0/spec/ui.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2011 Research In Motion Limited.
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS,
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | * See the License for the specific language governing permissions and
14 | * limitations under the License.
15 | */
16 | module.exports = {
17 | plugins: [
18 | "accelerometer",
19 | "deviceSettings",
20 | "geoView",
21 | "widgetConfig",
22 | "platformEvents"
23 | ]
24 | };
25 |
--------------------------------------------------------------------------------
/lib/ripple/platform/phonegap/1.0.0/system.js:
--------------------------------------------------------------------------------
1 | module.exports = {
2 | get: function () {
3 | throw "not implemented";
4 | },
5 | has: function () {
6 | throw "not implemented";
7 | },
8 | monitor: function () {
9 | throw "not implemented";
10 | }
11 | };
12 |
--------------------------------------------------------------------------------
/lib/ripple/platform/phonegap/1.0.0/telephony.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2011 Research In Motion Limited.
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS,
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | * See the License for the specific language governing permissions and
14 | * limitations under the License.
15 | */
16 | module.exports = {
17 | send: function () {
18 | throw "not implemented";
19 | }
20 | };
21 |
--------------------------------------------------------------------------------
/lib/ripple/platform/tizen/2.0/AccountBase.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2012 Intel Corporation.
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS,
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | * See the License for the specific language governing permissions and
14 | * limitations under the License.
15 | */
16 |
17 | module.exports = function (appId, userName, displayName, service) {
18 | var _self,
19 | _id = Math.uuid(null, 16);
20 |
21 | _self = {
22 | appId : appId || "",
23 | userName : userName || "",
24 | displayName : displayName || "",
25 | service : service || {}
26 | };
27 |
28 | _self.__defineGetter__("id", function () {
29 | return _id;
30 | });
31 |
32 | return _self;
33 | };
34 |
--------------------------------------------------------------------------------
/lib/ripple/platform/tizen/2.0/AlarmBase.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2012 Intel Corporation.
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS,
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | * See the License for the specific language governing permissions and
14 | * limitations under the License.
15 | */
16 |
17 | module.exports = function (self) {
18 | self = self || this;
19 |
20 | self.__defineGetter__("id", function () {
21 | return null;
22 | });
23 | };
24 |
--------------------------------------------------------------------------------
/lib/ripple/platform/tizen/2.0/BookmarkFolder.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2013 Intel Corporation.
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS,
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | * See the License for the specific language governing permissions and
14 | * limitations under the License.
15 | */
16 |
17 | var t = require('ripple/platform/tizen/2.0/typecast'),
18 | BookmarkFolder;
19 |
20 | BookmarkFolder = function (title) {
21 | t.BookmarkFolder(arguments, this);
22 |
23 | this.__defineGetter__("parent", function () {
24 | return undefined;
25 | });
26 |
27 | this.__defineGetter__("title", function () {
28 | return title;
29 | });
30 | };
31 |
32 | module.exports = BookmarkFolder;
33 |
--------------------------------------------------------------------------------
/lib/ripple/platform/tizen/2.0/BookmarkItem.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2013 Intel Corporation.
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS,
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | * See the License for the specific language governing permissions and
14 | * limitations under the License.
15 | */
16 |
17 | var t = require('ripple/platform/tizen/2.0/typecast'),
18 | BookmarkItem;
19 |
20 | BookmarkItem = function (title, url) {
21 | t.BookmarkItem(arguments, this);
22 |
23 | this.__defineGetter__("parent", function () {
24 | return undefined;
25 | });
26 | this.__defineGetter__("title", function () {
27 | return title;
28 | });
29 | this.__defineGetter__("url", function () {
30 | return url;
31 | });
32 | };
33 |
34 | module.exports = BookmarkItem;
35 |
--------------------------------------------------------------------------------
/lib/ripple/platform/tizen/2.0/GeoCircleBounds.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2012 Intel Corporation.
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS,
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | * See the License for the specific language governing permissions and
14 | * limitations under the License.
15 | */
16 |
17 | module.exports = function (_center, _radius) {
18 | var center, radius;
19 | center = _center || null;
20 | radius = _radius || 0;
21 |
22 | this.__defineGetter__("center", function () {
23 | return center;
24 | });
25 |
26 | this.__defineGetter__("radius", function () {
27 | return radius;
28 | });
29 | };
30 |
--------------------------------------------------------------------------------
/lib/ripple/platform/tizen/2.0/GeoPolyBounds.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2012 Intel Corporation.
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS,
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | * See the License for the specific language governing permissions and
14 | * limitations under the License.
15 | */
16 |
17 | module.exports = function (_points) {
18 | var points = _points || [];
19 |
20 | this.__defineGetter__("points", function () {
21 | return points;
22 | });
23 | };
24 |
--------------------------------------------------------------------------------
/lib/ripple/platform/tizen/2.0/GeoRectBounds.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2012 Intel Corporation.
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS,
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | * See the License for the specific language governing permissions and
14 | * limitations under the License.
15 | */
16 |
17 | module.exports = function (_southWest, _northEast) {
18 | var southWest, northEast;
19 | southWest = _southWest || null;
20 | northEast = _northEast || null;
21 |
22 | this.__defineGetter__("southWest", function () {
23 | return southWest;
24 | });
25 |
26 | this.__defineGetter__("northEast", function () {
27 | return northEast;
28 | });
29 | };
30 |
--------------------------------------------------------------------------------
/lib/ripple/platform/tizen/2.0/GeometryFilter.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2012 Intel Corporation.
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS,
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | * See the License for the specific language governing permissions and
14 | * limitations under the License.
15 | */
16 |
17 | module.exports = function (criteria, geometry) {
18 | var _self;
19 |
20 | _self = {
21 | criteria: criteria,
22 | geometry: geometry
23 | };
24 |
25 | return _self;
26 | };
27 |
--------------------------------------------------------------------------------
/lib/ripple/platform/tizen/2.0/MessageBody.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2012 Intel Corporation.
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS,
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | * See the License for the specific language governing permissions and
14 | * limitations under the License.
15 | */
16 |
17 | module.exports = function (id, isloaded, _plainbody, _htmlbody, inlineattachments) {
18 | var msgbody, _id = id, _loaded = isloaded;
19 | msgbody = {
20 | plainBody: _plainbody,
21 | htmlBody: _htmlbody,
22 | inlineAttachments: [] // TODO: not support attachment yet
23 | };
24 | msgbody.__defineGetter__("messageId", function () {
25 | return _id;
26 | });
27 | msgbody.__defineGetter__("loaded", function () {
28 | return _loaded;
29 | });
30 | return msgbody;
31 | };
32 |
--------------------------------------------------------------------------------
/lib/ripple/platform/tizen/2.0/NDEFRecordInternal.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2013 Intel Corporation
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS,
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | * See the License for the specific language governing permissions and
14 | * limitations under the License.
15 | */
16 |
17 | module.exports = function (tnf, type, payload, id) {
18 | this.__defineGetter__("tnf", function () {
19 | return tnf;
20 | });
21 |
22 | this.__defineGetter__("type", function () {
23 | return type;
24 | });
25 |
26 | this.__defineGetter__("id", function () {
27 | return id;
28 | });
29 |
30 | this.__defineGetter__("payload", function () {
31 | return payload;
32 | });
33 | };
34 |
--------------------------------------------------------------------------------
/lib/ripple/platform/tizen/2.0/POIFilter.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2012 Intel Corporation.
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS,
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | * See the License for the specific language governing permissions and
14 | * limitations under the License.
15 | */
16 |
17 | module.exports = function (attributeName, value) {
18 | var _self;
19 |
20 | _self = {
21 | attributeName: attributeName,
22 | value: value
23 | };
24 |
25 | return _self;
26 | };
27 |
--------------------------------------------------------------------------------
/lib/ripple/platform/tizen/2.0/pendingObject.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2011 Intel Corporation.
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS,
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | * See the License for the specific language governing permissions and
14 | * limitations under the License.
15 | */
16 |
17 | module.exports = function (pendingObj) {
18 | var cancelFlag = true;
19 | this.setCancelFlag = function (flag) {
20 | cancelFlag = flag;
21 | };
22 | this.getCancelFlag = function () {
23 | return cancelFlag;
24 | };
25 | this.userCancel = null;
26 | this.pendingID = null;
27 | };
28 |
--------------------------------------------------------------------------------
/lib/ripple/platform/tizen/2.0/spec/ui.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2011 Intel Corporation.
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS,
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | * See the License for the specific language governing permissions and
14 | * limitations under the License.
15 | */
16 | module.exports = {
17 | plugins: [
18 | "sensors",
19 | "communication",
20 | "geoView",
21 | "widgetConfig",
22 | "deviceSettings",
23 | "application",
24 | "network",
25 | "power",
26 | "download",
27 | "package"
28 | ]
29 | };
30 |
--------------------------------------------------------------------------------
/lib/ripple/platform/tizen/2.0/syncml-js-lib/item.js:
--------------------------------------------------------------------------------
1 | // -*- coding: utf-8 -*-
2 | //-----------------------------------------------------------------------------
3 | // file: $Id$
4 | // lib: syncml-js.item
5 | // auth: griffin
6 | // date: 2012/11/30
7 | // copy: (C) CopyLoose 2012 UberDev , No Rights Reserved.
8 | //-----------------------------------------------------------------------------
9 |
10 | var common = require('ripple/platform/tizen/2.0/syncml-js-lib/common');
11 |
12 | var _self = (function () {
13 | var exports = {};
14 |
15 | //---------------------------------------------------------------------------
16 | exports.Item = common.Base.extend({
17 |
18 | //: the unique identifier (within the context of a SyncML datastore)
19 | //: of the current SyncML item.
20 | id: null,
21 |
22 | compare: function(other) {
23 | return ( other === this ? 0 : 1 );
24 | }
25 |
26 | });
27 |
28 | return exports;
29 |
30 | })();
31 |
32 | module.exports = _self;
33 |
--------------------------------------------------------------------------------
/lib/ripple/platform/w3c/1.0/Acceleration.js:
--------------------------------------------------------------------------------
1 | module.exports = function (x, y, z) {
2 | return {
3 | x: x || 0, //Acceleration in the 'x' expressed in m/s^2. (Number)
4 | y: y || 0, //Acceleration in the 'y' expressed in m/s^2. (Number)
5 | z: z || 0 //Acceleration in the 'z' expressed in m/s^2. (Number)
6 | };
7 | };
8 |
--------------------------------------------------------------------------------
/lib/ripple/platform/w3c/1.0/Position.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2011 Research In Motion Limited.
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS,
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | * See the License for the specific language governing permissions and
14 | * limitations under the License.
15 | */
16 | var Coordinates = require('ripple/platform/w3c/1.0/Coordinates');
17 |
18 | module.exports = function () {
19 | return {
20 | coords: new Coordinates(),
21 | timestamp: new Date().getTime()
22 | };
23 | };
24 |
--------------------------------------------------------------------------------
/lib/ripple/platform/w3c/1.0/PositionError.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2011 Research In Motion Limited.
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS,
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | * See the License for the specific language governing permissions and
14 | * limitations under the License.
15 | */
16 | var _self = function () {
17 | return {
18 | code: undefined,
19 | message: undefined
20 | };
21 | };
22 |
23 | _self.PERMISSION_DENIED = "PERMISSION_DENIED";
24 | _self.POSITION_UNAVAILABLE = "POSITION_UNAVAILABLE";
25 | _self.TIMEOUT = "TIMEOUT";
26 |
27 | module.exports = _self;
28 |
--------------------------------------------------------------------------------
/lib/ripple/platform/w3c/1.0/Rotation.js:
--------------------------------------------------------------------------------
1 | module.exports = function (alpha, beta, gamma) {
2 | return {
3 | alpha: alpha || 0, //Rotation about the 'z' axis expressed in degrees [0, 360]. (Number)
4 | beta: beta || 0, //Rotation about the 'x' axis expressed in degrees [-180, 180]. (Number)
5 | gamma: gamma || 0 //Rotation about the 'y' axis expressed in degrees [-90, 90]. (Number)
6 | };
7 | };
8 |
--------------------------------------------------------------------------------
/lib/ripple/platform/wac/1.0/AccelerometerInfo.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2011 Research In Motion Limited.
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS,
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | * See the License for the specific language governing permissions and
14 | * limitations under the License.
15 | */
16 | var accelerometer = require('ripple/accelerometer'),
17 | _self = {};
18 |
19 | _self.__defineGetter__("xAxis", function () {
20 | return accelerometer.getInfo().accelerationIncludingGravity.x;
21 | });
22 |
23 | _self.__defineGetter__("yAxis", function () {
24 | return accelerometer.getInfo(true).accelerationIncludingGravity.y;
25 | });
26 |
27 | _self.__defineGetter__("zAxis", function () {
28 | return accelerometer.getInfo(true).accelerationIncludingGravity.z;
29 | });
30 |
31 | module.exports = _self;
32 |
--------------------------------------------------------------------------------
/lib/ripple/platform/wac/1.0/Account.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2011 Research In Motion Limited.
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS,
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | * See the License for the specific language governing permissions and
14 | * limitations under the License.
15 | */
16 | var deviceSettings = require('ripple/deviceSettings'),
17 | _self;
18 |
19 | _self = {
20 | accountName: undefined,
21 | accountId: undefined
22 | };
23 |
24 | _self.__defineGetter__("accountName", function () {
25 | return deviceSettings.retrieve("Account.accountName");
26 | });
27 |
28 | _self.__defineGetter__("accountId", function () {
29 | return deviceSettings.retrieve("Account.accountId");
30 | });
31 |
32 | module.exports = _self;
33 |
--------------------------------------------------------------------------------
/lib/ripple/platform/wac/1.0/ApplicationTypes.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2011 Research In Motion Limited.
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS,
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | * See the License for the specific language governing permissions and
14 | * limitations under the License.
15 | */
16 | var utils = require('ripple/utils'),
17 | constants = require('ripple/constants'),
18 | _self = {};
19 |
20 | utils.forEach(constants.PLATFORMS.WAC.APPLICATIONS, function (application) {
21 | _self.__defineGetter__(application, function () {
22 | return application;
23 | });
24 | });
25 |
26 | module.exports = _self;
27 |
--------------------------------------------------------------------------------
/lib/ripple/platform/wac/1.0/Attachment.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2011 Research In Motion Limited.
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS,
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | * See the License for the specific language governing permissions and
14 | * limitations under the License.
15 | */
16 | module.exports = function () {
17 | this.fileName = "";
18 | this.MIMEType = "";
19 | this.size = 0;
20 | };
21 |
--------------------------------------------------------------------------------
/lib/ripple/platform/wac/1.0/CallRecord.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2011 Research In Motion Limited.
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS,
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | * See the License for the specific language governing permissions and
14 | * limitations under the License.
15 | */
16 | module.exports = function () {
17 | this.callRecordType = undefined;
18 | this.callRecordId = undefined;
19 | this.callRecordAddress = undefined;
20 | this.callRecordName = undefined;
21 | this.durationSeconds = undefined;
22 | this.startTime = undefined;
23 | };
24 |
--------------------------------------------------------------------------------
/lib/ripple/platform/wac/1.0/CallRecordTypes.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2011 Research In Motion Limited.
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS,
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | * See the License for the specific language governing permissions and
14 | * limitations under the License.
15 | */
16 | module.exports = {
17 | RECEIVED: "received",
18 | OUTGOING: "outgoing",
19 | MISSED: "missed"
20 | };
21 |
--------------------------------------------------------------------------------
/lib/ripple/platform/wac/1.0/EventRecurrenceTypes.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2011 Research In Motion Limited.
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS,
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | * See the License for the specific language governing permissions and
14 | * limitations under the License.
15 | */
16 | module.exports = {
17 | NOT_REPEAT: "NOT_REPEAT",
18 | DAILY: "DAILY",
19 | EVERY_WEEKDAY: "EVERY_WEEKDAY",
20 | WEEKLY_ON_DAY: "WEEKLY_ON_DAY",
21 | MONTHLY_ON_DAY: "MONTHLY_ON_DAY",
22 | MONTHLY_ON_DAY_COUNT: "MONTHLY_ON_DAY_COUNT",
23 | YEARLY: "YEARLY"
24 | };
25 |
--------------------------------------------------------------------------------
/lib/ripple/platform/wac/1.0/Exception.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2011 Research In Motion Limited.
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS,
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | * See the License for the specific language governing permissions and
14 | * limitations under the License.
15 | */
16 | module.exports = function () {
17 | this.message = "";
18 | this.type = "";
19 |
20 | this.toString = function () {
21 | var result = this.type + ': "' + this.message + '"';
22 |
23 | if (this.stack) {
24 | result += "\n" + this.stack;
25 | }
26 | return result;
27 | };
28 | };
29 |
--------------------------------------------------------------------------------
/lib/ripple/platform/wac/1.0/ExceptionTypes.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2011 Research In Motion Limited.
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS,
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | * See the License for the specific language governing permissions and
14 | * limitations under the License.
15 | */
16 | var _self = {};
17 |
18 | _self.__defineGetter__("INVALID_PARAMETER", function () {
19 | return "invalid_parameter";
20 | });
21 |
22 | _self.__defineGetter__("SECURITY", function () {
23 | return "security";
24 | });
25 |
26 | _self.__defineGetter__("UNKNOWN", function () {
27 | return "unknown";
28 | });
29 |
30 | _self.__defineGetter__("UNSUPPORTED", function () {
31 | return "unsupported";
32 | });
33 |
34 | module.exports = _self;
35 |
--------------------------------------------------------------------------------
/lib/ripple/platform/wac/1.0/File.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2011 Research In Motion Limited.
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS,
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | * See the License for the specific language governing permissions and
14 | * limitations under the License.
15 | */
16 | module.expots = function () {
17 | this.createDate = undefined;
18 | this.fileName = undefined;
19 | this.filePath = undefined;
20 | this.fileSize = undefined;
21 | this.isDirectory = undefined;
22 | this.lastModifyDate = undefined;
23 | };
24 |
--------------------------------------------------------------------------------
/lib/ripple/platform/wac/1.0/MessageFolderTypes.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2011 Research In Motion Limited.
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS,
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | * See the License for the specific language governing permissions and
14 | * limitations under the License.
15 | */
16 | module.exports = {
17 | DRAFTS: "drafts",
18 | INBOX: "inbox",
19 | OUTBOX: "outbox",
20 | SENTBOX: "sentbox"
21 | };
22 |
--------------------------------------------------------------------------------
/lib/ripple/platform/wac/1.0/MessageQuantities.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2011 Research In Motion Limited.
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS,
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | * See the License for the specific language governing permissions and
14 | * limitations under the License.
15 | */
16 | module.exports = {
17 | totalMessageCnt: undefined,
18 | totalMessageReadCnt: undefined,
19 | totalMessageUnreadCnt: undefined
20 | };
21 |
--------------------------------------------------------------------------------
/lib/ripple/platform/wac/1.0/MessageTypes.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2011 Research In Motion Limited.
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS,
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | * See the License for the specific language governing permissions and
14 | * limitations under the License.
15 | */
16 | module.exports = {
17 | EmailMessage: "email",
18 | MMSMessage: "mms",
19 | SMSMessage: "sms"
20 | };
21 |
--------------------------------------------------------------------------------
/lib/ripple/platform/wac/1.0/RadioSignalSourceTypes.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2011 Research In Motion Limited.
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS,
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | * See the License for the specific language governing permissions and
14 | * limitations under the License.
15 | */
16 | var _self,
17 | utils = require('ripple/utils');
18 |
19 | _self = {
20 | "CDMA": undefined,
21 | "GSM": undefined,
22 | "LTE": undefined,
23 | "TDSCDMA": undefined,
24 | "WCDMA": undefined
25 | };
26 |
27 | utils.forEach(_self, function (value, property) {
28 | _self.__defineGetter__(property, function () {
29 | return property;
30 | });
31 | });
32 |
33 | module.exports = _self;
34 |
--------------------------------------------------------------------------------
/lib/ripple/platform/wac/1.0/WidgetManager.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2011 Research In Motion Limited.
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS,
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | * See the License for the specific language governing permissions and
14 | * limitations under the License.
15 | */
16 | var exception = require('ripple/exception'),
17 | ExceptionTypes = require('ripple/platform/wac/1.0/ExceptionTypes'),
18 | Exception = require('ripple/platform/wac/1.0/Exception');
19 |
20 | module.exports = {
21 | // This method is used to check the installation status of a specific widget.
22 | checkWidgetInstallationStatus: function () {
23 |
24 | exception.raise(ExceptionTypes.UNSUPPORTED, "WidgetManager.checkWidgetInstallationStatus not supported", new Exception());
25 | }
26 | };
27 |
--------------------------------------------------------------------------------
/lib/ripple/platform/wac/1.0/spec/ui.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2011 Research In Motion Limited.
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS,
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | * See the License for the specific language governing permissions and
14 | * limitations under the License.
15 | */
16 | module.exports = {
17 | plugins: [
18 | "accelerometer",
19 | //"deviceSettings",
20 | "fileSystem",
21 | "geoView",
22 | /*
23 | "multimedia",
24 | "audioPlayer",
25 | "telephony",
26 | */
27 | "platformEvents",
28 | "storage",
29 | "widgetConfig"
30 | ]
31 | };
32 |
--------------------------------------------------------------------------------
/lib/ripple/platform/wac/2.0/AUTHORS:
--------------------------------------------------------------------------------
1 | [
2 | {
3 | name : Haitao Feng
4 | email : haitao.feng@intel.com
5 | task : accelerometer, orientation, filesystem
6 | },
7 | {
8 | name : Jason Hu
9 | email : jia-cheng.hu@intel.com
10 | task : deviceapis, camera, pim.calendar
11 | },
12 | {
13 | name : Wenchao Wang
14 | email : wenchao.wang@intel.com
15 | task : geolocation, messaging, pim.contact
16 | },
17 | {
18 | name : Hongbo Liu
19 | email : hongbo.liu@intel.com
20 | task : deviceinteraction
21 | },
22 | {
23 | name : Ziv Chang
24 | email : ziv.chang@intel.com
25 | task : pim.task
26 | },
27 | {
28 | name : Franky Yang
29 | email : franky.yang@intel.com
30 | task : devicestatus
31 | },
32 | {
33 | name : Jun Tian
34 | email : jun.j.tian@intel.com
35 | task : device zooming in/out
36 | }
37 | ]
38 |
--------------------------------------------------------------------------------
/lib/ripple/platform/wac/2.0/pendingObject.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2011 Intel Corporation.
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS,
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | * See the License for the specific language governing permissions and
14 | * limitations under the License.
15 | */
16 |
17 | module.exports = function (pendingObj) {
18 | var cancelFlag = true;
19 | this.setCancelFlag = function (flag) {
20 | cancelFlag = flag;
21 | };
22 | this.getCancelFlag = function () {
23 | return cancelFlag;
24 | };
25 | this.userCancel = null;
26 | this.pendingID = null;
27 | };
28 |
--------------------------------------------------------------------------------
/lib/ripple/platform/wac/2.0/spec/ui.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2011 Intel Corporation.
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS,
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | * See the License for the specific language governing permissions and
14 | * limitations under the License.
15 | */
16 | module.exports = {
17 | plugins: [
18 | "accelerometer",
19 | "messaging",
20 | "geoView",
21 | "widgetConfig",
22 | "deviceSettings"
23 | ]
24 | };
25 |
--------------------------------------------------------------------------------
/lib/ripple/platform/web/default/device.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2011 Research In Motion Limited.
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS,
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | * See the License for the specific language governing permissions and
14 | * limitations under the License.
15 | */
16 | window.addEventListener("load", function () {
17 | var event = require('ripple/event');
18 |
19 | event.on("HardwareKey", function (key) {
20 | event.trigger("HardwareKeyDefault", [key]);
21 | });
22 |
23 | //HACK: Remove this guy from namespace since we are just hacking this in as a bootstrapper
24 | delete window.device;
25 | });
26 |
--------------------------------------------------------------------------------
/lib/ripple/platform/web/default/spec/ui.js:
--------------------------------------------------------------------------------
1 | module.exports = {
2 | plugins: [
3 | "accelerometer",
4 | "geoView"
5 | ]
6 | };
7 |
--------------------------------------------------------------------------------
/lib/ripple/platform/webworks.bb10/1.0.0/device.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2011 Research In Motion Limited.
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS,
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | * See the License for the specific language governing permissions and
14 | * limitations under the License.
15 | */
16 | var devices = require('ripple/devices'),
17 | _self = {};
18 |
19 | _self.__defineGetter__("softwareVersion", function () {
20 | return devices.getCurrentDevice().osVersion;
21 | });
22 |
23 | _self.__defineGetter__("hardwareId", function () {
24 | return devices.getCurrentDevice().hardwareId;
25 | });
26 | module.exports = _self;
27 |
--------------------------------------------------------------------------------
/lib/ripple/platform/webworks.bb10/1.0.0/identity.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2011 Research In Motion Limited.
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS,
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | * See the License for the specific language governing permissions and
14 | * limitations under the License.
15 | */
16 | var deviceSettings = require('ripple/deviceSettings'),
17 | _self = {};
18 |
19 | _self.__defineGetter__("uuid", function () {
20 | return deviceSettings.retrieve("identity.uuid");
21 | });
22 |
23 | module.exports = _self;
24 |
--------------------------------------------------------------------------------
/lib/ripple/platform/webworks.bb10/1.0.0/navigator.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2011 Research In Motion Limited.
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS,
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | * See the License for the specific language governing permissions and
14 | * limitations under the License.
15 | */
16 | var nav = require('ripple/platform/w3c/1.0/navigator'),
17 | utils = require('ripple/utils'),
18 | deviceSettings = require('ripple/deviceSettings'),
19 | _self = {};
20 |
21 | utils.mixin(nav, _self);
22 |
23 | _self.__defineGetter__("language", function () {
24 | return deviceSettings.retrieve("system.language");
25 | });
26 |
27 | module.exports = _self;
28 |
--------------------------------------------------------------------------------
/lib/ripple/platform/webworks.bb10/1.0.0/spec/events.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2011 Research In Motion Limited.
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS,
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | * See the License for the specific language governing permissions and
14 | * limitations under the License.
15 | */
16 | var _self,
17 | event = require('ripple/event');
18 |
19 | module.exports = {
20 | "blackberry.event.swipedown": {
21 | callback: function () {
22 | event.trigger("AppSwipeDown");
23 | }
24 | },
25 | "blackberry.event.resume": {
26 | callback: function () {
27 | event.trigger("AppResume");
28 | }
29 | },
30 | "blackberry.event.pause": {
31 | callback: function () {
32 | event.trigger("AppPause");
33 | }
34 | }
35 | };
36 |
--------------------------------------------------------------------------------
/lib/ripple/platform/webworks.bb10/1.0.0/spec/ui.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2011 Research In Motion Limited.
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS,
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | * See the License for the specific language governing permissions and
14 | * limitations under the License.
15 | */
16 | module.exports = {
17 | plugins: [
18 | "accelerometer",
19 | "deviceSettings",
20 | "geoView",
21 | "platformEvents",
22 | "widgetConfig",
23 | "build",
24 | "invoke"
25 | ]
26 | };
27 |
--------------------------------------------------------------------------------
/lib/ripple/platform/webworks.core/2.0.0/spec/events.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2011 Research In Motion Limited.
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS,
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | * See the License for the specific language governing permissions and
14 | * limitations under the License.
15 | */
16 | var event = require('ripple/event');
17 |
18 | module.exports = {
19 | "app.event.onBackground": {
20 | callback: function () {
21 | event.trigger("AppRequestBackground");
22 | }
23 | },
24 | "app.event.onForeground": {
25 | callback: function () {
26 | event.trigger("AppRequestForeground");
27 | }
28 | }
29 | };
30 |
--------------------------------------------------------------------------------
/lib/ripple/platform/webworks.handset/2.0.0/XMLHttpRequest.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2011 Research In Motion Limited.
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS,
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | * See the License for the specific language governing permissions and
14 | * limitations under the License.
15 | */
16 |
17 | var xhr = require("ripple/platform/webworks.core/2.0.0/XMLHttpRequest");
18 | module.exports = xhr.create("ripple/platform/webworks.handset/2.0.0/server");
19 |
--------------------------------------------------------------------------------
/lib/ripple/platform/webworks.handset/2.0.0/client/BrowserArguments.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2011 Research In Motion Limited.
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS,
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | * See the License for the specific language governing permissions and
14 | * limitations under the License.
15 | */
16 | //blackberry.invoke.BrowserArguments ( url : String , [transport : blackberry.identity.Transport ] )
17 | module.exports = function (url, transport) {
18 | return {
19 | url: url
20 | };
21 | };
22 |
--------------------------------------------------------------------------------
/lib/ripple/platform/webworks.handset/2.0.0/client/CameraArguments.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2011 Research In Motion Limited.
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS,
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | * See the License for the specific language governing permissions and
14 | * limitations under the License.
15 | */
16 | //blackberry.invoke.CameraArguments ( )
17 | var _self = function () {
18 | return {
19 | //readwrite property Number view
20 | view: 0
21 | };
22 | };
23 |
24 | //const Number VIEW_CAMERA = 0
25 | _self.__defineGetter__("VIEW_CAMERA", function () {
26 | return 0;
27 | });
28 | //const Number VIEW_RECORDER = 1
29 | _self.__defineGetter__("VIEW_RECORDER", function () {
30 | return 1;
31 | });
32 |
33 | module.exports = _self;
34 |
--------------------------------------------------------------------------------
/lib/ripple/platform/webworks.handset/2.0.0/client/JavaArguments.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2011 Research In Motion Limited.
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS,
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | * See the License for the specific language governing permissions and
14 | * limitations under the License.
15 | */
16 | //blackberry.invoke.JavaArguments ( uri : String , [params : String [ ] ] )
17 | var _self = function (uri, params) {
18 | return {
19 | uri: uri,
20 | params: params,
21 | args: arguments
22 | };
23 | };
24 |
25 | module.exports = _self;
26 |
--------------------------------------------------------------------------------
/lib/ripple/platform/webworks.handset/2.0.0/client/MapsArguments.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2011 Research In Motion Limited.
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS,
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | * See the License for the specific language governing permissions and
14 | * limitations under the License.
15 | */
16 | //blackberry.invoke.MapsArguments ( )
17 | //blackberry.invoke.MapsArguments ( latitude : Number , longitude : Number )
18 | //blackberry.invoke.MapsArguments ( locationDocument : Document ) - Supported in 5.0.0 only
19 | //blackberry.invoke.MapsArguments ( locationDocument : String ) - Supported in 6.0.0 only
20 | //blackberry.invoke.MapsArguments ( address : blackberry.pim.Address )
21 | var _self = function () {
22 | return {};
23 | };
24 |
25 | module.exports = _self;
26 |
--------------------------------------------------------------------------------
/lib/ripple/platform/webworks.handset/2.0.0/client/MemoArguments.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2011 Research In Motion Limited.
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS,
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | * See the License for the specific language governing permissions and
14 | * limitations under the License.
15 | */
16 | //blackberry.invoke.MemoArguments ( [memo : blackberry.pim.Memo ] )
17 | var _self = function (memo) {
18 | return {
19 | memo: memo,
20 | view: 0
21 | };
22 | };
23 |
24 | //const Number VIEW_NEW = 0
25 | _self.__defineGetter__("VIEW_NEW", function () {
26 | return 0;
27 | });
28 | //const Number VIEW_EDIT = 1
29 | _self.__defineGetter__("VIEW_EDIT", function () {
30 | return 1;
31 | });
32 |
33 | module.exports = _self;
34 |
--------------------------------------------------------------------------------
/lib/ripple/platform/webworks.handset/2.0.0/client/PhoneCall.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2011 Research In Motion Limited.
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS,
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | * See the License for the specific language governing permissions and
14 | * limitations under the License.
15 | */
16 | function PhoneCall(onhold) {
17 | return {
18 | //Boolean isOnHold ( )
19 | //readonly property Boolean outgoing
20 | //readonly property String recipientName
21 | //readonly property String recipientNumber
22 |
23 | outgoing: false,
24 | recipientName: null,
25 | recipientNumber: null,
26 |
27 | isOnHold: function () {
28 | return onhold;
29 | }
30 | };
31 | }
32 |
33 | module.exports = PhoneCall;
34 |
--------------------------------------------------------------------------------
/lib/ripple/platform/webworks.handset/2.0.0/client/SearchArguments.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2011 Research In Motion Limited.
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS,
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | * See the License for the specific language governing permissions and
14 | * limitations under the License.
15 | */
16 | //blackberry.invoke.SearchArguments ( )
17 | //blackberry.invoke.SearchArguments ( text : String , name : String )
18 | var _self = function (text, name) {
19 |
20 | return {
21 | text: text,
22 | name: name
23 | };
24 |
25 | };
26 |
27 | module.exports = _self;
28 |
--------------------------------------------------------------------------------
/lib/ripple/platform/webworks.handset/2.0.0/client/TaskArguments.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2011 Research In Motion Limited.
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS,
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | * See the License for the specific language governing permissions and
14 | * limitations under the License.
15 | */
16 | //blackberry.invoke.TaskArguments ( [task : blackberry.pim.Task ] )
17 | var _self = function (task) {
18 | return {
19 | view: 0,
20 | task: task
21 | };
22 | };
23 |
24 | //const Number VIEW_NEW = 0
25 | _self.__defineGetter__("VIEW_NEW", function () {
26 | return 0;
27 | });
28 | //const Number VIEW_EDIT = 1
29 | _self.__defineGetter__("VIEW_EDIT", function () {
30 | return 1;
31 | });
32 |
33 | module.exports = _self;
34 |
--------------------------------------------------------------------------------
/lib/ripple/platform/webworks.handset/2.0.0/client/audio.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2011 Research In Motion Limited.
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS,
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | * See the License for the specific language governing permissions and
14 | * limitations under the License.
15 | */
16 | module.exports = {
17 | supportedContentTypes: function (protocol) {
18 | return protocol === 'rtsp' ?
19 | ['audio/amr', 'audio/mp4', 'audio/aac'] :
20 | ['audio/midi', 'mpeg', 'x-wav', 'amr', 'basic', 'x-gsm', 'mp4', 'aac', 'x-ms-wma', 'flac', 'ogg'];
21 | },
22 | supportedProtocols: function (contentType) {
23 | return ['http', 'file', 'rtsp'];
24 | }
25 | };
26 |
--------------------------------------------------------------------------------
/lib/ripple/platform/webworks.handset/2.0.0/client/blackberry.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2011 Research In Motion Limited.
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS,
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | * See the License for the specific language governing permissions and
14 | * limitations under the License.
15 | */
16 | var blackberry = {},
17 | transport = require('ripple/platform/webworks.core/2.0.0/client/transport');
18 |
19 | blackberry.__defineGetter__("network", function () {
20 | return transport.call("blackberry/system/network");
21 | });
22 |
23 | module.exports = blackberry;
24 |
--------------------------------------------------------------------------------
/lib/ripple/platform/webworks.handset/2.0.0/client/identity/Service.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2011 Research In Motion Limited.
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS,
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | * See the License for the specific language governing permissions and
14 | * limitations under the License.
15 | */
16 | function Service() {
17 | return {
18 | emailAddress: null,
19 | isDefault: null,
20 | name: null,
21 | type: null
22 | };
23 | }
24 |
25 | Service.__defineGetter__("TYPE_EMAIL", function () {
26 | return 0;
27 | });
28 |
29 | Service.__defineGetter__("TYPE_CALENDAR", function () {
30 | return 1;
31 | });
32 |
33 | Service.__defineGetter__("TYPE_CONTACT", function () {
34 | return 2;
35 | });
36 |
37 | module.exports = Service;
38 |
--------------------------------------------------------------------------------
/lib/ripple/platform/webworks.handset/2.0.0/client/identity/Transport.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2011 Research In Motion Limited.
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS,
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | * See the License for the specific language governing permissions and
14 | * limitations under the License.
15 | */
16 | function Transport(name, type) {
17 | this.__defineGetter__("name", function () {
18 | return name || "";
19 | });
20 | this.__defineGetter__("type", function () {
21 | return type || "";
22 | });
23 | }
24 |
25 | module.exports = Transport;
26 |
--------------------------------------------------------------------------------
/lib/ripple/platform/webworks.handset/2.0.0/client/messaging.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2011 Research In Motion Limited.
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS,
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | * See the License for the specific language governing permissions and
14 | * limitations under the License.
15 | */
16 | module.exports = {};
17 |
--------------------------------------------------------------------------------
/lib/ripple/platform/webworks.handset/2.0.0/client/pim.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2011 Research In Motion Limited.
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS,
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | * See the License for the specific language governing permissions and
14 | * limitations under the License.
15 | */
16 | module.exports = {};
17 |
--------------------------------------------------------------------------------
/lib/ripple/platform/webworks.handset/2.0.0/spec/ui.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2011 Research In Motion Limited.
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS,
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | * See the License for the specific language governing permissions and
14 | * limitations under the License.
15 | */
16 | module.exports = {
17 | plugins: [
18 | "accelerometer",
19 | "deviceSettings",
20 | "geoView",
21 | "platformEvents",
22 | "widgetConfig",
23 | "messaging",
24 | "push",
25 | "phone",
26 | "build"
27 | ]
28 | };
29 |
--------------------------------------------------------------------------------
/lib/ripple/platform/webworks.tablet/2.0.0/XMLHttpRequest.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2011 Research In Motion Limited.
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS,
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | * See the License for the specific language governing permissions and
14 | * limitations under the License.
15 | */
16 |
17 | var xhr = require("ripple/platform/webworks.core/2.0.0/XMLHttpRequest");
18 | module.exports = xhr.create("ripple/platform/webworks.tablet/2.0.0/server");
19 |
--------------------------------------------------------------------------------
/lib/ripple/platform/webworks.tablet/2.0.0/client/BrowserArguments.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2011 Research In Motion Limited.
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS,
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | * See the License for the specific language governing permissions and
14 | * limitations under the License.
15 | */
16 | //blackberry.invoke.BrowserArguments ( url : String , [transport : blackberry.identity.Transport ] )
17 | module.exports = function (url, transport) {
18 | return {
19 | url: url
20 | };
21 | };
22 |
--------------------------------------------------------------------------------
/lib/ripple/platform/webworks.tablet/2.0.0/client/CameraArguments.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2011 Research In Motion Limited.
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS,
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | * See the License for the specific language governing permissions and
14 | * limitations under the License.
15 | */
16 | //blackberry.invoke.CameraArguments ( )
17 | var _self = function () {
18 | return {
19 | //readwrite property Number view
20 | view: 0
21 | };
22 | };
23 |
24 | //const Number VIEW_CAMERA = 0
25 | _self.__defineGetter__("VIEW_CAMERA", function () {
26 | return 0;
27 | });
28 | //const Number VIEW_RECORDER = 1
29 | _self.__defineGetter__("VIEW_RECORDER", function () {
30 | return 1;
31 | });
32 |
33 | module.exports = _self;
34 |
--------------------------------------------------------------------------------
/lib/ripple/platform/webworks.tablet/2.0.0/client/identity.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2011 Research In Motion Limited.
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS,
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | * See the License for the specific language governing permissions and
14 | * limitations under the License.
15 | */
16 | var transport = require('ripple/platform/webworks.core/2.0.0/client/transport'),
17 | _uri = "blackberry/identity/",
18 | _self = {};
19 |
20 | _self.__defineGetter__("PIN", function () {
21 | return transport.call(_uri + "PIN");
22 | });
23 |
24 | module.exports = _self;
25 |
--------------------------------------------------------------------------------
/lib/ripple/platform/webworks.tablet/2.0.0/client/system.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2011 Research In Motion Limited.
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS,
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | * See the License for the specific language governing permissions and
14 | * limitations under the License.
15 | */
16 | var utils = require('ripple/utils'),
17 | transport = require('ripple/platform/webworks.core/2.0.0/client/transport'),
18 | system = require('ripple/platform/webworks.core/2.0.0/client/system'),
19 | _uri = "blackberry/system/";
20 |
21 | system.__defineGetter__("scriptApiVersion", function () {
22 | return transport.call(_uri + "softwareVersion");
23 | });
24 |
25 |
26 | module.exports = system;
27 |
--------------------------------------------------------------------------------
/lib/ripple/platform/webworks.tablet/2.0.0/server/identity.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2011 Research In Motion Limited.
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS,
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | * See the License for the specific language governing permissions and
14 | * limitations under the License.
15 | */
16 | var deviceSettings = require('ripple/deviceSettings');
17 |
18 | module.exports = {
19 | PIN: function () {
20 | return {code: 1, data: deviceSettings.retrieve("identity.PIN")};
21 | }
22 | };
23 |
--------------------------------------------------------------------------------
/lib/ripple/platform/webworks.tablet/2.0.0/spec/ui.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2011 Research In Motion Limited.
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS,
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | * See the License for the specific language governing permissions and
14 | * limitations under the License.
15 | */
16 | module.exports = {
17 | plugins: [
18 | "accelerometer",
19 | "deviceSettings",
20 | "geoView",
21 | "platformEvents",
22 | "widgetConfig",
23 | "build"
24 | ]
25 | };
26 |
--------------------------------------------------------------------------------
/lib/ripple/ui/plugins/about-dialog/dialog.html:
--------------------------------------------------------------------------------
1 |