How to change Android usb connect mode to charge only?
===

I've seen HTC android devices have connect mode selection when connected to PC via usb line, while mine always pops up a "USB massive storage device" dialog with a button "turn on massive storage", which is boring, because sometimes my line could be loose, and off/on randomly, so the pop up always show up suddenly and intrudes my input when I'm doing something else. Is the a way to fix this?