2019-01-20, 01:01
Not quite, you're starting an activity from an app. That means you have to specify the activity that's been programmed in the app:
Sanshiro Yabause is called org.uoyabause.uranus but the action to start an emulator is org.uoyabause.android.Yabause
Retroarch is called com.retroarch but the action to start an emulator is .browser.retroactivity.RetroActivityFuture
Every app is different and every app needs different arguments! It's like when I'm saying retroarch.exe -startNES -ROM %file% or yabause.exe -goemulator -FILE %rom%.
You can't just drop in replacements like you did, you have to check what arguments every emulator needs. The best way would be to search around or check the XML files from chrisism
You should use the first example I've given which would come out as:
start --user 0 -a android.intent.action.MAIN -c android.intent.category.LAUNCHER -e ROM "%rom%" -e LIBRETRO /data/data/com.retroarch/cores/[CORE .so FILE] -e CONFIGFILE [retroarch settings folder]/retroarch.cfg -e IME com.android.inputmethod.latin/.LatinIME -n com.retroarch/.browser.retroactivity.RetroActivityFuture
Sanshiro Yabause is called org.uoyabause.uranus but the action to start an emulator is org.uoyabause.android.Yabause
Retroarch is called com.retroarch but the action to start an emulator is .browser.retroactivity.RetroActivityFuture
Every app is different and every app needs different arguments! It's like when I'm saying retroarch.exe -startNES -ROM %file% or yabause.exe -goemulator -FILE %rom%.
You can't just drop in replacements like you did, you have to check what arguments every emulator needs. The best way would be to search around or check the XML files from chrisism
You should use the first example I've given which would come out as:
start --user 0 -a android.intent.action.MAIN -c android.intent.category.LAUNCHER -e ROM "%rom%" -e LIBRETRO /data/data/com.retroarch/cores/[CORE .so FILE] -e CONFIGFILE [retroarch settings folder]/retroarch.cfg -e IME com.android.inputmethod.latin/.LatinIME -n com.retroarch/.browser.retroactivity.RetroActivityFuture