import android.provider.Settings;
public int getVal()
{
return Settings.Secure.getInt(this.getContentResolver(),
Settings.Secure.ETH_ON, 0);
}
public void setVal(int val)
{
Settings.Secure.putInt(cr, Settings.Secure.ETH_ON,val);
}
import android.provider.Settings;
public int getVal()
{
return Settings.Secure.getInt(this.getContentResolver(),
Settings.Secure.ETH_ON, 0);
}
public void setVal(int val)
{
Settings.Secure.putInt(cr, Settings.Secure.ETH_ON,val);
}