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.onReady()
called when the device be ready
<static>  
Device.playBeep()
play sound one time when inserting new offers
<static>  
Device.showAlert(message)
show notification with new offers
<static>  
Device.vibrate()
vibrate for 1.5 sec when inserting new offers
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.onReady()
called when the device be ready

<static> Device.playBeep()
play sound one time when inserting new offers

<static> Device.showAlert(message)
show notification with new offers
Parameters:
{String} message
message to view

<static> Device.vibrate()
vibrate for 1.5 sec when inserting new offers

Documentation generated by JsDoc Toolkit 2.4.0 on Tue Jul 24 2012 13:57:51 GMT+0200 (GMT+02:00)