Advertising (This ad goes away for registered users. You can Login or Register)

Custom URI handling for homebrew?

Open discussions on programming specifically for the PS Vita.
Forum rules
Forum rule Nº 15 is strictly enforced in this subforum.
Locked
dots_tb
Posts: 28
Joined: Tue Aug 02, 2016 11:00 pm

Custom URI handling for homebrew?

Post by dots_tb »

Is there a way to handle URI calls to a homebrew within it?
As in:
1. Adding an entry into the app.db (like binding "test:" to a homebrew)
2. Typing "test:<string>" in the webbrowser.
3. Then when the homebrew launches, a way to get the <string>.

Thanks in advance. Sorry my "tearing" level is worse that students.
Advertising
Rinnegatamante
VIP
Posts: 912
Joined: Sat Mar 26, 2011 10:02 am
Contact:

Re: Custom URI handling for homebrew?

Post by Rinnegatamante »

Your main function will not receive passed arguments in any case since newlib will stub them: https://github.com/vitasdk/newlib/blob/ ... crt0.c#L20
Advertising
If you want, visit my website: http://rinnegatamante.it :D
mambertx
Posts: 7
Joined: Wed Apr 22, 2015 5:17 pm
Location: ε Eridani

Re: Custom URI handling for homebrew?

Post by mambertx »

Which will be a better approach?

Store parameters at a local file and then at launch read them and execute the uri call?
Locked

Return to “Programming and Security”