Welcome, Guest
Username Password: Remember me

Device Capabilities
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: Device Capabilities

Device Capabilities 11 years, 9 months ago #10446

  • ctm
  • OFFLINE
  • Fresh Boarder
  • Posts: 17
  • Karma: 0
Can someone please indicate how we can get a device's capabilities on like a test page printed out using WURFL, to see what the device can do. (this is now after upgrading and installing the scientia plugin).

For example, what we are looking for is:
- the device's screen width
- does the device support ajax/javascript
- does the device have a qwerty keyboard

We want to use this to display different content to different phones.
Thanks

Re: Device Capabilities 11 years, 9 months ago #10691

I am also looking for the same thing, anyone know how to do this ?

Re: Device Capabilities 11 years, 9 months ago #10734

  • dryabov
  • OFFLINE
  • Administrator
  • Denis Ryabov, Lead Developer
  • Posts: 4866
  • Karma: 105
ctm wrote:
Can someone please indicate how we can get a device's capabilities on like a test page printed out using WURFL, to see what the device can do. (this is now after upgrading and installing the scientia plugin).

For example, what we are looking for is:
- the device's screen width
- does the device support ajax/javascript
- does the device have a qwerty keyboard

We want to use this to display different content to different phones.
Thanks


You can get mobile screen size using
 
$MobileJoomla_Device = MobileJoomla::getDevice();
$dev_width  = $MobileJoomla_Device['screenwidth'];
$dev_height = $MobileJoomla_Device['screenheight'];
 

Re: Device Capabilities 11 years, 9 months ago #10741

  • ctm
  • OFFLINE
  • Fresh Boarder
  • Posts: 17
  • Karma: 0
Cool thanks, and what would one use for javascript support ?

Re: Device Capabilities 11 years, 8 months ago #10972

  • ctm
  • OFFLINE
  • Fresh Boarder
  • Posts: 17
  • Karma: 0
Anyone know how to do this ? We want to get the device's capabilities.

Re: Device Capabilities 11 years, 7 months ago #11498

Do you have any idea, please, on how to get the full handset capabilities from Joomla's WURFL? Not just the screenwidth and height?
  • Page:
  • 1
Time to create page: 0.11 seconds

By continuing to use this site you consent to the use of cookies on your device as described in our cookie policy unless you have disabled them. This site will not function correctly without cookies.

I accept cookies from this site.