iPAQ 614 - Using "flash" as light - Create a possible Titanium plugin? - Sable

One of the "accidental" features of our phone is that the camera "flash" can be used as a GREAT flashlight when you're out in the dark. I probably use it once or twice a week, and I am sure I am not the only one. I was wondering however, if it might be possible to enable the LED without opening up the camera program.
Since I have winmo 6.5 installed, I was thinking about maybe taking advantage of the Titanium plugins, or perhaps even a mortscript application to make the flashlight a homescreen option. I'm new to phone modding, but I have coding experience so it shouldn't be too hard for me to figure out.
If this seems possible, I am willing to put in the effort of making it, but I'd like to know if it seems doable before I start coding or anything.
Thanks in advance.

hi all,
i use the flash as light like you.
one year ago i tryed to find an API to write a little application to poweron/poweroff the camera flash led but without success.
can anyone share with us some experience about this?
in alternative you can use an application called plamp that use the screen like a camera flash led. it is not the same but it is useful, also configuring an hardware button.
regards, Soldato

i used to use a mortscript that would launch teh camera then turn on the flash after 10 seconds it will auto close the camera app.
only down side was that the camera app would take about 10 seconds to load anyway (for my phone) so it was not a instant flash light.

thebranded said:
i used to use a mortscript that would launch teh camera then turn on the flash after 10 seconds it will auto close the camera app.
only down side was that the camera app would take about 10 seconds to load anyway (for my phone) so it was not a instant flash light.
Click to expand...
Click to collapse
Yeah that's part of the reason I would like to just skip the camera app altogether. It would be nice to have the light on quickly and not have the camera on.

DSwarP said:
Yeah that's part of the reason I would like to just skip the camera app altogether. It would be nice to have the light on quickly and not have the camera on.
Click to expand...
Click to collapse
hi @ all!
I'm also very interested in an app like that.
Unfortunately I'm not experienced in coding for PPCs. So my question:
Was there any success or found a solution?
Thx a lot!
VirTuZ

http://www.freewarepocketpc.net/ppc-download-nuelight3.html
^ this is one for htc touch pro but i just tried it and it didnt work on the 614c
also tried htorch and that didnt work either

bungle2k3 said:
http://www.freewarepocketpc.net/ppc-download-nuelight3.html
^ this is one for htc touch pro but i just tried it and it didnt work on the 614c
also tried htorch and that didnt work either
Click to expand...
Click to collapse
The method to control the camera flash is device specific. At this moment, no one know how to control the ipaq 612 flash light

ke_steve_le said:
The method to control the camera flash is device specific. At this moment, no one know how to control the ipaq 612 flash light
Click to expand...
Click to collapse
Indeed. I'd love to know what sort of things I have to look at to get this started, but I really don't know where to start. Anyone who's made this for another phone: point me in the right direction?

DSwarP said:
Indeed. I'd love to know what sort of things I have to look at to get this started, but I really don't know where to start. Anyone who's made this for another phone: point me in the right direction?
Click to expand...
Click to collapse
Basically, the camera flash can be controlled in this way:
Use CreateFile() to get the Camera handle :-
CreateFile( _T("CAM1:") ....... )
then, use DeviceIoControl() to send command, this is the most important step, I don't know how to fill the InBuffer in order to turn the flash on.

Related

Change Backlight Button to Camera flash light

