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 Store 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. Set up a catalog.
  6. Install and initialize the library.
  7. Implement the logic of showing the item catalog and getting a payment token using SDK methods.
  8. Implement the purchasing logic using the Payments library.
  9. Implement the logic of showing purchases in the user inventory using the Inventory library (recommended), or IGS API.
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.
Was this article helpful?
Thank you!
Is there anything we can improve? Message
We’re sorry to hear that
Please explain why this article wasn’t helpful to you. Message
Thank you for your feedback!
We’ll review your message and use it to help us improve your experience.
Last updated: October 3, 2024

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!