mirror of
https://github.com/jrpie/Launcher.git
synced 2025-04-19 02:10:54 +02:00
Improve default apps choice algorithm
- Add new apps (TikTok, Brave browser, Tor browser, S Memo, etc...) - By default, choose the apps list and settings - Now have browsers on down-swipe
This commit is contained in:
parent
7245834138
commit
f46c1a278c
3 changed files with 108 additions and 89 deletions
70
app/src/main/res/values/defaults.xml
Normal file
70
app/src/main/res/values/defaults.xml
Normal file
|
@ -0,0 +1,70 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
|
||||
<resources>
|
||||
<!-- Default Apps for different actions (button-press, swipes ...) -->
|
||||
|
||||
<!-- Swipe up - Apps list -->
|
||||
<string-array name="default_up">
|
||||
<item>launcher:choose</item> <!-- The apps list -->
|
||||
</string-array>
|
||||
|
||||
<!-- Swipe down - Browser -->
|
||||
<string-array name="default_down">
|
||||
<item>org.torproject.torbrowser</item> <!-- Tor Browser -->
|
||||
<item>org.mozilla.firefox</item> <!-- Firefox -->
|
||||
<item>com.brave.browser</item> <!-- Brave Browser -->
|
||||
<item>com.duckduckgo.mobile.android</item> <!-- DuckDuckGo Browser -->
|
||||
<item>com.sec.android.app.sbrowser</item> <!-- Samsung Internet -->
|
||||
<item>com.android.chrome</item> <!-- Chrome -->
|
||||
</string-array>
|
||||
|
||||
<!-- Swipe right - Mail -->
|
||||
<string-array name="default_right">
|
||||
<item>de.web.mobile.android.mail</item> <!-- WebMail -->
|
||||
<item>com.samsung.android.email.provider</item> <!-- Samsung Mail -->
|
||||
<item>com.google.android.gm</item> <!-- Google Mail -->
|
||||
</string-array>
|
||||
|
||||
<!-- Swipe left - Calendar -->
|
||||
<string-array name="default_left">
|
||||
<item>com.google.android.calendar</item> <!-- Google Calendar -->
|
||||
<item>com.samsung.android.calendar</item> <!-- Samsung Calendar -->
|
||||
</string-array>
|
||||
|
||||
<!-- Volume up - Messaging -->
|
||||
<string-array name="default_volume_up">
|
||||
<item>com.whatsapp</item> <!-- WhatsApp -->
|
||||
<item>com.facebook.orca</item> <!-- Facebook Messenger -->
|
||||
<item>com.viber.voip</item> <!-- Viber -->
|
||||
<item>com.skype.raider</item> <!-- Skype -->
|
||||
<item>com.snapchat.android</item> <!-- Snapchat -->
|
||||
<item>com.instagram.android</item> <!-- Instagram -->
|
||||
<item>com.zhiliaoapp.musically</item> <!-- TikTok -->
|
||||
<item>com.samsung.android.messaging</item> <!-- Samsung SMS -->
|
||||
</string-array>
|
||||
|
||||
<!-- Volume down - Utility -->
|
||||
<string-array name="default_volume_down">
|
||||
<item>com.sec.android.app.popupcalculator</item> <!-- Samsung Calculator -->
|
||||
<item>com.github.android</item> <!-- GitHub Android -->
|
||||
<item>com.soundbrenner.pulse</item> <!-- Soundbrenner Metronome -->
|
||||
</string-array>
|
||||
|
||||
<!-- Double click - Notes -->
|
||||
<string-array name="default_double_click">
|
||||
<item>com.samsung.android.app.notes</item> <!-- Samsung Notes -->
|
||||
<item>com.sec.android.widgetapp.diotek.smemo</item> <!-- S Memo (older devices) -->
|
||||
</string-array>
|
||||
|
||||
<!-- Long click - Security -->
|
||||
<string-array name="default_long_click">
|
||||
<item>com.twofasapp</item> <!-- 2 Factor Authentication -->
|
||||
<item>launcher:settings</item> <!-- Launcher Settings -->
|
||||
</string-array>
|
||||
|
||||
<!-- Clock -->
|
||||
<string-array name="default_clock">
|
||||
<item>com.sec.android.app.clockpackage</item> <!-- Android Clock -->
|
||||
</string-array>
|
||||
|
||||
</resources>
|
|
@ -94,47 +94,4 @@
|
|||
<string name="tutorial_finish_text">You are ready to get started!\n\n I hope this provides great value to you!\n\n- Finn M Glas\n(the developer)</string>
|
||||
<string name="tutorial_finish_button">Start Launcher</string>
|
||||
|
||||
<!-- Default Apps for different actions (button-press, swipes ...) -->
|
||||
<string-array name="default_up">
|
||||
<item>org.mozilla.firefox|Firefox</item>
|
||||
<item>com.sec.android.app.sbrowser|Samsung Internet</item>
|
||||
<item>com.android.chrome|Chrome</item>
|
||||
</string-array>
|
||||
|
||||
<string-array name="default_down">
|
||||
<item>com.samsung.android.app.galaxyfinder|GalaxyFinder</item>
|
||||
<item>com.prometheusinteractive.voice_launcher|VoiceSearch</item>
|
||||
</string-array>
|
||||
|
||||
<string-array name="default_right">
|
||||
<item>de.web.mobile.android.mail|WebMail</item>
|
||||
<item>com.samsung.android.email.provider|Samsung Mail</item>
|
||||
<item>com.google.android.gm|Google Mail</item>
|
||||
</string-array>
|
||||
|
||||
<string-array name="default_left">
|
||||
<item>com.google.android.calendar|Google Calendar</item>
|
||||
<item>com.samsung.android.calendar|Samsung Calendar</item>
|
||||
</string-array>
|
||||
|
||||
<string-array name="default_volume_up">
|
||||
<item>com.whatsapp|WhatsApp</item>
|
||||
<item>com.facebook.orca|Facebook Messenger</item>
|
||||
<item>com.viber.voip|Viber</item>
|
||||
<item>com.skype.raider|Skype</item>
|
||||
<item>com.snapchat.android|Snapchat</item>
|
||||
<item>com.instagram.android|Instagram</item>
|
||||
<item>com.samsung.android.messaging|Samsung SMS</item>
|
||||
</string-array>
|
||||
|
||||
<string-array name="default_volume_down">
|
||||
<item>com.github.android|GitHub</item>
|
||||
<item>com.soundbrenner.pulse|Soundbrenner Metronome</item>
|
||||
<item>com.sec.android.app.popupcalculator|Calculator</item>
|
||||
</string-array>
|
||||
|
||||
<string-array name="default_clock">
|
||||
<item>com.sec.android.app.clockpackage|Android Clock</item>
|
||||
</string-array>
|
||||
|
||||
</resources>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue