Skip to content

Conversation

@Sorunome
Copy link
Contributor

This PR adds a new method to easily call the browser applet, optional at a specific address.

void* buffer = malloc(url_len);
if (buffer) memcpy(buffer, url, url_len);
aptLaunchSystemApplet(APPID_WEB, buffer, url_len, 0);
if (buffer) free(buffer);
Copy link
Member

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?

Copy link
Contributor Author

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

@Sorunome Sorunome force-pushed the soru/browser branch 3 times, most recently from af66e5f to c0bd6a0 Compare March 17, 2025 18:48
@Sorunome
Copy link
Contributor Author

Is there anything still needed to get this PR merged?

@R-YaTian
Copy link
Contributor

I suspect that the browser applet returns the URL of the last redirect as the apt parameter — this needs more testing to verify.

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

Successfully merging this pull request may close these issues.

3 participants