WELCOME UNIVERSE ROMs

lundi 4 novembre 2024

Convert url or html into android app (.apk)

 


Basic fields to fill

  1. Select right toggle option for either Website URL or Directory Path.
  2. Enter your URL or Choose your path.
  3. Enter app ID.
  4. Enter app Name.
  5. You can change default setting of target and compile SDK version upon which it might or might not use the bundled android SDK to create the apk version.
  6. The toggle to overwrite the variables.gradle file.
  7. Choose assets for the app (icons & splash screens).

Create a debug version of app

  1. Fill Basic Fields.
  2. Click on Build or Clean Build (Based on preference, however at first build, only one option will show that is to Clean Build) based on your preference.

The Clean Build will delete the whole Android build created before with any assets or app name & id selected and restart the process but with Build it can keep those cache.

  1. Wait for the process and the output path of apk will be shown to you and will open through File Explorer.

Test app on live android mobile

  1. Fill Basic Fields.
  2. Click on Test and it will start the process.
  3. It can now asks which mobile (connected with the USB debugging to the system) to choose from.
  4. With up/down/enter keys you can select your preferred device to run the app on.

Create release android package

  1. First Create a debug version of app.
  2. The switch the toggle to show production options.
  3. From each field select the appropriate file (.apk, key-file to sign the .apk with and output for release version)

The release version output folder will also include other aligned/unaligned .apks versions but from file name one can figure which is the release version.

  1. Then click on Sign button and it will start a process on external (system) terminal interface, from which one needs to add their password for key-file to sign the app.

Create a key for signing app.

  1. From bottom buttons select Create Key To Sign, a new dialog box will open.
  2. Enter key name.
  3. Enter key validity in number of days.
  4. Enter key alias.
  5. Click Create Key

This will start the process of creating key on external (system) terminal interface, from which one needs to add passwords and other appropriate meta data for the key to be created. The output path of the key will be later available.