SubhanWebsite To APKGuide

WebToApk Guide


Setup Compiling Adding YOUR html content Customisation

Customisation

App name

1: Open (app/src/main/res/values/strings.xml)

Find the line: <string name="app_name">My HTML App</string>

Change "My HTML App" to your desired name.

App Icon

1: Place your new image file (e.g., my_icon.png) in the app/src/main/res/drawable folder

2: Open app/src/main/AndroidManifest.xml.

3: Find the <application> tag

Update the android:icon and android:roundIcon attributes to match your file name:

android:icon="@drawable/my_icon"

android:roundIcon="@drawable/my_icon"

Package Name (Application ID)

This connects your app to the Play Store and identifies it uniquely.

Open app/build.gradle

Find the defaultConfig block.

Change the applicationId value:

applicationId "com.yourcompany.appname"

App Version

To update the version when releasing updates:

Open app/build.gradle.

  1. Open app/build.gradle.
  2. Inside defaultConfig:
    • versionCode: Integer that must increase with every release (e.g., 1, 2, 3...).
    • versionName: String visible to users (e.g., "1.0", "1.1", "2.0").

    versionCode 2

    versionName "1.1"

Apply Changes

Just like modifying html content you need to sync with gradle, you do the same when changing any of these values

Celebrate!