Android :: Access The Camera's LEDs Directly
Jul 2, 2010
I'm still pretty new to using Android, but I decided that my first application would be a simple flashlight app for my new Incredible. Unfortunately, it seems to be more difficult than I had originally thought.
It seems that there's no way to access the LEDs through the SDK, at least not without a bunch of weird hacks to make the phone pretend that it's taking a picture. Even then, I can only get the LEDs to turn on. They only turn off if the phone is put on hold, and doing so breaks all camera-related apps until the phone is rebooted.
So, I was wondering if accessing the LEDs through the NDK was possible, or if there was any other camera-related APIs that would seem to do what I want.
I've looked at other code for other flashlights, so it looks like it's a hardware-based problem. I figured I'd give up because it doesn't appear to be possible, but I thought I should ask here first on the off-chance somebody knows something that I don't.
View 1 Replies
Aug 22, 2010
I'm looking for an app that uses the camera leds for the flashlight instead of the screen. Anyone know of one?
View 9 Replies
View Related
Sep 10, 2010
Or did it take anyone else awhile to realize the Droid eye on the startup animation was the camera lens and leds? Is that animation exclusive to incredible?
View 11 Replies
View Related
Sep 2, 2009
Is there a command that i can access directly a key into an application? I don't wanna capture when user press the key, i wanna access it without press.
View 3 Replies
View Related
Sep 6, 2010
Is there any way to access the a database server directly in Android? If not, why? Also, are there any external tools for this?
View 1 Replies
View Related
Nov 13, 2010
I am looking for a way to get sensors' data ( especially Accelerometer) directly without using Listener approach. Actually I need to have the data really fast! I can not find any way to read sensor data by myself. Anybody knows anything about it? Is it possible to read data with more than 50Hz?
View 9 Replies
View Related
Mar 29, 2009
I'm trying for my app to create a picture this way... It works fine, except when doing this, the picture is written in the "Camera" folder (/sdcard/dcim/Camera). Since the picture was not taken with the camera, this is not desirable. Is there any way to put it directly in dcim?
View 3 Replies
View Related
Oct 11, 2010
I'm new to the android application development. I found some packages java.sql and javax.sql packages in the API of android while going through it. My doubt is can I access the Oracle Database directly using drivers. So what type of driver is used to connect.
View 11 Replies
View Related
Jul 14, 2009
In Linux, we can get the framebuffer directly by "open("/dev/fb0", O_RDWR);"
Is there any way I can call the similar function via JNI in Android or how can I access the frame buffer directly in Android?
View 2 Replies
View Related
Feb 6, 2009
Is there a way to directly access a Jpeg's file metadata, without having to go through the ImageManager services?
View 4 Replies
View Related
Jun 23, 2010
Every once in a while when I unlock the phone it goes straight to the camera app. Any idea why this happens?
View 5 Replies
View Related
Jan 31, 2010
Had my phone two days and I've already managed to screw it up. Gmail through the browser works fine. Notifications of new mail work fine; I can pull down the notifications bar up top, click on the mail note, and read/mark everything fine from there. But I'm screwed once I exit that. See, I can't just access gmail directly through the app. If I click on it, I get a black screen saying "your mail will appear shortly" and a note in the bar up top saying "waiting for sync". Just cleared Gmail data.
View 4 Replies
View Related
Nov 15, 2009
I'm super happy with my new Hero. But I use an external compact camera to make pictures.
Is it posible to connect an external camera to the HTC hero using a USB cable (and an app)?
This would be supercool when we are on the road without a laptop.
View 4 Replies
View Related
Mar 27, 2014
I just got a GPE LG Pad 8.3 and I have not seen an option in the stock camera app to save photos and video to the SD card. Is there any camera app that can write photos and videos to the SD card? It seems like a waste of an SD card if I can't have my photo's and videos go directly to the card.
View 4 Replies
View Related
Jul 12, 2010
I was wondering if there is a way to change or create a shortcut to take me directly to my camera shots instead of having to choose
photos --> camera shots...? I have Bettercut and using LauncherPro.
View 1 Replies
View Related
Mar 15, 2010
I have a piece of code to draw a view on camera preview. Code...
View 6 Replies
View Related
Sep 9, 2010
I saw some application that can use the "system" camera instead of having just a blank camera preview? ie, the camera preview is the same as the default android camera application with full control. how do i access that?
View 3 Replies
View Related
Aug 8, 2010
I could have sworn I saw this demoed at Google IO this year.
1) In Google Buzz, a new post is written. 2) There is a button to add a photo taken from the camera 3) The native camera app is launched and the user takes a picture. 4) Taken back to the browser where the photo is attached to the Buzz and posted.
However, I can't find any more information on this... it doesn't currently seem to be in the live version of Buzz, but I'd at least like to see some documentation on how to do it. Anyone know anything?
View 2 Replies
View Related
Sep 13, 2010
At the moment the LEDs that light up the keyboard of the G1 (HTC Dream) are very quick to turn off, I time it at six seconds. This is a pain when using the phone in the dark as you must press a button in order to turn the lights back on if you look away even for a very short time. Since my G1 is rooted I have access to the system files and when using adb to open a shell (adb shell) to the USB connected phone I can set the brightness file to a positive value using echo 1 > /sys/class/leds/keyboard-backlight/brightness. This keeps the keyboard on, until the screen is set to turn off (two minutes on my phone). When I attempt the same using a Terminal Emulator or writing a simple app which should execute the same it does nothing despite both having root access. Why is this?
View 1 Replies
View Related
Oct 20, 2009
I am the developer of a heavily used application (over 110.000 active installs) and got one problem with the Android platform. One of the features in my application uses the normal way of the Android SDK to display a LED notification with a selectable color. The color can be set by ledARGB flag in http://developer.android.com/reference/android/app/Notification.html. This had been working with the emulator, the HTC G1 and the HTC Magic (myTouch) but now users starting to report that the HTC Hero does not show up different colors. (although the charging LED for the HTC Hero is orange and the normal notification color is green). The same thing occurs for setting a vibrate pattern. (flag -> vibrate in http://developer.android.com/reference/android/app/Notification.html) This does not work on the HTC Hero US. (it does work on the EU/GSM version of the Hero).....
View 10 Replies
View Related
Sep 23, 2010
I've written a program in Java that takes in an image file and manipulates the image. Now I'm trying to access the camera so that I can take the photo and give it to the image processing program however I'm lost as to how to do this. I've read the information about the camera class and how to ask for permissions but I don't know how to actually take the photo. If anyone has any tips on where I should begin or if they know of a good tutorial..
View 3 Replies
View Related
May 25, 2010
I am making a app which takes photo on button click i have camera.java which operates camera and takes photo
how to i call it on the below event? Code...
View 1 Replies
View Related
Jun 30, 2010
Has anyone had any issues leaving the LEDs on (using Lampu) as far as heat from the phone? I can assume there was a reason that HTC didnt allow the LEDs to be on for video recording. Not sure if its just current draw or possible heat/damage to the driver circuit for the LEDs.
View 1 Replies
View Related
Aug 31, 2010
Is the market link to a ROOT ONLY app that you can turn off the LEDs at will?
View 4 Replies
View Related
Jun 28, 2010
I have recently seen quite a few people on here looking for an easy way to access the front camera. Search the market (or Google) for an app called Mirror 4 Evo. periodically do a market search for Evo and you will find some good apps. Some made for the evo and some will tell you if they work on the evo or not.
View 2 Replies
View Related
Jun 27, 2010
Every now and then when I press the power button to put my Incredible to standby and/or after the 1 minute timeout. The screen turns off as usual but sometimes the LEDs for the buttons stay lit. Sometimes if left alone long enough they will turn off on their own, but most of the time they stay on till I bring the phone out of standby and then put it back into standby. Is anyone else getting this? Is there a way to fix it?
View 4 Replies
View Related
Mar 14, 2014
Is there any hope to see in a close future the possibility to add to a screen locked by PIN an icon to access the camera?
View 1 Replies
View Related
May 7, 2013
I recently downloaded the application Widgetlocker so I could modify my lockscreen. After installing the application and setting up my home screen, I noticed that whenever I quick access my camera from the lockscreen it prompts me for my password. With the stock lockscreen on my HTC One, it would normally just launch the camera without asking for my password.
know if there is a setting in widgetlocker to allow this?
View 1 Replies
View Related
Nov 14, 2009
So I know Gmail always comes up as a green LED on my Droid, and that's fine. Also, I use Handcent SMS, and I can change the color of notification on that, so I have it set to pink (seemed like fun at the time.) I'd love an app that would let me choose the colors of other notification LEDs. Anyone know of one like that? I tried using the Market to search for notification and LED, but didn't find anything.
View 8 Replies
View Related
Sep 26, 2010
Is there any program or other way do turn off the screen LEDs for example when docked at night? LEDs Hack from the market has an option for Hero with Froyo. I emailed the developer, but didnt know if anyone here had any solutions. I'm running KF v35-1 btw. I was looking at replacing my clock on my bedside table with a dock that would hold the phone upright so I could see the time. I can keep the display on, but wanted the bright lights on the front off. With the program below, I can turn off all LEDs except the white ones behind the home, menu, back and search keys. I tried all the different phones. One of the first times I tried it, the LEDs all went out and would not come back on. Did a reboot and dalvk wipe which restored the LEDs. I went back through all the devices again and could not repeat the result of getting all lights out. The Hero version can stop all LEDs except the leds i mentioned.
View 2 Replies
View Related