Все для Sony Ericsson, патчи, эльфы, моддинг, прошивка
  
Логин: Пароль: Запомнить: Привет гость! Зарегистрируйся или авторизируйся для получения доп. возможностей!
Разделы
PDA версия сайта
TrackIDentify
Новости
Статьи
Файлы
Патчи
Патчи A2
Патчи db2020
Эльфы
Исходники эльфов
Wiki
Форум
Опросы
Обратная связь
Развернуть/Свернуть
 
Развернуть/Свернуть

Free Time Info : Эльфы : Форум : Для Sony Ericsson патчи эльфы моддинг прошивка
/  Список форумов
   /  Эльфы
/  Free Time Info
На печать 
Правила 
Страница 2 из 2: « 1 [2]

myrzeug


Developer


Регистрация: 21.11.07
Сообщений: 177
Репутация: 1195
Откуда: Quito-Ecuador




 
  #11 [19.10.08, 01:43] Free Time Info   

 
Free Time Info
(c) myrzeug

With this elf you can display the free time of your phone at any time, as well as the value in the seconds, minutes, hours, according to the tariffs that you set:



Automatically collects the time and operators name of number called, and this requires records of Call_logger
That means you MUST USE the Call_Logger.elf,
For version 2.1 of Call Logger, put in "Orde Sort" the option "LIFO".

The names of the companies, must be the same configured for the Call_logger on file regions.ini

Options:
* You can upgrade the MONEY in every monthly, for those who use a "PLAN" service
Or set it manually, for those who use "CHARTER" service
* You Can set numbers to be ignored, that is not taxed for operator, such as the service numbers, exemple (FTI.ini):

Код:

[IGN_1] * 611
[IGN_2] * 282
[IGN_3] 123

* You can create up to 5 different rates for 5 different operators (the "Default" is the default operator, that is, if the number you call is not recognized in regions.ini or FTI.ini, the cost of the call will be calculated with this fare.)

Note:
the values of: MONEY and TARIFFS are in the same UNIT
For smaller fractions, you must use the parameter FACTOR (Is not possible to put float numbers on .bcfg file...), exemple:

if MONEY = 12,54 $ and TARIFF_1 = 0,075 $, you must put in .bcfg:
MONEY = 12540
TARIFF_1 = 75
FACTOR = 1000



-------------

Free Time Info v.1

Needs the events:
Код:

UI_STANDBY_UNFOCUS_EVENT
PHONE_IN_STBY_EVENT
ON_CALLMANAGER_EVENT_TAG


-------------

Free Time Info v1.1
* UI_STANDBY_UNFOCUS_EVENT and PHONE_IN_STBY_EVENT are no longer needed =)
You just need the event :ON_CALLMANAGER_EVENT_TAG


* Bcfg support added, for BM with this support...

* Small change in the parameter FACTOR, to put fractions easiest...









[ Edited by myrzeug в 19.11.08 17:36 ]



Прикрепленный к сообщению файл:

FTI_v1.1.elf FTI_v1.1.elf (17.82 kb; 133 hits) Скачать файл


W715 SW-R1GA030
Спасибо сказали: hughlaurie

awg


Patcher/Moder


Регистрация: 10.1.08
Сообщений: 604
Репутация: 2795
Откуда: г.Владимир




 
  #12 [20.10.08, 08:01] Re: Free Time Info   

 
myrzeug,
автору на будущее.
Запомни и следующий раз не путай юзеров.
На DB 2010 эта константа называется PHONE_IN_STBY_EVENT 0x????
На DB 2020 эта константа называется STANDBY_IDLE_EVENT 0x084C (for W610 R6...)




К550->W610->K700->C901->Xperia Sola->Meizu MX2->Meizu M3 Note->Xiaomi Redmi Note 4x (Mido)->Redmi Note 7Pro (Violet)

Man1980


Вникающий


Регистрация: 17.11.07
Сообщений: 35
Репутация: 1
Откуда: Москва




 
  #13 [20.10.08, 08:22] Re: Free Time Info   

 
На К790 через DCE.elf попробовал добавить 0х84С и эльф заработал... Но, одного не понял, когда счет пополню, мне в конфиге его самому дописывать придется или он сам обновится?




SE K790i R8BF003

Bushmen


Expert


Регистрация: 12.4.08
Сообщений: 161
Репутация: 196
Откуда: С Урала




 
  #14 [21.10.08, 09:43] Re: Free Time Info   

 
А как быть если первая минута по одной цене а остальные по другой?
Да ещё и в инет с этой симки выходишь?




Платон мне друг, но истина дороже!

eddmund


Elfmaker


Регистрация: 19.1.08
Сообщений: 206
Репутация: 83
Откуда: Austria




 
  #15 [19.11.08, 15:53] Re: Free Time Info   

 
myrzeug пишет:
you need this constant: PHONE_IN_STBY_EVENT, otherwise you don't see anything, It is present in all db2010, but I noticed that very few db2020 have this constant, Well, I've found this value for W610, K790, W880:
#define PHONE_IN_STBY_EVENT 0x84C
I think it's the same for the rest...


myrzeug, I suggest you to use code like

Код: 
  event_in_standby_mode = STANDBY_IDLE_EVENT;
  if (event_in_standby_mode >= 0xFFFFFFFF) {
    event_in_standby_mode = PHONE_IN_STBY_EVENT;
  }
  if (! checkDynConstEvent(event_in_standby_mode, (wchar_t*)L"PHONE_IN_STBY_EVENT")) {
    FreeBook(myBook);
    return 1;
  }


