SDKs for Android / Get started
  Back to Docs

SDKs for Android

Get started

Demo

The Sample App demonstrates the integration capabilities and functions of SDKs. Use it as an example.

For the demo, we use a preset project in Publisher Account and a fully-configured in-game store. When you launch the application, the sign-up/login page is displayed. Sign up or log in with a demo account. To log in with a demo account, click More login options and select Login as a demo.

Note
The demo works in sandbox mode by default. To test the purchase process, use test cards. Sandbox mode only simulates the behavior of a payment method — no real money is involved. You can try out sandbox mode without signing any agreements with Xsolla or paying any fees.

Integration flow

To integrate the Inventory library:
  1. Download and install Android Studio.
  2. Create a new project for the source code of your application.
  3. Set up the project in your Publisher Account.
  4. Implement user authorization in your application.
  5. Implement the logic of showing the item catalog using the Store library or IGS & BB API.
  6. Implement the purchasing logic using the Payments library.
  7. Install and initialize the library.
  8. Implement the logic of showing purchases in the user inventory using SDK methods.
Contact our integration team
Click the chat icon in the bottom right corner and contact the integration team via a messenger. We’ll answer you in real time and will help to resolve the problem.
Note
This guide describes the minimum settings required to quick-start the module. For any questions, contact your Customer Success Manager or email at integration@xsolla.com.
Your progress
Thank you for your feedback!
Last updated: October 10, 2023

Found a typo or other text error? Select the text and press Ctrl+Enter.

Report a problem
We always review our content. Your feedback helps us improve it.
Provide an email so we can follow up
Thank you for your feedback!