topical media & game development

talk show tell print

#mobile-ar-10-4.txt / txt



  <?php
  echo “<?xml version=\”1.0\” encoding=\”UTF-8\”?>
  
          <results>
                  <!-- A unique number for our POI, and settings for user interaction-->
                  <poi id=\”1\” interactionfeedback=\”none\”>
                          <!-- The name of our POI as will be seen in the camera window-->
                          <name><![CDATA[My First POI]]></name>
                          <!-- The description of the POI that will be shown when selected-->
                          <description><![CDATA[My first junaio POI]]></description>
                          <!-- The lat/lon of the POI-->
                          <!-- Use a location near you for testing -->
                          <l>51.5848,0.0886,0</l>
                          <!-- orientation of the POI bubble. (mainly used for 3D content)-->
                          <o>0,0,0</o>
                          <!-- The mime-type, for now we are using text-->
                          <mime-type>text/plain</mime-type>
                          <!-- The link to the image that will be shown in the camera window-->
                          <!-- Should not exceed 150x150px-->
                          <thumbnail>http://www.yourserver.com/logo.jpg>
                          <!-- The link to the image that will be shown in the map view -->
                          <!-- Shoudl not exceed 40x40px-->
                          <icon>http://www.yourserver.com/mappin.jpg>
                          <!-- second POI added here -->
                  </poi>
  
                  <!-- Notice the unique number -->
                  <poi id=\”2\” interactionfeedback=\”none\”>
                          <name><![CDATA[My Second POI]]></name>
                          <description><![CDATA[Yet another junaio POI]]></description>
                          <l>51.579527,0.088402,0</l>
                          <o>0,0,0</o>
                          <mime-type>text/plain</mime-type>
                          <!-- Using a different logo than before-->
                          <thumbnail>http://www.yourserver.com/logo2.jpg>
                          <!-- Using a different icon than before -->
                          <icon>http://www.yourserver.com/mappin2.jpg>
                  </poi>
          </results>”;
  ?>


(C) Æliens 04/09/2009

You may not copy or print any of this material without explicit permission of the author or the publisher. In case of other copyright issues, contact the author.