See my post in the MoonPhase thread for an explantation.




My Elves: [ MoonPhase 1.2 | DayDis 1.1 | ImageTest 1.2 ]
Phone: K770_R8BC004

myrzeug


Developer


Регистрация: 21.11.07
Сообщений: 177
Репутация: 1195
Откуда: Quito-Ecuador




 
  #16 [19.11.08, 16:50] Re: Free Time Info   

 
eddmund
Nice, Your method is interesting
But, in fact, at present, all db2010 using this event:PHONE_IN_STBY_EVENT
and the DB2020 this:STANDBY_IDLE_EVENT

Maybe it is easier to use: GetChipID ()...

Anyway, I already had resolved the problem in my elf, now works without this event
No event is needed to determine when it is in the standby =)
Код:

if (SESSION_GetTopBook(root_list_get_session(root_list_get_session_count() - 1))== Find_StandbyBook())
{
...
}

I just forget to publish the latest version :P

Now is present in the first post

[ Edited by myrzeug в 20.11.08 05:25 ]




W715 SW-R1GA030

IronMaster


VIP Developer


Регистрация: 16.5.06
Сообщений: 1135
Репутация: 8514
Откуда: Пермь




 
  #17 [19.11.08, 17:14] Re: Free Time Info   

 
myrzeug,
maybe it's better to check both events?




K700->W810->W850->W705 & W995 (cid81)
==========
WMZ307721639637
WMR675285842893
Спасибо за пожертвования:
Resp, ploik, BanditNN, AlexTin, polza, romanchenko, Ryabchik, Ax, [b]Desp
Спасибо сказали: eddmund

myrzeug


Developer


Регистрация: 21.11.07
Сообщений: 177
Репутация: 1195
Откуда: Quito-Ecuador




 
  #18 [19.11.08, 17:33] Re: Free Time Info   

 
IronMaster

Now, it's no longer need any event =)
(works fine only with ON_CALLMANAGER_EVENT_TAG)

[ Edited by myrzeug в 19.11.08 17:34 ]




W715 SW-R1GA030

eddmund


Elfmaker


Регистрация: 19.1.08
Сообщений: 206
Репутация: 83
Откуда: Austria




 
  #19 [19.11.08, 17:35] Re: Free Time Info   

 
myrzeug пишет:
But, in fact, at present, all db2010 using this event:PHONE_IN_STBY_EVENT
and the DB2020 this:STANDBY_IDLE_EVENT

Maybe it is easier to use: GetChipID ()...

No, please don't believe the mystery that the constant for the Standby Mode event has anything to do with the platform. There is no need to make use of the additional function to get the platform ID. Nonsense. The values of the STANDBY_IDLE_EVENT and PHONE_IN_STBY_EVENT constants are absolutely identical. The problem is only that the DYN_CONST.bin file for some models may only have one of them defined. Others have both defined. For example, look into W580_R8BE001.h or W880_R8BA024.h of svn://svn.boba.su/SE/dynconst/target/

Код:
#define STANDBY_IDLE_EVENT 0x84C
#define PHONE_IN_STBY_EVENT 0x84C


Your new method does not work for me. Even if it would work, I see no advantage because it costs using additional 4 functions.

[ Edited by eddmund в 19.11.08 17:23 ]




My Elves: [ MoonPhase 1.2 | DayDis 1.1 | ImageTest 1.2 ]
Phone: K770_R8BC004

myrzeug


Developer


Регистрация: 21.11.07
Сообщений: 177
Репутация: 1195
Откуда: Quito-Ecuador




 
  #20 [20.11.08, 05:22] Re: Free Time Info   

 
The difference is that, in my elf, the information is displayed when you press a button, and I could verify if we are in estandby directly
Otherwise it would be necessary to use a function ModifyUIHook and an addicional variable to identify/fix some problems as when you unlocks the keypad (In the previous version, when you unlock the keypad and you pres the buton, nothing happens)

In my case it is more efficient in this way




W715 SW-R1GA030
Страница 2 из 2: « 1 [2]


Похожие темы
 ТемаОтветыАвторПросмотрыОбновление
  Эксклюзив для mobilefree463Therion42917918.01.24, 11:01
  Иконки к Weather Informer.2lexxx2345607508.04.12, 21:09
  AdFree Android 0.8.440Alex1992381824.06.12, 19:25
  A2 header info0den_po146523.01.21, 10:56
  AndroidInfo6java-virys772904.01.17, 19:30
  a2 runtime patcher211den_po23978712.09.15, 18:55
  Phone Info(java)19java-virys1962815.07.15, 17:33
  Weather Informer v 1.0.3 fix001 beta301CTFMoN19724205.01.14, 05:12

  • Поиск
  • Права
Вы не можете начинать темы.
Вы не можете редактировать свои сообщения.
Вы не можете создавать опросы.
Вы не можете вкладывать файлы в сообщения.
Вы не можете отвечать на сообщения.
Вы не можете удалять свои сообщения.
Вы не можете голосовать.

Главная Новости Статьи Файлы Патчи Форум Опросы PDA
- Генерация страницы: 0.14 секунд | 12 Запросов | HTML: 47.54 КБ -