Skip to content

feat(android): clipboard via embedded dex instead of devicekit app - #361

Merged
gmegidish merged 2 commits into
mainfrom
feat/android-clipboard-dex
Aug 26, 2026
Merged

feat(android): clipboard via embedded dex instead of devicekit app#361
gmegidish merged 2 commits into
mainfrom
feat/android-clipboard-dex

Conversation

@gmegidish

@gmegidish gmegidish commented Aug 25, 2026

Copy link
Copy Markdown
Member

Summary

Android clipboard get/set no longer requires the devicekit app to be installed. The clipboard tool now ships inside our embedded mobilecli.dex (like PackageLister) and talks to the IClipboard binder directly via app_process.

Changes

  • agents/android/java/Clipboard.java — Java port of devicekit-android's Clipboard.kt/ClipboardService.kt: connects to the IClipboard binder service via reflection, filling method arguments by parameter type/position so one binary covers API 29 through current. Supports get, set <text>, set --base64 <b64>, clear.
  • devices/android.goclipboardCommand now pushes the embedded dex and runs com.mobilenext.mobilecli.Clipboard; extracted shared runDexClass helper used by both clipboard and listAllPackages. Removed the "DeviceKit is not installed" requirement.
  • README.md — note ctrl+v paste combo for Android.

@coderabbitai

coderabbitai Bot commented Aug 25, 2026

Copy link
Copy Markdown

Warning

Review limit reached

  • Run on-demand review

On-demand reviews are free for the next 26 days. After that, they cost $0.25 per reviewed file.

Or wait 48 minutes for your next included review.

View limit details

Limit details: You’ve used the included review currently available. Your 62 included PR review attempts over the past 7 days set your current allowance at 1 review per hour.

Learn how review limits work.

Review configuration:

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: f460945a-fd8c-44f2-a06c-48cd6a383182

📥 Commits

Reviewing files that changed from the base of the PR and between d8437c1 and 5c5a5f3.

⛔ Files ignored due to path filters (1)
  • README.md is excluded by !**/*.md
📒 Files selected for processing (2)
  • agents/android/java/Clipboard.java
  • devices/android.go

Comment @coderabbitai help to get the list of available commands.

@gmegidish
gmegidish merged commit a010609 into main Aug 26, 2026
17 checks passed
@gmegidish
gmegidish deleted the feat/android-clipboard-dex branch August 26, 2026 05:59
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.

1 participant