junaio Manual E0204
1. Manual... 3 1.1. junaio AR... 3 1.1.1. junaio... 3 1.1.1.1.... 3 1.1.1.2.... 3... 4 Getting Started with PHP Package... 7... 9... 13.htaccess... 13 index.php... 14... 17 config.php... 17 Channel... 19 1.2. Location-based AR... 20 1.2.1.... 20... 20... 20 (search.php)... 21... 21... 21... 25 LLA... 38 LLA... 38 Channel Validate( )... 41 Channel... 44 1.3. GLUE(image-based) AR... 45 1.3.1.... 45... 45 Tracking XML ( )... 45... 47... 47,,, D... 50... 50 Channel Validate... 51 1
Channel... 51 2
1. Manual 1.1. junaio AR 1.1.1. junaio 1.1.1.1. Location-based AR ( AR ),GLUE(image-based) AR ( AR ).AR. 1.1.1.2... Getting Started with PHP Package.... Channel. 3
junaio HP,. Develop,. 1-1 junaio Login,. 1-2 junaio Develop 4
Free Developer Signup,. 1-3 junaio 5
( 1-4).. 1-4, API 1,. Show My API Key API ( 1-5).,Getting Started with PHP Package Docs,. 1-5 1 API (OS ).,. (IT BINARY http://e-words.jp/) 6
Getting Started with PHP Package Getting Started with PHP Package. Docs, Helper Libraries, ( 1-6). 1-6 Docs Helper Libraries, Getting Started with PHP Package,. 1-7 Helper Libraries 7
Getting Started with PHP Package ( 1-8),. 1-8 PHP Package 8
Readme.pdf. Readme.pdf ( 1-9).. *(+#''%&& ))) D#$;-,-.%/*0(0 123453!"#$! 6789589: '>,%-+*0(0 >,?$#$@ BC-#,;*'>#&&*0(0 $%&%#$'( A%-. ';-<= ';-<=*0(0 &$' &%#$'(*0(0 1-9 Readme.pdf 9
.., sudo -s. root. www maron. cd 1-10 1-10 10
, Getting Started with PHP Package.,,,.,. cd Getting Started with PHP Package ( Downloads ). ls, cp -r, config/ library/ src/ /var/research/., resarch config,library,src. cp, html/, cp index.php /var/www/maron.,., cd /var/research/. tree., resarch.. cd /var/www/maron/, tree., exit ( 1-11). 1-11 11
, ( 1-12).,. *(+#''%&& ))) D#$;-,-.%/*0(0 123453!"#$! 6789589: '>,%-+*0(0 >,?$#$@ BC-#,;*'>#&&*0(0 $%&%#$'( A%-. ';-<= ';-<=*0(0 &$' &%#$'(*0(0 1-12, 12
.htaccess 2 sudo -s..htaccess maron, cd /var/www/maron/., gedit,.htaccess ( 1-13). 1-13.htaccess Web. ( 1-14).,. 1-14.htaccess 2.htaccess Apache Web,Web. (IT BINARY http://e-words.jp/) 13
,.htaccess. ls -a., exit ( 1-15). 1-15 index.php. /var/www/maron/. gedit, index.php ( 1-16). 1-16 14
( 1-17). 1-17 index.php,8,9. require_once config.php junaio.class.php ( 1-18).( /var/research ) 1-18 ( 1-19). 1-19 15
index.php 40 45.. 47 include. search.php ( 1-20). 1-20 ( 1-21). 1-21 60?>,, index.php ( 1-22)., exit. 1-22 index.php 16
3., cd /var/research/library. ls,., ln -s, ZendFramework. Zend,., ls. Zend., exit, ( 1-23). 1-23 config.php. cd /var/research/config/. gedit, config.php ( 1-24). 1-24 3,. (IT BINARY http://e-words.jp/) 17
11 YOUR_API_KEY_HERE API ( 1-25). 1-25 API 12?>, ( 1-26). exit. 1-26 18
Channel Channel. junaio My Channels Create a New Channel ( 1-27). 1-27 junaio My Channels. Channel Type. Location Based Channel (Location-based AR ) junaio GLUE Channel (GLUE AR ). AR. Callback URL. URL., URL /?=path. Channel Visibility. public private. public, private. Create Channel ( 1-28). 1-28 Channel 19
1.2. Location-based AR 1.2.1. AR. Location-based AR... (search.php). LLA. Channel Validate,. Channel. Web Google Maps (V3 API) http://wisteriahill.sakura.ne.jp/gmap/gmap_altitude_ii/index.php Location-based AR,., Web Google Maps (V3API) ( 1-29). 1-29 Google Maps (V3API) 20
(search.php) junaio,. D.,.,,.., cd /var/research/src., gedit search.php ( 1-30). 1-30 21
( 1-31). 1-31 search.php 22
<poi id>. \ [poi_id:string]\ \ 1\.,. 1,2,3,. <interactionfeedback>. \ (none click)\ \ none\. <name>.,<![cdata[ ]]>.,. <description>.,<![cdata[ ]]>.,,, (),. <date>[~]</date> ( 1-32). 1-32 ( 1-33). 1-33 23
<l>. latitude= longitude= altitude=,.. <l>38.2,140.0,159.75</l>. <o>., 0. <o>0,0,0</o> ( 1-34). 1-34 ( 1-35). 1-35 <thumbnail>. maron.,<thumbnail> <thumbnail>http://~/maron/~.jpg</thum bnail>( = URL, = ).,, jpg, png,150 150.,.,,<icon>. <thumbnail>.,, jpg, png,40 40. 1-36. 1-37 24
( 1-38). 1-38 I.. ( 1-39). 1-39 25
,. <mime-type>.,<mime-type>text/plain</mime-type>. <mainresource>, URL, junaio URL. <mainresource>http://junaio.c om</mainresource> ( 1-40). 1-40.,, ( 1-41). 1-41,. exit. 26
II.. ( 1-42). 1-42 27
,. <mime-type>.,<mime-type> video/mp4</mime-type> <mime-type>video/quicktime</mime-type>. <mainresource>,. maron, <mainresource> http://~/maron/~.mp4 </mainresource>( = URL, = )., mp4 ( 1-43). 1-43.,, ( 1-44). 1-44,. exit. 28
III.. ( 1-45). 1-45 29
,. <mime-type>.,<mime-type>audio/mp3</mime-type>. <mainresource>,. maron, <mainresource> http://~/maron/~.mp3 </mainresource>( = URL, = )., mp3 ( 1-46). 1-46.,, ( 1-47). 1-47,. exit. 30
IV. 3..,. <mime-type>. 3,<mime-type>model/md2</mime-type>. <mainresource>, 3. maron, <mainresource> http://~/maron/~.md2_en c</mainresource>( = URL, =3 )., md2.,3,<resource>.,<resource>http://~/maron/~.png</resource>( = URL, =3 ). <s>,3d. 1. <s>1</s> ( 1-48). 1-48.,, ( 1-49). 1-49,. exit. 31
V..,.. 1,.,<mime-type>,<mainresource>(<resource>). <homepage> URL ( 1-50). 1-50 Web <homepage>http://~</homepage>., Web. ( 1-51). 1-51 32
<route>. GoogleMap, GoogleMapApp., GoogleMapApp, ( 1-52). 1-52 GoogleMap ( 1-53).,. 33
1-53 GoogleMap,<route>true</route>. ( 1-54). 1-54,, ( 1-55). 34
1-55,. exit. 35
作成方法 2 カスタマイズすることで,タグをタップするだけで動画等の情報を表示することができ る. 以下の図は通常時のタグを選択したときに移行する画面の様子である.タグを選択し,詳 細が表示され,コンテンツを選ぶことで Web ページが開かれる(図 1-56). 図 1-56 通 常 時 の タ グ を 選 択 し た 時 の 画 面 の 様 子 一方で,下図はカスタマイズ時のタグを選択したときに移行する画面の様子である.タグ を選択した時点で Web ページが開かれる(図 1-57). 図 1-57 カ ス タ マ イ ズ 時 の タ グ を 選 択 し た 時 の 様 子 36
, ( 1-58). 1-58 <name>, homepage. <type>. (video), (sound),web (url) 3. <node_id> click. On TargetDetect. <value>. url, URL. ( 1-59). 1-59,. exit. 37
LLA LLA junaio, Tools, LLA Marker Creator ( 1-60). 1-60 junaio Tools LLAMarkerCreator.,LLA.,. ( 1-61). 1-61 LLA 38
, Go. ( 1-62). 1-62, ( 1-63).,. 1-63 Marker Name, Create Marker for this position ( 1-64). 1-64 39
,., ( 1-65). 1-65 ( 1-66). 1-66 40
Channel Validate( ). junaio, My Channels. Validate, ( 1-67). 1-67 41
Test1~Test8.Test,,,.,Test4,8., Test ( 1-68)( 1-69). 1-68 42
1-69 43
Channel, Channel., Submit ( 1-70). 2~3,Channel., test/ validate Clear ( Warning.) icon/thumbnail ChannelVisibility public. 1-70 Channel 44
1.3. GLUE(image-based) AR 1.3.1. GLUE(image-based)AR.. TrackingXML. (search.php). Cannel Validate,. Channel Tracking XML ( ) Tracking XML( ) junaio, Tools, Tracking File Creator ( 1-71). 1-71 45
., Tracking XML( ) ( 1-72). 1-72, How many patterns do you want to generate?, Please choose image ( 1-73). 1-73 46
,, Tracking XML,, Create Tracking XML ( 1-74).,, png, gif, ppm, pgm. maron, 1, png Tracking XML. 1-74 Location-based AR,.., cd /var/research/src., gedit search.php. 1-75 47
( 1-76). 1-76 search.php 48
<results>., Tracking XML. maron. <results trackingurl=\ http://~/maron/tracking. xml_enc\ >(~= ).,. <poi id>,<interactionfeedback>,<name>,<description>,<date> Location-based AR ( 1-77). 1-77 ( 1-78). 1-78,<l> <l>0,0,0</l>. <o> <o>0,0,0</o> ( 1-79). 1-79 ( 1-80). 1-80 <thumbnail>,<icon> ( 1-81). 1-81 49
( 1-82). 1-82 ( 1-83). 1-83,,, D Location-based AR. Location-based AR <homepage>,<route>,.,,,.,. 50
, ( 1-84). 1-84 <name>. <type>. (video), Web (url) 2. <node_id> On TargetDetect. click. <value>. url, URL. ( 1-85). 1-85 Channel Validate Location-based AR. Channel Location-based AR. 51