External browser

There have been some changes in format for older versions of Locify. See documentation for Locify 0.8.1 and older.
If you plan support for versions older than 0.8.5, you need to detect client version and serve correct screen.

In Locify you can call phone's built in external browser and show there page which is too complex for Locify client. But don't use external browser too much, because user has to leave Locify client. On non-smartphones it is needed to close Locify entirely to see the external browser.

Format

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:locify="http://client.locify.com/locify_ns/1.0" xml:lang="en" lang="en">
  <head>
    <meta http-equiv="refresh" content="0;url=Url-to-be-called" />
    <locify:call url="locify://external/Url-to-be-called" />
    <title></title>
  </head>
  <body></body>
</html>

Parameters

  • Url-to-be-called - This URL will be opened in external browser. You can use variables in it.

Example

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:locify="http://client.locify.com/locify_ns/1.0" xml:lang="en" lang="en">
  <head>
    <meta http-equiv="refresh" content="0;url=http://maps.yahoo.com/print.php?ard=1&amp;mlt=$lat&amp;mln=$lon&amp;resize=s&amp;mag=2&amp;zoomin=yes&amp;ovx=200&amp;ovy=200&amp;ds=n" />
    <locify:call url="locify://external/http://maps.yahoo.com/print.php?ard=1&amp;mlt=$lat&amp;mln=$lon&amp;resize=s&amp;mag=2&amp;zoomin=yes&amp;ovx=200&amp;ovy=200&amp;ds=n" />
    <title></title>
  </head>
  <body></body>
</html>

How it looks like

External screenshot