Page 1 of 1

Java code example?

PostPosted: Wed May 18, 2011 10:09 am
by jhodgski
I have Tera-WURFL installed, and can access it fine with PHP - which I use mainly for remote clients.

However, I'd like to access it using Java (from my same server/host that my Tera-WURFL setup is on). However, I couldn't find any Java/Tera-WURFL code examples. Could anyone help me out (Steve?!).

Thanks,
James

Re: Java code example?

PostPosted: Thu May 19, 2011 9:13 am
by kamermans
Hi James,

I don't have a Java remote client, but it should be easy to create a simple one based on the Remote Client examples on the site. In particular, ActionScript is a strongly-typed, C-style language like Java, so it should be a good starting point (plus it's only like 15 lines long): http://www.tera-wurfl.com/wiki/index.ph ... tionScript

You can check out the comments in webservice.php for more information on the URL Query String and XML/JSON Response.