Тема: MobilePhone Plugin
Показать сообщение отдельно
Старый 12.08.2016, 12:50   #102
pierrotm777
Старший Пользователь
 
Аватар для pierrotm777
 
Регистрация: 07.11.2010
Регион: другой - для добавления сообщить ab
Сообщений: 324
pierrotm777 is just really nicepierrotm777 is just really nicepierrotm777 is just really nicepierrotm777 is just really nice
Smile

Цитата:
Сообщение от Winlin Посмотреть сообщение
Поставил. На входящую СМСку реакции никакой. А еще не понял по какому принципу сортируется телефонная книга. (что то все в разнобой)
Со звуком тоже беда: при входящем или исходящем звонке, регулировка звука улетает на максимум, а при окончании звонка предыдущий источник (музыка) орет на полную.
It's why i need to know the command accepted by iCarDS .
SETVOL command exist for RideRunner but not for iCarDS!

Into the file 'MobilePhone Skin Commands.txt', you can see all event usable !
Код:
ONMOBILEPHONECONNECTED           		Raises an event when the phone is connected.
ONMOBILEPHONEDISCONNECTED        		Raises an event when the phone is disconnected.
ONMOBILEPHONERINGING             		Raises an event when an incomming call is detected.
ONMOBILEPHONEINCALL              		Raises an event when you first answer a call
ONMOBILEPHONEHUNGUP		 				Raises an event when quit a call
ONMOBILEPHONENETAVAIL            		Raises an event when first connect to a network.
ONMOBILEPHONENETUNAVAIL          		Raises an event when first disconnect from a network.
ONMOBILEPHONEBATTERYFULLCHARGE	 		Raises an event when the battery is 100%
ONMOBILEPHONEEMERGENCY		 			Raises an event when the phone number = 911 (US) or 112 (EU) (define into the .xml file)
ONMOBILEPHONEVOICEON		 			Raises an event when voice activation is on
ONMOBILEPHONEVOICEOFF		 			Raises an event when voice activation is off
ONMOBILEPHONEEXTPOWERON		 			Raises an event when an external power is connected to the phone
ONMOBILEPHONEEXTPOWEROFF	 			Raises an event when the phone use it's own battery
ONMOBILEPHONE1FOUND           			Raises an event when the phone 1 is found.
ONMOBILEPHONE2FOUND           			Raises an event when the phone 2 is found.

ONMOBILEPHONESPEECHLOAD		 			Raises an event when the phone speech recognition is loaded
ONMOBILEPHONESPEECHUNLOAD	 			Raises an event when the phone speech recognition is unloaded
ONMOBILEPHONESPEECHHELP		 			Raises an event when the phone speech recognition ask the speech help
ONMOBILEPHONESPEECHSUPP1	 			Raises an event when the phone speech recognition ask the speech supplement 1
ONMOBILEPHONESPEECHSUPP2	 			Raises an event when the phone speech recognition ask the speech supplement 2
ONMOBILEPHONESPEECHSUPP3	 			Raises an event when the phone speech recognition ask the speech supplement 3

ONMOBILEPHONESMSISSEND					Raises an event when the phone send a SMS message
ONMOBILEPHONEMAPISRECEIVED				Raises an event when the phone recieve a new SMS message
It's possible to save the old volume value when the phone ringing !
Actually, for iCarDS, the code do that:
Код:
SETVARBYCODE;OLDVOLUME;VOLUME||SETVOL;MASTER;100||PAUSE||SETVOL;MASTER;100||*ONMOBILEPHONERINGING
And after the hangup, i try to resume the old volume value:
Код:
SETVOL;MASTER;$OLDVOLUME$||RESUME||DVBMUTE;0||*ONMOBILEPHONEHUNGUP
But i already said in an other thread, iCarDS return nothing for the LABEL VOLUME and i don't understand why!
But i can play an album without issue !

This is the alone thread where i have some response to my problems !
It's not very sympathetic !!!

Into the file ExecTBL.ini, under the line 'Сохранение пресетов микшера для телефона',
we should can to adapt the lines that follow ?
Код:
/ Входящий звонок
"ONINCOMMINGCALLSTART","ByVar;IsPhoneTalk;INCOMMINGCALLSTARTif"
"INCOMMINGCALLSTARTif","Menu;call_in.skin||StartPhoneCall"

"ONINCOMMINGCALLEND","ByVar;IsPhoneTalk;<<INCOMMINGCALLENDTif"
"INCOMMINGCALLENDTif","ByVar;IsMixerSkinLoad;<<Esc||ByVar;IsPhoneOverlay;Esc<<PhoneCloseOverlay||EndPhoneCall"

/ Исходящий звонок
"ONINOUTGOINGCALLSTART","ByVar;IsPhoneTalk;INOUTGOINGCALLSTARTif"
"INOUTGOINGCALLSTARTif","Menu;call_out.skin||StartPhoneCall"

"ONINOUTGOINGCALLEND","ByVar;IsPhoneTalk;<<INOUTGOINGCALLENDif"
"INOUTGOINGCALLENDif","ByVar;IsMixerSkinLoad;<<Esc||ByVar;IsPhoneOverlay;Esc<<PhoneCloseOverlay||EndPhoneCall"

"StartPhoneCall","SetVar;IsPhoneTalk;1||ByVar;IsPausedMedia;<<CF_Pause||SaveMixerPreset_Media||LoadMixerPreset;Phone||volperc+;$vol_from_speed_full$"
"EndPhoneCall","SaveMixerPreset_Phone||LoadMixerPreset_Media||ByVar;IsPausedMedia;<<CF_Resume||SetVar;IsPhoneTalk;0"

"SaveMixerPreset_Media","ByVar;MixerPresetMode;SaveMixerPreset_Media_Manual<<SaveMixerPreset_Media_Manual<<SaveMixerPreset_Media_Auto"
"SaveMixerPreset_Media_Auto","volperc-;$vol_from_speed_full$||SaveMixerPreset;$Media_s$"
"SaveMixerPreset_Media_Manual","volperc-;$vol_from_speed_full$||SaveMixerPreset;tmp"

"SaveMixerPreset_Phone","ByVar;MixerPresetMode;<<<<SaveMixerPreset_Phone_Auto"
"SaveMixerPreset_Phone_Auto","volperc-;$vol_from_speed_full$||SaveMixerPreset;Phone"

"LoadMixerPreset_Media","ByVar;MixerPresetMode;LoadMixerPreset_Media_Manual<<LoadMixerPreset_Media_Manual<<LoadMixerPreset_Media_Auto"
"LoadMixerPreset_Media_Auto","LoadMixerPreset;$Media_s$||volperc+;$vol_from_speed_full$"
"LoadMixerPreset_Media_Manual","LoadMixerPreset;tmp||volperc+;$vol_from_speed_full$"

Or just add that into the file ExecTBL.ini ?
Код:
"ONMOBILEPHONERINGING","ByVar;IsPhoneTalk;INCOMMINGCALLSTARTif"
"INCOMMINGCALLSTARTif","StartPhoneCall"

"ONMOBILEPHONEHUNGUP","ByVar;IsPhoneTalk;<<INCOMMINGCALLENDTif"
"INCOMMINGCALLENDTif","ByVar;IsMixerSkinLoad;<<Esc||ByVar;IsPhoneOverlay;Esc<<PhoneCloseOverlay||EndPhoneCall"

If that solve the volume issue, i can add it into the installer !!!

Последний раз редактировалось pierrotm777; 12.08.2016 в 13:25.
pierrotm777 вне форума   Ответить с цитированием