-
-
Notifications
You must be signed in to change notification settings - Fork 187
feat: Add browser applet #563
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
base: master
Are you sure you want to change the base?
Conversation
| void* buffer = malloc(url_len); | ||
| if (buffer) memcpy(buffer, url, url_len); | ||
| aptLaunchSystemApplet(APPID_WEB, buffer, url_len, 0); | ||
| if (buffer) free(buffer); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does the browser applet return anything useful in the buffer? Is it worth trying to send that back to the app?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Couldn't find any evidence of that / currently nothing is known, as far as soru is aware
af66e5f to
c0bd6a0
Compare
|
Is there anything still needed to get this PR merged? |
|
I suspect that the browser applet returns the URL of the last redirect as the apt parameter — this needs more testing to verify. |
This PR adds a new method to easily call the browser applet, optional at a specific address.