I am not sure you will be able to ignore this dialog with normal devices
Its android devices policies to notify user when some external USB connected .
It may required to embed new device which programmed like to not show that kind of notification and its normally unusual