Цитата:
Сообщение от 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 ?