-
Notifications
You must be signed in to change notification settings - Fork 8
Examples
Each module of the SDK contains one or more sample projects that provide a pre-configured applications with API key and some sample data. The examples are a good way to quicky understand how the BVSDK works with real code.
-
Make sure that you open the project using Android Studio.
-
You will need an emulator with API version 15 or greater. For full functionality the emulator should have Google Play Services installed.
-
Provided are two build Flavors. One for internal testing which will hit the BV staging environment and the other for release which will hit the BV production environment. These can be found at
/app/src/internal/
and/app/src/production/
respectively. Within these Flavors you will findBvUserComponentImpl
andGoogleDFPComponentImpl
. You will need to edit these to include your API keys and other dependencies. These dependencies will be injected into the BVSDK and used to run the app. -
App is ready to be run.
The examples are located in their respective package within /app/src/main/java/com/example/bazaarvoice/bv_android_sdk:
Package | BV Module | Summary |
---|---|---|
ads | Advertising | The example shows how you can utilize the Bazaarvoice network to provide targeting advertising to your customers. |
conversations | Conversations | Covers all the baseline method calls and their responses. It’s a good way for developers see the all the requests and responses of the SDK out of the box. |
browseproducts | Conversations | Illustrates using the Bazaarvoice iOS SDK to query, browse and display ratings and reviews for products. |
recommendations | Recommendations | This examples show how you can get product recommendations for a user. |
© 2016 Bazaarvoice, Inc.
Use of this SDK is contingent on your agreement and conformance with Bazaarvoice's API Terms of Use. Additionally, you agree to store all data acquired by this SDK or Bazaarvoice’s API only within the storage of the individual application instance using the SDK or API. You also agree to use the data acquired by the SDK or API only within the context of the same individual application instance and only for purposes consistent with that application’s purpose. Except as otherwise noted, the Bazaarvoice iOS SDK licensed under the Apache License, Version 2.0.