Git Product home page Git Product logo

hermit-lite-app-example's Introduction

Put Hermit Lite App APKs in your App Drawer

Hermit Lite Apps can be placed in your App Drawer in addition to on your home screen.

Since this feature involves creating a separate APK, it cannot be included in the main app.

Create your own APKs by copying this repository and customizing just a few items.

  • Lite App URL
  • Lite App Name
  • Android App Package Name
  • Logo

Getting Started

  1. Use this example project as a template: github.com/chimbori/hermit-lite-app-example.

  2. Clone the downloaded repo to your local machine, then open the downloaded project in Android Studio.

  3. Look for all instances of the string CHANGEME to quickly identify where to make changes.

  4. Change the applicationId, since every app must have a unique one.

    • Open liteappstarter/build.gradle.kts, and change the following line. Usually, this is a domain name you control, with each segment in reverse order, like the example above.
      applicationId = "org.example.liteapp"
      
  5. Change the Lite App Name and URL to anything you want.

    • In the same file, change the following lines:
      resValue("string", "start_url", "https://example.org/")
      resValue("string", "app_name", "Lite App Example")
      
  6. Change the icon to a custom 512ร—512 icon: liteappstarter/src/main/res/mipmap-xxxhdpi

  7. Compile the project and run. Then generate an APK and copy it to your phone.

Warning

DO NOT PUBLISH THIS APK ON GOOGLE PLAY. ONLY USE IT ON YOUR PHONE.

This APK does not contain the full functionality of a browser, and Google may consider it a violation of their Device Distribution Agreement, specifically the Minimum Functionality clause.

hermit-lite-app-example's People

Contributors

chimbori avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.