Firefox OS: How can I turn on the flash of camera? - firefox-os

i would like to keep the camera flash LED on.
is there any specific API?

This is only possible using the mozCameras API which you can use in Firefox OS 2.0 and higher.

Related

Setting AL_GAIN to 0 works on iPhone6, not iPad PRO?

To silence my game when returning to the menu, I call this code:
alListenerf( AL_GAIN, gain );
This works just fine on Linux: the game goes silent.
When I run on iPad PRO, the sounds are still played, and volume is not affected at all.
Is AL_GAIN optionally implemented in the spec or something?
Using OpenAL device 'Default Audio Device'
Using ALUT 1.1
AL_VENDOR Apple Inc.
AL_RENDERER Software
AL_VERSION 1.1
This is on the latest iPad PRO model, by the way.
Whoa! the plot thickens... setting gain on iPhone6 works, on iPad PRO it does not. The same binary.
It is probably an iOS version thing. The iPad is on iOS 11.4 and the phone is on iOS 10.3.3
in linux and other platforms setting the volume to 0 works but for the ios13 bug as in the iPad pro change the volume to 0.001f and it should bypass Apple's bug.

corebluetooth framework

I have implemented a application to check whether bluetooth is ON/OFF using CoreBluetooth.framework but when i run that application on my iphone 3GS device it shows that the device does not support bluetooth low energy. please anybody help me with this or just a hint about any other bluetooth APIs that supports for iphone 3GS also appreciable.
Thanks
CoreBluetooth framework is only available in iOS 5.0+ and the hardware for Bluetooth 4.0 is only currently included in the iPhone 4S, iPhone 5 and the new iPad. Your 3GS does not have the necessary hardware to support the CoreBluetooth framework calls which is why you get the message you get.
I don't know if you want to use private API on your app, but in case you can the BluetoothManager is a simple API and can do what you need...
Here is a link that can help you.
Other than that it's not possible using public API so far...
Core Bluetooth only works on BLE module (Bluetooth 4.0). iPhone 3GS was released in 2009 while BLE standard was released in 2011. Even though iPhone 3GS could run iOS 6.0, it still cannot work with CoreBluetooth.

When will Google Chrome support access to audio (in HTML 5) on Windows?

My understanding is that Chrome 11 supports access to getUserMedia for HTML5 native audio and video stream on the Android but possibly not on MS Windows or (I think) Mac, or iOS.
Anyone know when support for Windows is planned?
Support for iOS?
Support for the Mac O/S ?
It is planned for early 2012, according to http://techcrunch.com/2011/11/24/chrome-getting-native-gamepad-webcam-and-webrtc-support-in-early-2012/
It seems that the code for this is only just now landing in Chromium though, so it might take a little longer for it to show up outside of Chrome Dev builds.

Does Chrome 12 really support CSS 3D transforms? Including on Linux?

I'm using Chrome 12 in a Linux 64bit box, but I can't get any of the samples bellow to work:
http://www.satine.org/research/webkit/snowleopard/snowstack.html
http://www.marcofolio.net/css/3d_animation_using_pure_css3.html
http://kevchapman.co.uk/css/webkit-css-perspective-demo/
They all use -webkit-perspective, but the final results differ a lot from the results got in Safari (Windows XP). So, after all, does Chrome support CSS 3D transforms? Or the support is still limited?
Thanks!
Go to the Chromium web SCM interface and check that your GPU isn't blacklisted.
Also, go to chrome://gpu/ and check that Chrome reports 3D CSS as enabled.
The problem is that 3d support in webkit browsers depends on your videocard. That's why you cannot see that examples, but your browser engine still supports 3d transforms. To resolve this problem you can use Modernizr, which detects browser+videocard 3dtranforms support.
I'm using Chrome on a Windows 7 machine right now, and all the demos seemed to behave exactly as they should have. Have you tried Chrome on your XP machine?

J2ME Camera and Sound Recorder Access On A Windows Mobile

I'm currently involved in a research project that requires me to access a Windows Mobile Camera and sound recorder with J2ME to, well take pictures and record sound... the phone has to be a windows mobile for some reason that has nothing to do with me and the software has to be written in Java, also not my decision.
So I need to try and find a phone that supports this (if one exists) so I'd like to know if anyone has found one?
Thank You For Your Help.
(Note the phone supporting MMAPI (JSR 135) does not imply that you can use the camera and sound recorder, our current phone has this and has not access).
First, if you have any Windows Mobile 6.x device, please try to use JVM build for Windows Mobile from Sun Microsystems => http://blogs.oracle.com/javamesdk/entry/jvm_for_windows_mobile
Or, you can buy LG Monaco (WM 6.5) from AT&T network. It has Java ME with MMAPI camera support. Also, LG Incite (WM 6.1) have MMAPI camera support.
As I know, recent HTC WM device with Java ME also support MMAPI camera features.
Good luck.

Resources