Steve,
Do you have any plans to integrate the WURFL Customizer into a web app? Am thinking it would be great if I could set a client up with Tera-WURFL and they just do a single click to perform device updates.
UPDATE: Have just read about your Remove Webservice component at
http://www.tera-wurfl.com/wiki/index.ph ... Webservice . Just the job! So all I'd need to do for any client is just upload the TeraWurflRemoteClient.php file and create a custom php file based on...
- Code: Select all
require_once('../TeraWurflRemoteClient.php');
$wurflObj = new TeraWurflRemoteClient('http://localhost/Tera-Wurfl/webservice.php');
// The groups or capabilities you want to use
$capabilities = array("is_wireless_device|brand_name|model_name|playback|tera_wurfl");
$wurflObj->getCapabilitiesFromAgent(TeraWurflRemoteClient::getUserAgent(),$capabilities);
echo "You are on a {$wurflObj->getDeviceCapability('brand_name')} {$wurflObj->getDeviceCapability('model_name')}<br/>";
$text = $wurflObj->getDeviceCapability('is_wireless_device')? "This device is wireless": "This device is a desktop web browser";
echo $text;
...?!
Cheers,
James