Filippo, yes your tool could be used or a simple script calling adb to upload, but nothing beats the ease of doing it from within the IDE. Its for release we have a problem when we forget to connect the device(s) and it takes, at times, more than a minute to compile on my slow machine.