2014-05-12 91 views
0

有沒有辦法編碼android手機電筒的功率20%,30%,40%我不需要的代碼只是一個問題的答案,如果有,我會想找到它自己Android手電筒幫助neded

謝謝

+0

的可能的複製[我可以更改Android設備的LED亮度?](http://stackoverflow.com/問題/ 5970188 /罐-I-變化的主導強度-的-AN-機器人裝置) – Laurel

回答

0

不,我知道的。當我前面查看這個時候,我看着CyanogenMod的手電筒應用程序。它使用標準Android API中沒有的底層系統調用。

0

請參閱本link ..One在該鏈接的答案說..

Short answer is: NO. 
Longer answer - maybe on some devices using undocumenterd calls/parameters. Supported 
flash modes, and their meanings (and behaviours) differ from device to device. 

Your best option is to query supported flash modes, and hope they work as intented.