You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/dataservice-read-catalog-example.md
+17-27Lines changed: 17 additions & 27 deletions
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ On this page, find instructions on how to build and run the read example project
6
6
7
7
1. On the [Apps & keys](https://platform.here.com/admin/apps) page, copy your application access key ID and access key secret.
8
8
9
-
For instructions on how to get the access key ID and access key secret, see [Register your application](https://developer.here.com/documentation/identity-access-management/dev_guide/topics/plat-token.html#step-1-register-your-application) section in the Identity & Access Management Developer Guide.
9
+
For instructions on how to get the access key ID and access key secret, see [Register your application](https://www.here.com/docs/bundle/identity-and-access-management-developer-guide/page/topics/plat-token.html#step-1-register-your-application-and-get-credentials) section in the Identity & Access Management Developer Guide.
10
10
11
11
2. In <ahref="https://github.com/heremaps/here-data-sdk-cpp/blob/master/examples/main.cpp"target="_blank">`examples/main.cpp`</a>, replace the placeholders with your access key ID, access key secret, and Here Resource Name (HRN) of the catalog.
12
12
@@ -64,22 +64,19 @@ After building and running the example project, you see the following informatio
64
64
65
65
To integrate the Data SDK libraries in the Android example project:
66
66
67
-
-[Set up prerequisites](#prerequisites-android)
68
-
-[Build the Data SDK](#build-sdk-android)
69
-
-[Build and run the APK](#build-and-run-android)
67
+
-[Set up prerequisites](#prerequisites-for-android)
68
+
-[Build the Data SDK](#build-the-data-sdk-on-android)
**Before you integrate the Data SDK libraries in the Android example project:**
71
+
### Prerequisites for Android
74
72
75
73
1. Set up the Android environment.
76
74
2. In <ahref="https://github.com/heremaps/here-data-sdk-cpp/blob/master/examples/android/app/src/main/cpp/MainActivityNative.cpp.in"target="_blank">`examples/android/app/src/main/cpp/MainActivityNative.cpp.in`</a>, replace the placeholders with your application access key ID, access key secret, and catalog HRN and specify that the example should run `RunExampleRead`.
77
75
78
-
For instructions on how to get the access key ID and access key secret, see [Register your application](https://developer.here.com/documentation/identity-access-management/dev_guide/topics/plat-token.html#step-1-register-your-application) section in the Identity & Access Management Developer Guide.
79
-
80
-
### <aname="build-sdk-android"></a>Build the Data SDK
76
+
> #### Note
77
+
> To learn how to get the access key ID and access key secret, see the [Register your application](https://www.here.com/docs/bundle/identity-and-access-management-developer-guide/page/topics/plat-token.html#step-1-register-your-application-and-get-credentials) section in the Identity & Access Management Developer Guide.
81
78
82
-
**To build the Data SDK on Android:**
79
+
### Build the Data SDK on Android
83
80
84
81
1. Set `OLP_SDK_BUILD_EXAMPLES` to `ON`.
85
82
2. (Optional) To disable tests, set `OLP_SDK_ENABLE_TESTING` to `OFF`.
@@ -101,9 +98,7 @@ To integrate the Data SDK libraries in the Android example project:
101
98
(sudo) make install
102
99
```
103
100
104
-
### <aname="build-and-run-android"></a>Build and run the APK
105
-
106
-
**To build and run the APK:**
101
+
### Build and run the APK
107
102
108
103
1. In the Android Studio IDE, open the <ahref="https://github.com/heremaps/here-data-sdk-cpp/blob/master/examples/android/build.gradle"target="_blank">`build/examples/android/build.gradle`</a> script.
109
104
2. Provide your application access key ID, access key secret, and catalog HRN.
@@ -115,13 +110,11 @@ The main screen displays the following message: "Example has finished successful
115
110
116
111
To integrate the Data SDK libraries in the iOS example project written in the Objective-C language:
117
112
118
-
-[Set up prerequisites](#prerequisites-ios)
119
-
-[Build the Data SDK](#build-sdk-ios)
120
-
-[Build and run the application](#build-and-run-ios)
113
+
-[Set up prerequisites](#prerequisites-for-ios)
114
+
-[Build the Data SDK](#build-the-data-sdk-on-ios)
115
+
-[Build and run the application](#build-and-run-the-application)
121
116
122
-
### <aname="prerequisites-ios"></a>Prerequisites
123
-
124
-
**Before you integrate the Data SDK libraries in the iOS example project:**
117
+
### Prerequisites for iOS
125
118
126
119
1. To set up the iOS development environment, install the Xcode and command-line tools.
127
120
2. Install external dependencies.
@@ -130,11 +123,10 @@ To integrate the Data SDK libraries in the iOS example project written in the Ob
130
123
131
124
3. In <ahref="https://github.com/heremaps/here-data-sdk-cpp/blob/master/examples/ios/ViewController.mm"target="_blank">`examples/ios/ViewController.mm`</a>, replace the placeholders with your application access key ID, access key secret, and catalog HRN and specify that the example should run `RunExampleRead`.
132
125
133
-
For instructions on how to get the access key ID and access key secret, see [Register your application](https://developer.here.com/documentation/identity-access-management/dev_guide/topics/plat-token.html#step-1-register-your-application) section in the Identity & Access Management Developer Guide.
134
-
135
-
### <aname="build-sdk-ios"></a>Build the Data SDK
126
+
> #### Note
127
+
> To learn how to get the access key ID and access key secret, see the [Register your application](https://www.here.com/docs/bundle/identity-and-access-management-developer-guide/page/topics/plat-token.html#step-1-register-your-application-and-get-credentials) section in the Identity & Access Management Developer Guide.
136
128
137
-
**To build the Data SDK on iOS:**
129
+
### Build the Data SDK on iOS
138
130
139
131
1. Set `OLP_SDK_BUILD_EXAMPLES` to `ON`.
140
132
2. (Optional) To disable tests, set `OLP_SDK_ENABLE_TESTING` to `OFF`.
**Before you integrate the Data SDK libraries in the Android example project:**
57
+
-[Set up prerequisites](#prerequisites-for-android)
58
+
-[Build the Data SDK](#build-the-data-sdk-on-android)
59
+
-[Build and run the APK](#build-and-run-the-apk)
60
+
61
+
### Prerequisites for Android
64
62
65
63
1. Set up the Android environment.
66
64
2. In <ahref="https://github.com/heremaps/here-data-sdk-cpp/blob/master/examples/android/app/src/main/cpp/MainActivityNative.cpp.in"target="_blank">`examples/android/app/src/main/cpp/MainActivityNative.cpp.in`</a>, replace the placeholders with your application access key ID, access key secret, catalog HRN, and layer name and specify that the example should run `RunExampleWrite`.
67
65
68
-
For instructions on how to get the access key ID and access key secret, see [Register your application](https://developer.here.com/documentation/identity-access-management/dev_guide/topics/plat-token.html#step-1-register-your-application) section in the Identity & Access Management Developer Guide.
66
+
> #### Note
67
+
> To learn how to get the access key ID and access key secret, see the [Register your application](https://www.here.com/docs/bundle/identity-and-access-management-developer-guide/page/topics/plat-token.html#step-1-register-your-application-and-get-credentials) section in the Identity & Access Management Developer Guide.
69
68
70
-
### <aname="build-sdk-android"></a>Build the Data SDK
71
69
72
-
**To build the Data SDK on Android:**
70
+
### Build the Data SDK on Android
73
71
74
72
1. Set `OLP_SDK_BUILD_EXAMPLES` to `ON`.
75
73
2. Specify the path to the Android NDK toolchain file using the `CMAKE_TOOLCHAIN_FILE` variable.
@@ -90,9 +88,7 @@ To integrate the Data SDK libraries in the Android example project:
90
88
(sudo) make install
91
89
```
92
90
93
-
### <aname="build-and-run-android"></a>Build and run the APK
94
-
95
-
**To build and run the APK:**
91
+
### Build and run the APK
96
92
97
93
1. In the Android Studio IDE, open the <ahref="https://github.com/heremaps/here-data-sdk-cpp/blob/master/examples/android/build.gradle"target="_blank">`build/examples/android/build.gradle`</a> script.
98
94
2. Provide your application access key ID, access key secret, catalog HRN, and layer name.
@@ -104,13 +100,11 @@ The main screen displays the following message: "Example has finished successful
104
100
105
101
To integrate the Data SDK libraries in the iOS example application written in the Objective-C language:
106
102
107
-
-[Set up prerequisites](#prerequisites-ios)
108
-
-[Build the Data SDK](#build-sdk-ios)
109
-
-[Build and run the Application](#build-and-run-ios)
110
-
111
-
### <aname="prerequisites-ios"></a>Prerequisites
103
+
-[Set up prerequisites](#prerequisites-for-ios)
104
+
-[Build the Data SDK](#build-the-data-sdk-on-ios)
105
+
-[Build and run the application](#build-and-run-the-application)
112
106
113
-
**Before you integrate the Data SDK libraries in the iOS example project:**
107
+
### Prerequisites for iOS
114
108
115
109
1. To set up the iOS development environment, install the Xcode and command-line tools.
116
110
2. Install external dependencies.
@@ -119,18 +113,17 @@ To integrate the Data SDK libraries in the iOS example application written in th
119
113
120
114
3. In <ahref="https://github.com/heremaps/here-data-sdk-cpp/blob/master/examples/ios/ViewController.mm"target="_blank">`examples/ios/ViewController.mm`</a>, replace the placeholders with your application access key ID, access key secret, catalog HRN, and layer name and specify that the example should run `RunExampleWrite`.
121
115
122
-
For instructions on how to get the access key ID and access key secret, see [Register your application](https://developer.here.com/documentation/identity-access-management/dev_guide/topics/plat-token.html#step-1-register-your-application) section in the Identity & Access Management Developer Guide.
123
-
116
+
> #### Note
117
+
> To learn how to get the access key ID and access key secret, see the [Register your application](https://www.here.com/docs/bundle/identity-and-access-management-developer-guide/page/topics/plat-token.html#step-1-register-your-application-and-get-credentials) section in the Identity & Access Management Developer Guide.
0 commit comments