...Run the setup file.
3. Import the code into your project or call the compiled executable as a process.
Visit http://51degrees.com/Support/Documentation/APIs/C.aspx to get the full setup guide.
The zip file contains a batch file for easy compilation. You will need Visual Studio 2010 (or greater) or GCC set up and configured on a Windows operating system in order to use this batch file. See the user guide linked to above for full instructions.
Mobile Device Detection for PHP - 4 Step Setup - 3 Minutes
...Step 3 - Then add the following code to your PHP page file:
include_once('path/to/51Degrees.php');
include_once('path/to/51Degrees.usage.php');
(It is recommended for performance purposes that these lines are included after a session_start();)
Step 4 - Get the details about the device that is accessing your site with code like this:
if ($_51d[‘IsMobile’] == TRUE)
{
//Start coding for a mobile device here.
}
Read the full user guide on our web site.
j2wap is a JAVA based WAP Browser, it is in BETA stages. It supports the WAP 1.2 spec, with the exception of WTLS and WBMP.
*** NOTE: You will need the kAWT library to run j2wap on the Palm, it's free and you can get it from www.kawt.de ***