LED On Call : Разработка и программирование : Форум |
|
24.12.13, 01:57 |
App blinks camera flash LED when receiving phone call, same as elf ![]() /**********************/ App мигает вспышку LED при получении телефонный звонок, такой же, как эльф ![]() [ Редактировано diezil в 23.12.13 21:57 ] |
|
27.12.13, 19:09 |
nice. work in my galaxy s3 can you add brightness control ? |
|
28.12.13, 01:25 |
Not without hacking the hardware driver unless the manufacturer includes its own API (some do) but they are phone specific ![]() To correctly adjust the brightness of an LED you use PWM (pulse wave modulation), in sort you turn it on/off really fast and adjust the timing to regulate the brightness, (some LED's have internal chips for this). BEWARE a lot of apps in the android market that do it simply increase the voltage sent to the LED, this is very bad and will burn out your LED (unless its a special LED), I have first hand experience of this with a C902 ![]() But in short the answer is no ![]() |
URL этой темы: https://mobilefree.justdanpo.ru/newbb_plus/viewtopic.php?topic_id=5740 © 2005-2018 mobilefree.justdanpo.ru |