A gallery of advertisement picture is used to automatic switching in android