Elf cannot be turned off If you short press volume down key, elf shows phone info.
+ changed date format from "DD-MM-YYY" to "DD.MM.YYY" + fixed showing screen resolution
PhoneInfo 0.6 + changes in code + works with BM 2.5 + "phoneinfo.ini" you should put in "/tpa/user/other/ini/jasiek/phoneinfo.ini" (for w800) + [Time] it's time in seconds between showing phone info + Phone info is displayed by [Time] seconds + You can only once display Phone info, then you have to wait [Time] seconds + Phone info is automatically closed after [Time] seconds - deleted missed reminder value
PhoneInfo 0.6.7 + fixed msgbox bug
phoneinfo.ini [Time]: 5 [W810_K800_OTHERS]: 0x00;
If your phone restart if you press 'ok' then turn on [W810_K800_OTHERS] option in config file:
[W810_K800_OTHERS]: 0x01;
PhoneInfo 0.7.0 + added phone platform
phoneinfo.ini [Time]: 5
Thanks goes for: Joker_XT, Hussein, nkls and for all developers
jasiek пишет: HierOS It's not possible because, every time if you click short volume down then on standby screen will be showed new messagebox "phoneinfo"
If you click short volume down 5 times, then you will see 5 messagebox "phoneinfo".
int EnableVolumeHook(UI_MESSAGE*); int DisableVolumeHook(UI_MESSAGE*);
int lamp=0; int level=10; int hook=0; void elf_exit(void) { kill_data(&ELF_BEGIN, (void(*)(void*))mfree_adr()); } int NewKey(int key, int r1 , int mode) { // exit for debug... if (key == KEY_POWER) { ModifyUIHook(UI_STANDBY_UNFOCUS_EVENT,DisableVolumeHook,0); ModifyUIHook(PHONE_IN_STBY_EVENT,EnableVolumeHook,0); ModifyKeyHook(NewKey,0); SetLampLevel(0); SUBPROC(elf_exit); }
if (key == KEY_VOL_DOWN) { if (mode == KBD_SHORT_PRESS) { // Insert your code here...
Вы не можете начинать темы. Вы не можете редактировать свои сообщения. Вы не можете создавать опросы. Вы не можете вкладывать файлы в сообщения. Вы не можете отвечать на сообщения. Вы не можете удалять свои сообщения. Вы не можете голосовать.