[ANDROID] "intent:" protocol to call with arguments retroarch on URL link
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 14.1k
- Forks
- 2.2k
- Avg merge
- 7h 35m
- Merged PRs (30d)
- 51
Description
Tested with :
- RetroArch: 1.8.9 downloaded on official Google Store ( Play Store )
- OS: Android 9 Pie on non-rooted phone
Hi all,
After reading lots of topics about RetroArch and Intent protocol, I find the following (old ?) command-line :
am start --user 0
-n com.retroarch/.browser.retroactivity.RetroActivityFuture
-e ROM /storage/emulated/0/Download/megamindtris.bin
-e LIBRETRO /data/user/0/com.retroarch/cores/genesisplusgx_libretro_android.so
-e CONFIGFILE /storage/emulated/0/Android/data/com.retroarch/files/retroarch.cfg
-e IME com.android.inputmethod.latin/.LatinIME
-e DATADIR /data/user/0/com.retroarch
-e APK /data/app/com.retroarch-1/base.apk
-e SDCARD /storage/emulated/0
-e EXTERNAL /storage/emulated/0/Android/data/com.retroarch/files
--activity-clear-top
My Goal : Have the ability to call with arguments RetroArch with "intent": protocol on a URL Link of a HTML / PHP page without rooting a phone in the aim to keep for instance the warranty of the phone .
I tried that for instance but it doesn't work :
<a href="intent:#Intent;component=com.retroarch/com.retroarch.browser.retroactivity.RetroActivityFuture;S.ROM=/storage/emulated/0/Download/$YourFileName;S.LIBRETRO=/data/user/0/com.retroarch/cores/genesisplusgx_libretro_android.so;S.CONFIGFILE=/storage/emulated/0/Android/data/com.retroarch/files/retroarch.cfg;S.IME=com.android.inputmethod.latin/.LatinIME;S.DATADIR=/data/user/0/com.retroarch;S.APK=/data/app/com.retroarch-1/base.apk;S.SDCARD=com.android.inputmethod.latin/.LatinIME;S.EXTERNAL=/data/user/0/com.retroarch;end;">Click Me!</a>
Note : $YourFileName = Name of the file
Do you have solutions / ressources in the aim to understand how to do please?
Thanks in advance,
Jackobo
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by comparing the listed am start command and the intent: URL targeting RetroActivityFuture, using the stated RetroArch 1.8.9 and Android 9 setup. Done would mean identifying a documented, non-rooted URL invocation that launches RetroArch and passes the ROM and other arguments; the issue provides no repository file or test to begin with.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, html
- Domain
- mobile-dev, web-dev
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100