DroidScript wiki

(was AndroidScript) unofficial documentation by the community

User Tools

Site Tools


built_in:is_tablet

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

built_in:is_tablet [2015/03/04 18:04] (current)
octazid created
Line 1: Line 1:
 +=====IsTablet=====
  
 +//​(Information and examples taken from the DroidScript documentation)//​
 +
 +====Description====
 +
 +The **IsTablet** method returns true if the app is running on a Tablet and false if not. 
 +
 +<​code>​ app.IsTablet();</​code>​
 +
 +----
 +
 +====Example====
 +
 +<code javascript>​
 +
 +function OnStart()
 +{
 +  tablet = app.IsTablet();​
 +  app.ShowPopup( tablet );
 +}
 +
 +</​code>​
built_in/is_tablet.txt ยท Last modified: 2015/03/04 18:04 by octazid