关于BREW里面的电池条问题?怎么才能知道这个电池条是否处于关闭或者打开的状态?
HTC_SetAnn(pMe->a.m_pIDisplay,0); { AEERect rc = {0}; ISHELL_GetDeviceInfo(pMe->a.m_pIShell,&pMe->DeviceInfo); rc.dx = pMe->DeviceInfo.cxScreen; rc.dy = pMe->DeviceInfo.cyScreen; IDISPLAY_SetClipRect(pMe->a.m_pIDisplay, &rc); DBGPRINTF("DeviceInfo: :x(%d), y(%d);", pMe->DeviceInfo.cxScreen, pMe->DeviceInfo.cyScreen); }uint32 HTC_SetAnn(IDisplay *piDisplay,boolean bValue){ uint32 nErr = SUCCESS; const char aszTemp1[] = {'a',':','1'}; const char aszTemp2[] = {'a',':','0'}; DBGPRINTF("HTC_SetAnn bValue = %d",bValue); if(piDisplay== NULL) { return EFAILED; } if(bValue) { nErr = IDISPLAY_SetPrefs(piDisplay, aszTemp1, 3); }else { nErr = IDISPLAY_SetPrefs(piDisplay, aszTemp2, 3); } DBGPRINTF("HTC_SetAnn nErr = %d",nErr); return nErr;}