It is probably a function of your operating system - which operating system are you running on?
For example, in Windows 7, go to the Control Panel and select Autoplay. There you can specify what happens when you plug in something containing photos of videos.
My operating system in Windows 8.1. I will go to the Control Panel and see
what I can find.
In Windows 8.1, on the start screen you can hit the search icon and enter autoplay.
The system is probably seeing your android as a memory card - set that to take no action.
Thanks, that seems to work