I'm trying to get Device Id in following code
public String getDevId() {
String devId=android.telephony.TelephonyManager.getDeviceId();
return devId;
}
But it is saying "non static method 'getDeviceId()' cannot be referenced by static context"