Hi Binu, why cant you read android unique id instead of mac address, any ways you want the id to be stored in ur datbase. Why can't you store the Unique Id of your android device.
If you are looking for this kind of unique device id, then look at
link[
^]
and this may
link
any help feel free to ask here again
Thanks
Ganesh