Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ANDROID] "intent:" protocol to call with arguments retroarch on URL link #11090

Open
ghost opened this issue Jul 28, 2020 · 0 comments
Open

Comments

@ghost
Copy link

ghost commented Jul 28, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants