Android-Launcher-APK-APP

Minimal Launcher Example

Pure Nim score 15/100 · last commit 2022-12-12 · 2 stars · tests present · no docs generated

Summary

Latest Version Unknown
License Unknown
CI Status Failing
Stars 2
Forks 0
Open Issues 0
Last Commit 2022-12-12
Downloads 0
Last Indexed 2026-07-22 05:36

Tags

Installation

nimble install Android-Launcher-APK-APP
choosenim install Android-Launcher-APK-APP
git clone https://gitlab.com/metalx1000/Android-Launcher-APK-APP

OS Compatibility

Platform Linux macOS Windows FreeBSD OpenBSD NetBSD Android iOS WASM Embedded
Android-Launcher-APK-APP - - - - - - -

README

Android Minimal Launcher APK APP

  • This doesn't have the functions of a launcher, just the permissiosn/intent
  • see AndroidManifest.xml

Copyright Kris Occhipinti 2022-11-26

(https://filmsbykris.com)

License GPLv3

  • the following lines in AndroidManifest.xml make this a launcher
    <category android:name="android.intent.category.HOME" />                                                                               
    <category android:name="android.intent.category.DEFAULT" /> 

setup

Based on the following tutorial https://proandroiddev.com/how-to-setup-android-sdk-without-android-studio-6d60d0f2812a

  • Get Android SDK Command line tools https://developer.android.com/studio
wget "https://dl.google.com/android/repository/commandlinetools-linux-9123335_latest.zip" -O /tmp/commandlinetools.zip
mkdir ~/android
cd ~/android
unzip /tmp/commandlinetools.zip
cd cmdline-tools
mkdir tools
mv -i * tools

#run the following and add it to your shell's rc file
export ANDROID_HOME=$HOME/android
export PATH=$ANDROID_HOME/cmdline-tools/tools/bin/:$PATH
export PATH=$ANDROID_HOME/emulator/:$PATH
export PATH=$ANDROID_HOME/platform-tools/:$PATH
  • Install the sdk
sdkmanager --list
#change version if needed
yes|sdkmanager --install "platform-tools" "platforms;android-29" "build-tools;29.0.2"

#if you don't need the emulator you can save a lot of space by deleting it
rm -fr ../emulator
  • To change icon replace 'app/src/main/res/mipmap/ic_launcher.png'

  • Build and Install It

./gradlew build && adb install app/build/outputs/apk/debug/app-debug.apk

Speical Notes

If you get an error, it may be do to the version of Java you Are running. Try JDK 11

#change Default JDK
sudo update-alternatives --config java
export JAVA_HOME=/usr/lib/jvm/java-11-openjdk-amd64
export PATH=$PATH:$JAVA_HOME