日期:2014-05-16 浏览次数:20428 次
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);
}