Search found 294 matches

by sm_support2
Fri Jun 24, 2011 2:11 pm
Forum: WURFL XML Structure
Topic: WURFL has no capability for iPod touch version4!!!
Replies: 2
Views: 10932

WURFL has no capability for iPod touch version4!!!

Hi, I opened WURFL and found this: <device id="apple_ipod_touch_ver4_subua" user_agent="Mozilla/5.0 (iPod touch; U; CPU iPhone OS 4_0 like Mac OS X; HW iPod2,1; en_us) AppleWebKit/525.18.1 (KHTML, like Gecko)" fall_back="apple_ipod_touch_ver4"/> apparently WURFL does not record any capability for th...
by sm_support2
Fri Jun 24, 2011 2:04 pm
Forum: General API Questions
Topic: User-Agent Detection
Replies: 1
Views: 17247

Re: User-Agent Detection

> In a few examples, I have noticed the same device sending different user > agents which appear quite similar but are mapping to different devices using > the WURFL API: yes. It is not a bug. It's a feature. The value of the WURFL API is its attempt to avoid false positives, i.e. recognize a device...
by sm_support2
Fri Jun 24, 2011 2:03 pm
Forum: General API Questions
Topic: User-Agent Detection
Replies: 1
Views: 17247

User-Agent Detection

In a few examples, I have noticed the same device sending different user agents which appear quite similar but are mapping to different devices using the WURFL API: [1] NokiaX2-00/5.0 (p) Profile/MIDP-2.1 Configuration/CLDC-1.1 Mozilla/5.0 AppleWebKit/420 (KHTML, like Gecko) Safari/420 --> Maps to "...
by sm_support2
Fri Jun 24, 2011 1:51 pm
Forum: Java API
Topic: LoaderListener or Spring?
Replies: 1
Views: 6390

Re: LoaderListener or Spring?

It's better to use Spring. Not only is the Wurfl engine included in your Spring-based configuration, for backend communication (Database, persistence, statistics etc.) and front-end (Views and Presentation frameworks, like Struts2, WebWork, Tapestry, Spring MVC, Spring WebFlow, Stripes, JSF etc. etc...
by sm_support2
Fri Jun 24, 2011 1:46 pm
Forum: Java API
Topic: Where can I find a complete example of WURFL API
Replies: 1
Views: 6083

Re: Where can I find a complete example of WURFL API

We provide two maven archetypes, one for helloworld-classic, and one for helloworld-springmvc. http://sourceforge.net/projects/wurfl/files/WURFL%20Java%20API/ You can download an archetype, then: - extract the zip file (it will be a folder named 'helloworld-xxxxx-archetype'). - open a terminal/xterm...
by sm_support2
Fri Jun 24, 2011 1:41 pm
Forum: Java API
Topic: Where can I find a complete example of WURFL API
Replies: 1
Views: 6083

Where can I find a complete example of WURFL API

Hi, where can I find a complete example of WURFL API with all configuration files in place?
by sm_support2
Fri Jun 24, 2011 1:39 pm
Forum: Java API
Topic: Java API configuration with Spring
Replies: 1
Views: 6569

Re: Java API configuration with Spring

Starting with version 1.3 of the API, ScientiaMobile enabled a super-simple one-liner Spring config for the WURFL API which you can adopt as long as you stick to certain conventions about the name and the position of certain files. Write a simple XML Spring config file, such as (usual Spring namespa...
by sm_support2
Fri Jun 24, 2011 1:28 pm
Forum: Java API
Topic: Java API configuration with Spring
Replies: 1
Views: 6569

Java API configuration with Spring

What's the simplest and fastes way to configure the Java API with Spring?
by sm_support2
Fri Jun 24, 2011 1:26 pm
Forum: Java API
Topic: LoaderListener or Spring?
Replies: 1
Views: 6390

LoaderListener or Spring?

Is it better to use Wurfl's own LoaderListener or to use Spring to manage the Wurfl Engine?
by sm_support2
Fri Jun 24, 2011 1:25 pm
Forum: Java API
Topic: CapabilityLoader
Replies: 1
Views: 5345

Re: CapabilityLoader

CapabilityLoader mantains all the capabilities for a single device. The Wurfl API provides two implementations of CapabilityLoader : HierarchyCapabilityLoader and DefaultCapabilityLoader(the default). HierarchyCapabilityLoader is fast for single capability requests (device.capability(foo)), but not ...
by sm_support2
Fri Jun 24, 2011 1:21 pm
Forum: Java API
Topic: CapabilityLoader
Replies: 1
Views: 5345

CapabilityLoader

What's the function of CapabilityLoader?
by sm_support2
Fri Jun 24, 2011 12:16 pm
Forum: Java API
Topic: WURFL API Cache Provider
Replies: 1
Views: 6623

Re: WURFL API Cache Provider

The default Cache provider is LRUMapCacheProvider. It is synchronized upon a LRUMap (http://commons.apache.org/collections/apidocs/org/apache/commons/collections/map/LRUMap.html), so not particularly fast for multithreaded projects. HashMapCacheProvider has no eviction strategy. For optimal tuning a...
by sm_support2
Fri Jun 24, 2011 12:14 pm
Forum: Java API
Topic: WURFL API Cache Provider
Replies: 1
Views: 6623

WURFL API Cache Provider

What's the default cache provider for the Java API?
by sm_support2
Fri Jun 24, 2011 7:30 am
Forum: Java API
Topic: Java API and Maven
Replies: 1
Views: 44289

Java API and Maven

Hi

I have a maven project that utilizes the Wurfl Java API.
Are the artifacts anywhere to be found? where?