Hi all,..
Is there a way to change the Backlight button on the universal so it activates the Camera light on the back of the device instead of turing on the backlight?
When possible the Universal becomes a pocket flashlight. Now when I want to activate the universal camera light I need to start up the camera software, It would be much quicket to just press the Light button to enable and disable the bright camera light. The Light button is now unuseful to me because the backlight automatticly turns on when tapping the screen, so no button needed...
anyone got a idea?
Best regards,..
Arjan
Now thats a damned good idea!! The backlight button is useless anyway.
Anyone here got the skills, I am afraid that I am just a lowly win32/KM developer...
Whats the best way to get into WM2005 coding?? Does it still require you to install 10,000 toolkits, or does Visual Studio 2005.net have the nessesaries? (if work ever sorts out our MSDN sub that is!)
Nigel
Paging buzz_lightyear! Paging buzz_lightyear!
buzz_lightyear to the rescue!
..... please?
As an almost entirely unrelated aside, you guys know that my program VJLumos, for the superbright screen, works on the Universal?
Doesn't make that much difference because it already has a nice screen.
V
Hi Buzz,..
Seems you know all about this schit. Can you tell uss if this is possible?
Regards..
arjan
vijay555 said:
As an almost entirely unrelated aside, you guys know that my program VJLumos, for the superbright screen, works on the Universal?
Click to expand...
Click to collapse
True, true... but the camera flash is trully bright!!! Even more than the screen!
I've checked the Win32 Mobile API and found nothing, so the solution must be in one of the HTC DLL's!
Disassembling Camera.exe in IDA didn't give big results neither... :?
I'll continue my reseach and post the results here!
Just wanted to keep this close to the top of the forum,
I would love this feature! Please please pretty please
Regards, Simon
Me To
would be great to have a portable flashlight with me all the time
Still triying, but until now, no success...
buzz_lightyear, can you give a hand here?
Realy hope anybody can find it out because this would be really great!!!
But can it be fixed?
Will this be possible?
not that I really know too much about all this kinda stuff, but MortPlayer refuses to recognise the button with a lightbulb on it even if you use the option that allows you to specify a hardware button by pressing it. Does this mean that this button is somehow hidded frm WM5 or am I being silly?
//Xi
MusicPlayer can recognize the button, I think it takes it as some kind of function button (F4 or F6 or something like that), so is definitely possible to use it.
I actually use it, after adding it to the registry. The button code is C8, so you just have to copy paste another button, and change any CX occurence to C8.
Key is HKLM/SOFTWARE/Microsoft/Shell/key/40CX
OK, so that's taken care!! Now to find HOW the camera turns the flash light on... I'm sure it's some kind of API..... :? :?
http://msdn.microsoft.com/library/e..._7effd1fa-1b3e-41ba-b176-42cb16dae7d4.xml.asp
i think this is done at driver level....
we might need to hook up with the camera driver dll, disassemble it and get the function names....
and then, need to write an app which will link up the dll at run time and call the fn....
apart from that, theres no simple way to do so using MS provided sdks for wm5....
S
dreamtheater39 said:
http://msdn.microsoft.com/library/en-us/still/hh/still/WIA_PropTable_7effd1fa-1b3e-41ba-b176-42cb16dae7d4.xml.asp
i think this is done at driver level....
Click to expand...
Click to collapse
I agree!! But I don't think that WIA is something to go thrue, since that applies to Win32 only!
That link was from the Desktop Windows DDK. The windows mobile DDK is a different beast.
I suspect the API will be similar tho. I very much doubt whether the camera app is going to directly call an IOCTL down in kernel mode to control the camera light (that would be crude!) It will be doing so via a user mode API. The key is going to be to find which DLL handles this and what the function name and format is!
Unfortunately although I write Desktop Windows drivers, I have not got the first clue about windows mobile programming - dont even know what tools to install!
Nigel
Just noticed something very odd: WM2005 emulator does NOT have camera.exe!!!
Camera.exe is the picture taking app on the WM2005! Where the hell is it?? Only on real devices (my Exec has it)?
ei99070 said:
Just noticed something very odd: WM2005 emulator does NOT have camera.exe!!!
Camera.exe is the picture taking app on the WM2005! Where the hell is it?? Only on real devices (my Exec has it)?
Click to expand...
Click to collapse
the wm5 sdk has the camera api exposed...however, no luck finding anything related to the flash light
i think its something htc has directly hooked up.
horrible MS they have to goof up somewhere ..... :evil:
i guess some disassembling is needed
buzz...where r u dude???
San

Flashlight App for the Wizard

