Java code example?

Integrating Tera-WURFL in your applications.

Java code example?

Postby jhodgski » Wed May 18, 2011 10:09 am

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
jhodgski
 
Posts: 20
Joined: Wed Apr 06, 2011 11:42 am

Re: Java code example?

Postby kamermans » Thu May 19, 2011 9:13 am

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.
Thanks,

Steve Kamerman
Tera-WURFL Author
COO of ScientiaMobile

IMPORTANT ANNOUNCEMENT! Tera-WURFL and WURFL have joined forces! We have launched ScientiaMobile to provide commercial support for our device detection solutions.

Tera-WURFL.com | Device Explorer
kamermans
Site Admin
 
Posts: 323
Joined: Wed Mar 10, 2010 12:06 pm
Location: Fort Worth, TX


Return to Using Tera-WURFL

Who is online

Users browsing this forum: No registered users and 1 guest

cron