I am looking at the samples, to use the Java API, and all I am seeing is samples running inside a Web App where Servlet Instance is needed in
Code: Select all
engine.getDeviceForRequest("some UA String");
Code: Select all
engine.getDeviceForRequest("some UA String");
Code: Select all
Device device = wurfl.getDeviceForRequest(user_agent);
System.out.println("Is Tablet: " + device.getCapability('is_tablet'));
Users browsing this forum: No registered users and 65 guests