Is anybody here who can code a simple app that can activate the photo flash of the Wizard. I think assigning such an app to a hardbutton would be really great because it would make a perfect flashlight out of the wizard.
benenglish said:
Is anybody here who can code a simple app that can activate the photo flash of the Wizard. I think assigning such an app to a hardbutton would be really great because it would make a perfect flashlight out of the wizard.
Click to expand...
Click to collapse
Sounds fun...
Terran
Is there still no application available?
Would be nice to have a simple one to turn on the LED on a high level an turn off the display at the same time and other way round.
Would prefer to link it to a hardwarebutton.
dasdoenertier said:
Would be nice to have a simple one to turn on the LED
Click to expand...
Click to collapse
I've been looking for this program for a while too... without finding it !
It's been dev for the jas-jar. :idea: Couldn't it be adapted for our Wizard ? ... Would be actually useful !
ziovass: are you sure this has been developed for the Universal? I haven't seen it.
V
I saw something similar here... Maybe I'm wrong ?
No, I think this is just for making use of the light button, not the light itself...
V
Is there no one who knows about how the LED is turned on and off?
Or is there a chance to spy out how the camera-application does this job?

Flashlight using camera "flash" without launching camera?

Ok, I'm probably gonna get flamed for this... heck I'm probably gonna flame myself for this
Is there an application to turn on and off the so-called flash on the camera without launching the camera app itself? In other words is there a simple way to use my $500 phone as a $0.50 LED light?
TIA,
Richard
try VJCandela ...... where? google knows it .....
k4sus said:
try VJCandela ...... where? google knows it .....
Click to expand...
Click to collapse
I thought that used the screen backlight - I specifically want to turn on the LED flash on the camera side...
Nope, I'm wrong - looks like it does exactly what I wanted:
http://www.vijay555.com/?Releases:VJCandela
I'll have to try it on the TyTn....
Thanks for pointing me in the right direction!
Richard
VJLumos for screen brightening. VJCandela for flash. VJPlumBum for stupidity.V
vijay555 said:
VJLumos for screen brightening. VJCandela for flash. VJPlumBum for stupidity.V
Click to expand...
Click to collapse
Hello vijay, is there any chance to have it working on Asus P525?, this ppc has the facility to record video with flash on.
I been trying your candela but dosen't work.
I can look into it - but it's not a device I've ever used so unlikely. Can you get me a rom dump? Thanks... V
Works!
vijay555 said:
VJLumos for screen brightening. VJCandela for flash.
Click to expand...
Click to collapse
Got it, and another confirmation that VJCandela works on the Hermes. Thanks for an awesome app!
vijay555 said:
VJPlumBum for stupidity.V
Click to expand...
Click to collapse
I might need two of those
Richard
vijay555 said:
I can look into it - but it's not a device I've ever used so unlikely. Can you get me a rom dump? Thanks... V
Click to expand...
Click to collapse
Can you have a look on here please :
http://forum.xda-developers.com/showthread.php?t=279777
or here
ftp://dlsvr02.asus.com/pub/ASUS/IA/P525/P525_V3320_WWE2nd.zip
I think that it will be enough for you, but please advice if you need more info.
Cheers mate.
also looking for a program for this. hope vijay can help us.
it says that doing this will cause permanent damage to the led
What does?
Leaving the flash on for too long will cause the flash to blow on some devices. Some guys have had it running for days. Some have blown it after a few hours.
I limit its use to 30 seconds I think, in VJCandela. However, you should use it with your own caution. But now, it won't blow your flash with a single use or whatever.
V
The LED is obviously over driven to make it bright enough for use with the camera and in normal use it is restricted to only short bursts.
PDA Paul said:
The LED is obviously over driven to make it bright enough for use with the camera and in normal use it is restricted to only short bursts.
Click to expand...
Click to collapse
With P525 if you are in video mode you can hold the led illuminated, so i think that if you don't use it for very long time the led will not be damaged.
Hello there vijay...
a question for you regerding vj candela and hermes...
you may have already noticed that when you use the flash light in hermes to take a picture with default camera apps...then the flash light up bit more (say double) brighter for a few second just in time of taking the picture...
so my question is it possible in ur apps (vj candela) to use that extra doubled light rather then the normal brightness??? its just a request i know that turning the flash in high mode may shorten the life span of the bulb but i just interested to see the implimentation...
and one more request...can you add a feature in ur vj candela so that when we use the hardware mode lightup then the screen brightness will turn it off automatically and will reverd back after the flash get off...
anyways thanks a million for what u have done for us all..
br.
Sajib
Maybe that's why this is damaging some devices, because it's using the brighter mode that only works in bursts with the camera.
Actually, I just did some quick testing using the ambient light sensor on my macbook pro (how's that for resourcefulness?). It's not exactly scientific, but whatevs.
I read the value of the ambient light sensor from the camera flash from a height of 10". This test was done with a Cingular 8525.
Turning on the flash in the camera program: 1024
Light from VJCandela: 1024
Light when turning of flashlight mode in the camera settings: 1200
Light during flash: 1450
So it appears that my theory was wrong. If anything, the camera flashlight is stronger than the regular flash mode. Although I suspect they are exactly the same - like I said this wasn't exactly a scientific way of testing...
Sorry, not sure if I understood the thread - the Camera app/Flash driver has a "burst" flash mode, a normal flash mode, and and off mode.
Burst flash is brighter then normal flash, and is used in the instant that you take the photo - this normally causes the screen to go off for a second though. My app uses "normal" flash mode, which should be safe for relatively short periods (eg 1 min). Burst flash is for a few seconds max I guess.
V
Any suggestions as to why when I try to download the cab file it opens the cab file in pocket ie? all I see is the text that makes up the file
timbouk said:
Any suggestions as to why when I try to download the cab file it opens the cab file in pocket ie? all I see is the text that makes up the file
Click to expand...
Click to collapse
Yeah, that bugged me when I first got my 8525. Try holding your stylus on the link and selecting "Save As," instead of just clicking on it.
Regards
Ben

Tytn and maximum lcd backlight

Hi, did anyone noticed that maximum Tytn's backlight is much dimmer than Wizard's? But it seems that it is only a software block because when you start Camera application, brightness goes much higher.. It's not matter of life and death, but it quite annoys me.
So.. Do anyone know if there is some way how to enable higher values? Probably some registry fix or something like that...
naciniak said:
Hi, did anyone noticed that maximum Tytn's backlight is much dimmer than Wizard's? But it seems that it is only a software block because when you start Camera application, brightness goes much higher.. It's not matter of life and death, but it quite annoys me.
So.. Do anyone know if there is some way how to enable higher values? Probably some registry fix or something like that...
Click to expand...
Click to collapse
Well thanks to the fantastic Vijay555 there is something you can do:
check this:
http://forum.xda-developers.com/showthread.php?t=279365&highlight=lumos
Mike
oh.. thanks
I have to say, I hate using my Hermes without VJLumos. The normal max brightness is horrible, washed out and weak...
V
i remapped the record button for youre great app works well
Yeah.. nice program.. but unfortunately it is still just trying to bypass the problem by using the camera application. So when Vjlumos is running you are unable to use the camera.. There must by some other way. I hope somebody will find it..
But still.. It is a great program
There is another way, but remember that the extra brightness is tied to the camera functions.... I've been thinking about rewriting this app to turn it into a service so it takes less resources.
If and when, I'll try to make it camera independant. But the problem with that is that it will be device specific ie Hermes.
But then I thought, meh? Whatever, it'll still be better!
V
naciniak said:
Yeah.. nice program.. but unfortunately it is still just trying to bypass the problem by using the camera application. So when Vjlumos is running you are unable to use the camera.. There must by some other way. I hope somebody will find it..
But still.. It is a great program
Click to expand...
Click to collapse
This is a great app. However for me, I'm able to use the camera without having to disable the app. I just hit the camera button to access the camera function, then hit the camera button again and was able to take a picture. With that being said, once I exited the camera function, the screen was dim again and I had to hit my VJLumos icon twice (once to disable, once again to enable) to get the screen back to its brightness. Currently a small price to pay.
Vijay, nice apps. Even if you make this app specific to Hermes, I think you'll have a lot of satisfied people. Thanks for great apps!

increase camera bitrate/frame rate

Hi all,
I found that compared to the HD2, the camcorder function of the S200 is VERY bad, basically very blurry when there's motion. I've tried searching the registry for something that determines the bitrate/fps of video but couldn't find anything definitive.
Does anyone know a way to increase the quality of the camcorder?
I think there is little you can do about.
The camera of neotouch is very poor and so is video recording... It's a flaw u'll have to live with if you stick with the neotouch...
doubt it...the camera just sux..
Xakep from acer-club.ru find the answer -
Camera from 1.002c is faster then from 3.003c(b)!
acer-club.ru/Foto-Videokamera-s200-t461-page-360.html
Don't work with EzInput - just switch to other keyboard before starting camera.
capture mode: "Photo" or "video", don't try "anti-shake" - it's not work with this..
Deleted because of the error.
I try it on your manila rom and official 3.003c, it works.
Student_of_Russia said:
I try it on your manila rom and official 3.003c, it works.
Click to expand...
Click to collapse
Yes, I know. I didn't mean that there was error in the Camera app, but in my posting. That's why i deleted my post.
Ok
Thx for your rom's, it's really good..
i tried that mod and it works flawlessly, camera recording is fluent as it should have been since day one.
there is just one single bug : shutter sound cant be disabled eventhough i ticked the option to disable it.
is there any work around ?
thanks for that mod btw
riotman said:
i tried that mod and it works flawlessly, camera recording is fluent as it should have been since day one.
there is just one single bug : shutter sound cant be disabled eventhough i ticked the option to disable it.
is there any work around ?
thanks for that mod btw
Click to expand...
Click to collapse
Just rename the file "ShutterSound.wav" in the Windows folder or delete it.
LOL thank you for this patch, you can really appreciate the improvement!! (form very crappy, to ammm... not really bad)
Thank you very much!
Thanks for the cab, seems to work very well.
Also pushing out the little plastic lens protector in the back cover seems to improve things as well, mine had marks that couldn't be cleaned off it
yep, i did the same
The plastic lens decreases the picture quality very noticably.
Also decreasing the light value reduces the chances that pictures are blurry
Thanks for sharing. It really improved a lot.
goooooooooooooooooood
With regards to the camera I found the following. If you have SPB shell active and you press the camera button to activate the camera, it also presses the fist item on the spb shell screen (in my case the clock or depending on the screen a contact or widget adjusting screen). This doesn't happen with WM standard UI.
I find it strange that nobody else noticed this. I use the stock acer 3.003c rom and have this problem with spb shell 3.5.3,3.5.4 and 3.5.5
Anyone else noticed this?
hello
epdm2be said:
With regards to the camera I found the following. If you have SPB shell active and you press the camera button to activate the camera, it also presses the fist item on the spb shell screen (in my case the clock or depending on the screen a contact or widget adjusting screen). This doesn't happen with WM standard UI.
I find it strange that nobody else noticed this. I use the stock acer 3.003c rom and have this problem with spb shell 3.5.3,3.5.4 and 3.5.5
Anyone else noticed this?
Click to expand...
Click to collapse
yes. there is a solution. just disable tap to edit option in shell dttings.actualy i donot remeber the exact name.
xmaxin said:
yes. there is a solution. just disable tap to edit option in shell dttings.actualy i donot remeber the exact name.
Click to expand...
Click to collapse
I have the same issue
WISEGUY_KEV said:
I have the same issue
Click to expand...
Click to collapse
As the former poster tried to explain. There's no solution but to disable "click and hold" in SPB Mobile Shell settings
Settings --> System --> last item "support click and hold" -> off
that way the camera press won't interfere with the click to "edit layout" function. A minor hassle indeed but a hassle nonetheless.
Oh well, for the price. The S200 ain;t that bad. It's weird that the next model in Acer's WM-line, the P300, is LESS capable (and much slower) than our beloved Neotouch? But it does get a newer WM6.5?!?!?! What's with these morons? Just keep the S200 in your line-up and goddamn keep selling it. Soon all those Android ppl will return and they need a Windows Mobile phone NOT a Windows Phone phone!
increase camera bitrate/frame rate post 425
http://acer-club.ru/foto-Videokamera-s200-t461-page-420.html

Categories

Resources