Your Radio App
  • Welcome
  • Android Studio
    • Getting Started
    • Import Project
    • Generate google-services.json
    • Push Notification
    • Package Name
    • Server Connection
    • Ad Networks
    • AdMob GDPR (Legacy)
    • Funding Choices
    • Change Logo
    • Change Color
    • Change Text
    • Change Images
  • Admin Panel
    • Getting Started
    • Create Database
    • Import Database
    • Upload PHP Script's
    • Database Configuration
    • Related Video Tutorial
  • Publish the App
    • Release Version
    • Generate Signed Bundle / APK
  • Migrate from Older Version
    • v5.2.0 to v5.3.0
    • v5.1.0 to v5.2.0
    • v5.0.2 to v5.1.0
    • v5.0.1 to v5.0.2
    • v5.0.0 to v5.0.1
    • v4.x.x to v5.0.0
    • v3.x.x to v4.x.x
  • Changelog
  • Rating and Support
  • FAQ
Powered by GitBook
On this page

Was this helpful?

  1. Android Studio

Server Connection

PreviousPackage NameNextAd Networks

Last updated 3 years ago

Was this helpful?

When your admin panel already configured properly, you can connect it to your android app, login to your admin panel, navigate to settings menu, copy your Server Key and Rest API Key then put the keys to java/<your_package_name>/Config.java in the SERVER KEY & REST_API_KEY string tag for server connection and security purpose.

AppConfig.java
//your Server Key obtained from the admin panel
public static final String SERVER_KEY = "XXXXXXXXXXXXXXXXXXXXXXXXXXXXX";

//your Rest API Key obtained from the admin panel
public static final String REST_API_KEY = "xxxxxxxxxxxxxxxxxxx";