Skip to content

manager: add file chooser support to WebUI#3139

Merged
aviraxp merged 2 commits into
tiann:mainfrom
KOWX712:upload
Jan 6, 2026
Merged

manager: add file chooser support to WebUI#3139
aviraxp merged 2 commits into
tiann:mainfrom
KOWX712:upload

Conversation

@KOWX712

@KOWX712 KOWX712 commented Jan 5, 2026

Copy link
Copy Markdown
Collaborator

No description provided.

Signed-off-by: KOWX712 <leecc0503@gmail.com>
@KOWX712

KOWX712 commented Jan 5, 2026

Copy link
Copy Markdown
Collaborator Author

example usecase:

<input type="file" multiple accept=".jpg,.png,">
<input type="file" accept="image/*">

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds file chooser support to the WebUI Activity, enabling users to upload files through the WebView interface. The implementation uses Android's modern activity result API to handle file selection, supporting both single and multiple file selection modes.

Key changes:

  • Implemented WebChromeClient with onShowFileChooser callback to intercept file selection requests from the WebView
  • Added ActivityResultLauncher to handle file picker intents and process the selected files
  • Added proper handling for both single and multiple file selection scenarios

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@aviraxp aviraxp merged commit d54c89d into tiann:main Jan 6, 2026
16 checks passed
KOWX712 added a commit to KOWX712/KsuWebUIStandalone that referenced this pull request Jan 6, 2026
u9521 pushed a commit to u9521/KernelSU that referenced this pull request Jan 7, 2026
Signed-off-by: KOWX712 <leecc0503@gmail.com>
rsuntk pushed a commit to rsuntk/KernelSU that referenced this pull request Jan 7, 2026
Signed-off-by: KOWX712 <leecc0503@gmail.com>
u9521 pushed a commit to u9521/KernelSU that referenced this pull request Jan 8, 2026
Signed-off-by: KOWX712 <leecc0503@gmail.com>
u9521 pushed a commit to u9521/KernelSU that referenced this pull request Jan 8, 2026
Signed-off-by: KOWX712 <leecc0503@gmail.com>
u9521 pushed a commit to u9521/KernelSU that referenced this pull request Jan 8, 2026
Signed-off-by: KOWX712 <leecc0503@gmail.com>
u9521 pushed a commit to u9521/KernelSU that referenced this pull request Jan 9, 2026
Signed-off-by: KOWX712 <leecc0503@gmail.com>
u9521 pushed a commit to u9521/KernelSU that referenced this pull request Jan 9, 2026
Signed-off-by: KOWX712 <leecc0503@gmail.com>
@KOWX712 KOWX712 deleted the upload branch January 10, 2026 17:06
KOWX712 added a commit to KOWX712/KernelSU that referenced this pull request Jan 10, 2026
Signed-off-by: KOWX712 <leecc0503@gmail.com>
KOWX712 added a commit to KOWX712/APatch that referenced this pull request Jan 11, 2026
- sync tiann/KernelSU#3139

Signed-off-by: KOWX712 <leecc0503@gmail.com>
u9521 pushed a commit to u9521/KernelSU that referenced this pull request Jan 11, 2026
Signed-off-by: KOWX712 <leecc0503@gmail.com>
u9521 pushed a commit to u9521/KernelSU that referenced this pull request Jan 11, 2026
Signed-off-by: KOWX712 <leecc0503@gmail.com>
u9521 pushed a commit to u9521/KernelSU that referenced this pull request Jan 11, 2026
Signed-off-by: KOWX712 <leecc0503@gmail.com>
u9521 pushed a commit to u9521/KernelSU that referenced this pull request Jan 11, 2026
Signed-off-by: KOWX712 <leecc0503@gmail.com>
Prslc pushed a commit to Prslc/APatch that referenced this pull request Jan 11, 2026
- sync tiann/KernelSU#3139

Signed-off-by: KOWX712 <leecc0503@gmail.com>
Prslc pushed a commit to Prslc/APatch that referenced this pull request Jan 11, 2026
- sync tiann/KernelSU#3139

Signed-off-by: KOWX712 <leecc0503@gmail.com>
u9521 pushed a commit to u9521/KernelSU that referenced this pull request Jan 12, 2026
Signed-off-by: KOWX712 <leecc0503@gmail.com>
u9521 pushed a commit to u9521/KernelSU that referenced this pull request Jan 13, 2026
Signed-off-by: KOWX712 <leecc0503@gmail.com>
u9521 pushed a commit to u9521/KernelSU that referenced this pull request Jan 13, 2026
Signed-off-by: KOWX712 <leecc0503@gmail.com>
u9521 pushed a commit to u9521/KernelSU that referenced this pull request Jan 13, 2026
Signed-off-by: KOWX712 <leecc0503@gmail.com>
u9521 pushed a commit to u9521/KernelSU that referenced this pull request Jan 13, 2026
Signed-off-by: KOWX712 <leecc0503@gmail.com>
u9521 pushed a commit to u9521/KernelSU that referenced this pull request Jan 14, 2026
Signed-off-by: KOWX712 <leecc0503@gmail.com>
u9521 pushed a commit to u9521/KernelSU that referenced this pull request Jan 20, 2026
Signed-off-by: KOWX712 <leecc0503@gmail.com>
KOWX712 added a commit to KOWX712/ksu-webui-demo that referenced this pull request Feb 4, 2026
KOWX712 added a commit to KOWX712/KsuWebUIStandalone that referenced this pull request Feb 8, 2026
KOWX712 added a commit to KOWX712/KsuWebUIStandalone that referenced this pull request Mar 11, 2026
KOWX712 added a commit to KOWX712/KsuWebUIStandalone that referenced this pull request Mar 11, 2026
KOWX712 added a commit to KOWX712/KsuWebUIStandalone that referenced this pull request Apr 14, 2026
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.

4 participants