Class Index | File Index

Classes


Namespace Device


Defined in: device.js.

Namespace Summary
Constructor Attributes Constructor Name and Description
 
conatins device functionalities
Method Summary
Method Attributes Method Name and Description
<static>  
Device.display()
display the content of the local database.
<static>  
Device.notify(message)
show notification with new offers.
<static>  
Device.onReady()
called when the device be ready
Namespace Detail
Device
conatins device functionalities
Method Detail
<static> Device.display()
display the content of the local database.
Description
select records from myProduct table on the local database named main and display it on HTML elements

<static> Device.notify(message)
show notification with new offers.
1. notify at notification bar.
2. notify with sound for 1 second.
3. notify with vibration for 1.5 second.
this done using plugin for notifications download here
Parameters:
{String} message
message to view

<static> Device.onReady()
called when the device be ready

Documentation generated by JsDoc Toolkit 2.4.0 on Thu Jul 26 2012 13:05:45 GMT+0200 (GMT+02:00)