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.
Post Reply
dots_tb
Posts: 28
Joined: Tue Aug 02, 2016 11:00 pm

Custom URI handling for homebrew?

Post by dots_tb » Sun Aug 28, 2016 5:32 am

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

User avatar
Rinnegatamante
VIP
Posts: 895
Joined: Sat Mar 26, 2011 10:02 am
Contact:

Re: Custom URI handling for homebrew?

Post by Rinnegatamante » Wed Aug 31, 2016 12:32 pm

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

User avatar
mambertx
Posts: 7
Joined: Wed Apr 22, 2015 5:17 pm
Location: ε Eridani

Re: Custom URI handling for homebrew?

Post by mambertx » Fri Sep 02, 2016 1:22 pm

Which will be a better approach?

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

Post Reply

Return to “Programming and Security”