godotengine / godot-proposals

Godot Improvement Proposals (GIPs)
MIT License
1.26k stars 101 forks source link

ADB connection #12583

Closed almusx closed 4 weeks ago

almusx commented 4 weeks ago

Describe the project you are working on

Android game

Describe the problem or limitation you are having in your project

Currently godot only connect to android device (remote deploy) on project start but sometimes this do not work properly, i need to connect to my device using adb on terminal ou cmd (windows).

Describe the feature / enhancement and how it helps to overcome the problem or limitation

Add a submenu in Tools with options (Connect to ADB using Code ou QRCode), Start ADB server / Close ADB Server.

Describe how your proposal will work, with code, pseudo-code, mock-ups, and/or diagrams

I want a way to connect to my device using a QrCode or a manual digit code like in android studio this way i can connect to any device anytime. Also an option to close ADB process in godot menu was great because now godot dont close adb.

If this enhancement will not be used often, can it be worked around with a few lines of script?

Maybe. If gdscript can access SO functions and android studio functions.

Is there a reason why this should be core and not an add-on in the asset library?

I dont know.

AThousandShips commented 4 weeks ago

See:

Calinou commented 4 weeks ago

Thanks for the proposal! Consolidating in https://github.com/godotengine/godot-proposals/issues/8724.