Тема: MobilePhone Plugin
Показать сообщение отдельно
Старый 28.10.2016, 21:23   #283
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

Цитата:
Сообщение от duzzy Посмотреть сообщение
I read this post, and I speak absolutely about another.
Your plugin interacts directly with the program BlueSoleil from icar buttons(simple explanation), right ?
Well then why not make a small program to send commands BlueSoleil to switch from speakers to phone(toggle between speakers and phone) on the already paired phone.

icards user can make button in standard phone screen and run this little program from button to toggle between speakers and phone, and that's all.

fist run prog read from BlueSoleil what phone is paired...
then...
write to ini address of phone(or another opt)
[connected_phone]
phone=(phone address or id dot know how BlueSoleil interact with phone)
then...
write flag about fist run end(need for next run to not check what phone is paired)
[fist_run]
1_run=false

next run prog just read from ini and toggle paired phone from speakers to phone and vice versa...

I just described the simple logic of this program.
This program will be very useful to the user using a standard icards plug-in.
You want a button on the original phoco.skin screen that command MY plugin and switch speaker and phone ?

What plugin will use this ini file mine plugin or the original ?
pierrotm777 вне форума   Ответить с цитированием