Skip to content

Setting up the basics

Sarsa Murmu edited this page May 13, 2023 · 4 revisions

1. Dashboard Configurations

Open app/src/main/res/values/dashboard_configurations.xml, there will be a lot of options to configure the dashboard. All options are documented in the XML file itself.

2. License Checker

NOTE: IF YOU DISABLE LICENSE CHECKER, JUST IGNORE THIS.

Open License.java inside licenses package.

  • private static final boolean ENABLE_LICENSE_CHECKER(true) Enable license checker. (false) Disable license checker.
  • private static final byte[] SALT → Random bytes. For easy way you can go to this site www.random.org
  1. Set generate 20 random strings.
  2. Each string should be 2 character long.
  3. Check numeric digit (0-9).
  4. Choose each string should be unique
  5. Get string

Here's an example

private static final byte[] SALT = new byte[] {
    66, 57, 94, 14, 05, 33, 22, 55, 10, 48, 90, 45, 40, 02, 36, 88, 76, 71, 86, 51
};
  • private static final String LICENSE_KEY → You can get your license key from Google Developer Console. Open Play Developer Console. Open your app. Go to Monetisation setup, you can find it in the sidebar. There you can find the license key, it looks something like MIIBIjANBgkqhki.....

Here's an example

private static final String LICENSE_KEY = "MIIBIjANBgkqhki.....";
  • private static final InAppBilling[] PREMIUM_REQUEST_PRODUCTS → Premium request InApp Product Id and Premium request count.
  • private static final InAppBilling[] DONATION_PRODUCT → Donation InApp Product Id.

More info about InApp-Purchase can be found here.

3. Icon Pack Related

Open dashboard_icon_pack.xml inside the values folder. It's not really necessary to setup this XML file, just delete this file if you want. I am not sure what this file does.

Icon Pack Name

  • app_name
  • theme_title
  • theme_name

Icon Pack Creator

  • theme_author
  • developer_name
  • developerName
  • authorName

Icon Pack Developer Website

  • authorLink
  • developer_link

Icon Pack Description

  • theme_description
  • theme_info
  • theme_ad_msg

Icon Pack Feature Image for Apex Launcher

  • theme_feature → Feature image name without extension.

Icon Pack Previews Image

  • theme_preview1 → Preview image name without extension.
  • theme_preview2 → Preview image name without extension.
Clone this wiki locally