Search found 38 matches

by fulvio.crivellaro
Mon Jun 24, 2013 3:55 am
Forum: ScientiaMobile WURFL Cloud Service
Topic: What is the default timeout on the client?
Replies: 5
Views: 11078

Re: What is the default timeout on the client?

Hello Clement, in case of service unreachable, a com.scientiamobile.wurflcloud.exc.UnreachableServerException is thrown. It is a RuntimeException , hence you are not forced to catch it. The way it is supposed to be handled is: try { AbstractDevice device = manager.getDeviceFromRequest(request, respo...
by fulvio.crivellaro
Mon Feb 25, 2013 3:25 am
Forum: Java API
Topic: How to use high accuracy mode without spring beans?
Replies: 3
Views: 11722

Re: How to use high accuracy mode without spring beans?

Hello, actually if you want to configure it without Spring, and without doing it programmatically, you can also modify the config file. It is located inside the lib, under the META-INF folder, and it is named wurfl-config.xml. In the released version, at line 13, you can substitute <wurfl-api-config...
by fulvio.crivellaro
Fri Feb 15, 2013 4:37 am
Forum: Java API
Topic: Using the Java API outside a servlet
Replies: 2
Views: 10141

Re: Using the Java API outside a servlet

Would one only need to use the GeneralWURFLEngine for this? Of course. The method public Device GeneralWURFLEngine.getDeviceForRequest(HttpServletRequest request) does everything, taking as the only parameter the HttpServletRequest you get from the HttpServlet.doGet and doPost methods. The servlet ...
by fulvio.crivellaro
Wed Nov 28, 2012 12:15 pm
Forum: Device Detection Issues
Topic: Keeping browser versions up to date
Replies: 10
Views: 138283

Re: Keeping browser versions up to date

Ok, I think I have understood what you aim to do, and I think I figured out why Spring complains about your configuration for what concerns the GeneralWURFLEngine.

I will try to implement a solution, and hopefully to provide it to you soon.

Regards,
Fulvio
by fulvio.crivellaro
Wed Nov 28, 2012 10:17 am
Forum: Device Detection Issues
Topic: Keeping browser versions up to date
Replies: 10
Views: 138283

Re: Keeping browser versions up to date

Hello Rafal, the wurfl-config.xml file is placed in the META-INF folder, inside the jar file of the library. Otherwise, you can set it programmatically; assuming you get the GeneralWURFLEngine instance from Spring called engine, you should call: engine.getWURFLManager().setEngineTarget(EngineTarget....
by fulvio.crivellaro
Wed Nov 28, 2012 4:18 am
Forum: Java API
Topic: WURFL logging problem
Replies: 5
Views: 42431

Re: WURFL logging problem

I took some time to extract the core of the solution, consisting in two files: the xml configuration file of logback and a Java class extending Filter<ILoggingEvent>. The former declares the Filter class to use, the latter decides whether the log should be displayed or not, depending on the package ...
by fulvio.crivellaro
Fri Aug 10, 2012 3:41 am
Forum: Java API
Topic: Turn Off Logging Messages
Replies: 1
Views: 9209

Re: Turn Off Logging Messages

Hello KenAdams. WURFL logs by default with Logback, so you can easily configure it to prevent core library to write on your console. If you are not familiar with it, anyway, this could be quite annoying, so if you write me in private, I can send you a simple example you can simply copy configuration...
by fulvio.crivellaro
Tue Mar 27, 2012 10:14 am
Forum: Java API
Topic: Java API configuration with web.xml
Replies: 9
Views: 18137

Re: Java API configuration with web.xml

Hi David. I answer inline, except for the fact that I forgot to paste the URL I was talking about in my previous post... Sorry for that! Here it is: http://tomcat.apache.org/tomcat-5.5-doc/jndi-resources-howto.html >Hi Fulvio, >Thanks again for the quick and detailed response. Looking forward to 1.4...
by fulvio.crivellaro
Tue Mar 27, 2012 9:21 am
Forum: Java API
Topic: Java API configuration with web.xml
Replies: 9
Views: 18137

Re: Java API configuration with web.xml

Hi David. We are about to deliver release 1.4 of our Java API, hopefully within this week. This new release will support absolute paths for sure. Anyway, according to your detailed question, you don't need such a feature, but you are asking for a shared wurfl <INSTANCE>, not <FILE>. We plan to devel...
by fulvio.crivellaro
Mon Mar 26, 2012 10:19 am
Forum: Device Detection Issues
Topic: Web browsers detected as mobile devices
Replies: 17
Views: 21660

Re: Web browsers detected as mobile devices

I apologize for my mistake: the issue will be solved with the next release, since it is not available for download yet.

FC
by fulvio.crivellaro
Mon Mar 26, 2012 9:15 am
Forum: Device Detection Issues
Topic: Web browsers detected as mobile devices
Replies: 17
Views: 21660

Re: Web browsers detected as mobile devices

The problem has been solved with the latest wurfl.xml file.
Can you try to download it, and tell us if the result is correct?

Fulvio
by fulvio.crivellaro
Mon Mar 26, 2012 6:12 am
Forum: Device Detection Issues
Topic: Web browsers detected as mobile devices
Replies: 17
Views: 21660

Re: Web browsers detected as mobile devices

We are checking for the solution.
We will inform you about it as soon as possible.

Fulvio
by fulvio.crivellaro
Mon Mar 26, 2012 2:41 am
Forum: Java API
Topic: WURFL and Spring DispatcherServlet issue
Replies: 3
Views: 10876

Re: WURFL and Spring DispatcherServlet issue

Hello. Does this happen with ANY user agent, or maybe you have tried a particular one? If yes, please provide us the UA so that it could be a good starting point to find the problem. Otherwise, if this exception always happens when you first call "getDeviceFromRequest" method, it is probably generat...
by fulvio.crivellaro
Thu Mar 22, 2012 4:15 am
Forum: Java API
Topic: Java API configuration with web.xml
Replies: 9
Views: 18137

Re: Java API configuration with web.xml

Hello David. You can share your wurfl and patch files by simply specifying absolute paths in the web.xml file. Of course, even if it is not your case, it works pretty much the same for Spring *.ctx context files. So, for example, on a Windows machine you could write something like: <param-value><DRI...
by fulvio.crivellaro
Wed Feb 29, 2012 6:21 am
Forum: Device Detection Issues
Topic: Boost (Samsung) SPH-M930
Replies: 2
Views: 5552

Re: Boost (Samsung) SPH-M930

Hi.
Can you please tell us the WURFL platform/version you are using, as well as the database?

Fulvio
by fulvio.crivellaro
Wed Feb 22, 2012 5:05 am
Forum: Device Detection Issues
Topic: Having Problem with Samsung Focus (i917) and WP7.5/IE9
Replies: 1
Views: 4753

Re: Having Problem with Samsung Focus (i917) and WP7.5/IE9

Hello Christian.
Can you please indicate us the WURFL version you are using?

Regards,
Fulvio
by fulvio.crivellaro
Wed Feb 22, 2012 4:37 am
Forum: Java API
Topic: wurfl thread-safe usage
Replies: 3
Views: 9623

Re: wurfl thread-safe usage

Hello.
Yes, code is of course Thread safe!

Fulvio
by fulvio.crivellaro
Fri Feb 17, 2012 1:42 pm
Forum: Device Detection Issues
Topic: Chrome browser being incorrectly classified as Logitech Revu
Replies: 7
Views: 13257

Re: Chrome browser being incorrectly classified as Logitech

Hi. Here is the new Spring configuration for your WurflManager bean: <bean id="WurflManager" class="com.scientiamobile.reloader.DefaultReloadableWURFLEngine" scope="singleton"> <constructor-arg index="0" value="<<put your path to wurfl.xml here>>"/> <constructor-arg index="1" value="<<put your web_b...