cylonid / cylonid/NativeAlphaForAndroid

Open site in NA with mini app instead of shortcut ?

Offen
#203 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Vorherrschende Sprache
Java
Sterne
929
Forks
92
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

The app works very nicely - thank you!

However I'd like to use it on Android TV which doesn't use the shortcuts which Native Alpha creates. To run this sort of thing you need an app which will call the app you need. Then an appropriate ATV launcher/utility can run that app.

I see two possibilities for getting such an APK:
- Use Tasker or the like to activate the app programmatically (with an intent?) and then generate an APK from that
- Native Alpha generates an APK itself as an alternative to the shortcut. Apparently this may also be useful for other systems such as car head units.

An example of app generation can be found in [TvAppRepo](https://github.com/ITVlab/TvAppRepo) but that only runs an app or opens a URL (running the default browser) and here we need to run NA in a way which calls the appropriate function. I'm not sure whether an app tagged as for ATV will work on other platforms, but maybe if NA can detect what it's running on it could generate an appropriate app.

Is there any chance of adding a feature like this or at least documenting how we can call NA in a way which emulates the shortcut?

Thanks!

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Öffne einen Pull Request, der die Issue-Nummer nennt.

Rechercherichtung

Beginne damit zu prüfen, wie Native Alpha derzeit Verknüpfungen erstellt und aufruft, und vergleiche dieses Verhalten anschließend mit dem Ansatz zur APK-Erstellung in TvAppRepo. Ermittle, ob die angeforderte Android-TV-Launcher-APK oder eine Dokumentation zum Aufrufen der Verknüpfung den vorgesehenen Umfang darstellt; abgeschlossen wäre die Aufgabe mit einer funktionierenden alternativen APK oder einer klaren Anleitung zum Aufrufen.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
android, java
Bereich
mobile-dev
Issue-Typ
Feature
Schwierigkeit
5/5
Geschätzter Aufwand
Über eine Woche
Aktivitätsstatus
Veraltet
Klarheit
Muss geklärt werden
Anfängerfreundlichkeit
25/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.