Getting phone imei

can i get phone imei (android or ios) programatically

Thanks
Teo

You definitely do not want to do this on iOS - your app will be rejected by the Apple Store.

It is possible to do on Android, using a PhoneGap Plugin:
http://cordova.apache.org/plugins/?q=imei