From c67906f6e509d36b8a2d3980bc0d21235acb2833 Mon Sep 17 00:00:00 2001 From: tverona1 Date: Tue, 16 Jul 2019 23:52:39 -0700 Subject: [PATCH] Updated readme --- README.md | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index af94013..abddc33 100644 --- a/README.md +++ b/README.md @@ -2,23 +2,22 @@ An app launcher for Quest implemented in Unity. -##Overriding app icons and names +## Overriding app icons and names For each installed app, we extract the default app name (PackageManager.getApplicationLabel()) and default app icon (PackageManager.getApplicationIcon()). Sometimes, however, these do not map to the actual app name and icon in the Oculus Store. In order to override this, do the following: -1) Override app names: Create a file called appnames.txt. Add a line per app with comma-separated package-id and desired name. Example: +1) Override app names: Create a file called appnames.txt. Add a line per app with comma-separated package-id and desired name. Example: +appnames.txt: +com.mycompany.myapp,My Application +com.othercompany.otherapp,Other application -appnames.txt ------------- -com.mycompany.myapp,My Application -com.othercompany.otherapp,Other application +2) Override app icons: Create a jpg file per app with the package-id as the filename. Example: +com.mycompany.myapp.jpg +com.thirdcompany.yetanotherapp.jpg -2) Override app icons: Create a jpg file per app with the package-id as the filename. Example: -com.mycompany.myapp.jpg -com.thirdcompany.yetanotherapp.jpg -3) Copy the above contents (appnames.txt + jpg files) to the following location: Android/data/aaa.QuestAppLauncher.App/files +3) Copy the above contents (appnames.txt + jpg files) to the following location on your Quest: Android/data/aaa.QuestAppLauncher.App/files -##Source structure: +## Source structure: - Assets/Scenes/QuestAppLauncher.unity: The main scene - Assets/Plugins/Android: Android-specific implementation to retrieve installed apps etc, written in Java - Assets/Scripts: Main set of C# scripts for grid population, scroll handling etc.