Run .command with input at runtime
Using Automator.app:


Open Automator and create a new Work Flow
Go to Actions / Library / Text
Choose Ask for Text and enable the Require an answer checkbox.
Go to Library / Utilities
Choose Run Shell Script
Select as arguments on the pass input: drop down. 
Type adb install /Directory/$1.apk as the actual script.
Save as Application. 


Now you'll have a clicable file which will ask for the parameter for the script.