Hello Bharu, its good to see you having interest in App development. My suggestion to you is to ask this question at "stackoverflow" its a code referred question and answer based website. With plenty of users (pro's) and code types Android is one the main categories. You will defiantly receive an answer in a few minutes with guidance.

www.stackoverflow.com

Sent from my Nexus 5 using Tapatalk
iOS7 Kik Messenger | Svelte UI CM11 Theme | Active Launcher