diff --git a/docs/getting-started/troubleshooting.md b/docs/getting-started/troubleshooting.md old mode 100644 new mode 100755 index d3ad889f7a..f58b812098 --- a/docs/getting-started/troubleshooting.md +++ b/docs/getting-started/troubleshooting.md @@ -180,31 +180,3 @@ Here you see "intel-minnow" but common values are: More HAL can be found on Gerrit (search projects named as 4a-hal*) -## Installing the Map for the Navigation Application - -While the Navigation App is installed with all other demo Apps at first boot, the Maps required to be installed manually. - -### a) Method 1 on target download - - 1. Install the new image on the target - 2. boot a first time to install the demo Apps - 3. via ssh or serial connection, execute the script - * /usr/AGL/apps/download_mapdata_uk.sh\ - or - * /usr/AGL/apps/download_mapdata_jp.sh - -### b) At image creation - -Download on your build machine the desired maps and uncompress them on your target image before 1st boot. -This method is quicker and does not require to have the network enabled on the target device. -Map can be found here. - -* -* - -Once that you have built your image on the SD card, uncompress the desired map in on the SD card at the position /YourMountPoint/var/mapdata\ -(YourMountPoint will vary with your build system). - -You can also use the script from the image to install the Mapdata on your SD card but there is little adavange in using that method. e.g. - -* download_mapdata_jp.sh /YourMountPoint diff --git a/docs/ref-app/ref-apps.md b/docs/ref-app/ref-apps.md new file mode 100755 index 0000000000..304df8d846 --- /dev/null +++ b/docs/ref-app/ref-apps.md @@ -0,0 +1,66 @@ +# How to use the AGL reference application + +--- +## Navigation + +**Navigation app uses mapbox as a provider of map. You need to create an account on mapbox and get own access token.** + +Signup page : + +https://www.mapbox.com/signup/ + + +### How to set the access token + +**There are two ways to set the access token.** + +#### Set in build time + +Add your access token to localconf before building AGL. + +``` +MAPBOX_ACCESS_TOKEN = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" +``` + + +#### Set in run time + +When you did not configure localconf before building AGL, /etc/naviconfig.ini in target rootfs is as follows. + +``` +{ + "mapAccessToken":"Please set mapbox access token", + "speed":60, + "interval":100, + "latitude":36.1363, + "longitute":-115.151, + "mapStyleUrls":"mapbox://styles/mapbox/dark-v9" +} +``` + +Please set your access token to mapAccessToken. + +### How to use navigation + +Connect wifi or ether before launching navigation from homescreen. + + + + +--- + +## POI app + +**POI app uses yelp as a provider of poi. You need to create an developer account on yelp and get own appID.** + +yelp developer page : + +https://www.yelp.com/developers + +TBD. + + +--- + + +