Flashlight on without camera??? - 8125, K-JAM, P4300, MDA Vario General

Hi Guys.
I use the flashlight a lot. It comes in handy but is a bit of a pain having to switch the camera on to use it.
I tried looking through the whole of the registry to see if I could find a way of switching it on without the Camera but no luck. If I could do it' I would either set up a voice command to use it or use one of the buttons directly to run a program to switch it either on or off depending on what it's state is now.
Is it possible or is the flashlight's functions restricted purely to the Camera?
Thanks in advance
Brian

Vijay of the forum has been working on this project with Vjcandela - as yet no joy, but we are forever hopeful :mrgreen:
see here http://forum.xda-developers.com/viewtopic.php?t=41642

Won't somebody please, give me a Wizard?!?
Just joking...
btw, can someone try Haret on the wizard and check if that starts up the flash. If it does, I'll reverse engineer from there. I don't have a wizard and can't test the more elegant driver based solution without the hardware.
V

vijay555 said:
Won't somebody please, give me a Wizard?!?
Just joking...
btw, can someone try Haret on the wizard and check if that starts up the flash. If it does, I'll reverse engineer from there. I don't have a wizard and can't test the more elegant driver based solution without the hardware.
V
Click to expand...
Click to collapse
Tried haret on my wizard vijay - application wouldn't even start

meschle: thanks for trying it. I'll get a Wizard one day. Until I get more HTC hardware to reverse engineer, I'm not really clever enough to implement a more generic solution. For now, Universal and variants only I think.
Hey, and thank you again for your PMs
V

Related

Bluejacking with WM5

I'm trying to bluejack with my M2000 running WM5. I've tryed various software but none of it works, Dose anyone know of any software that will do this? I used to be able to do it in WM2003 just by sending contacts via bluetooth.
Thanks in advance WWWeed........
I would love to find a good pocket pc program that could automaticly bluejack people.on my old P800 i use a program called s-man that does a constant scan for other phones and then sends a message to them over and over again
why would people want to do that ?
Rudegar said:
why would people want to do that ?
Click to expand...
Click to collapse
for educational purposes.....
there is such a program, i've used it on my old c500 and my jasjar, it's called smurf, I forget the link, but google it and ye shall find. btw it's freeware and does auto bluejacking
STUNNING, STUNNING, thanks for the smurf heads up, you are a star!
doesnt work ir searches devices and then shows an error and quits =(( help
link
Here's the link:
http://www.gatefold.co.uk/smurf/
(download is below on the page)
Looks nice btw :lol:
And you need the Microsoft Bluetooth stack for this one,
finally 'Jack's Back on WM5'
its true, i can blue jack onedevices and then as soon as it trys again-it just comes up with and error, i wish we had a version of S-man (from p800/P9XX)
if anyone know of some better software then please to tell 8)
Ok im bored with Smurf, there must be a better software out there, i would like to do some blue snarfing for fun, does anyone know of anything better out there?
http://www.inventop.com/proximitymailsetup.exe
i havn't tested it yet,it might be the right stuff
no such luck, im sure it would work on the M1000/M2000, on my M5000 it just says it cant find a bluetooth stack so forget that download
can sum1 please post a cab for the the .net compact v.2 thanks!
the file for compact framework v2 is http://msdn.microsoft.com/netframework/programming/netcf/downloads/default.aspx
thats from the microsoft web page just click the top link and then download the msi file and it will add it to your activesync for next time you sync up
I cant believe that there is still not a good bluejacking program out there for WM5, or windows mobil all together, how come symbian have loads of REALY good ones and we have like 1 and thats not that good either, i rekon someone is holding out and there is a great on efor us out there!.
Anyone?
bluejacking...
Hold your breath...
I'm currently implementing bluejacking in btCrawler.
It's already working for PPC but I need a few more days to put everything up for Smartphones...
You will be able to send messages AND files!
You can for example create your own "special" version 3 vcard including a photo or sound and then send it with btCrawler.
I'm also planning to implement something like a proximity mode. When a device comes in range a predefined automessage or file is sent...
however, link is: http://www.silentservices.de/btCrawler.html
Blujacking?
What is it? I've heard of Bluetooth...but not blujacking. Sounds like something dirty when you talk about Smurfs and blujacking....LOL
Try Sniper... (M$ bluetooth stack req'd)
Re: Blujacking?
toontimer said:
What is it? I've heard of Bluetooth...but not blujacking. Sounds like something dirty when you talk about Smurfs and blujacking....LOL
Click to expand...
Click to collapse
Bluejacking is the practise of sending text or files to other bluetooth compatible devices that support OBEX push. Most people think it has something to do with Hijacking, but infact it's just named after the guy who came up with it named Jack. Bluejacking in not "Hijacking" or "Hacking" in any sense, you can only push, not pull.
Cornholio you are a star!, i didn't relise you had been making this program, you should start a thread to see if many people are interested!, i will try it out, have you tryed using Sman.sis on a sony Ericsson phone, its very good-it might give you a few ideas.
Oink i have got sniper-it seems a bit slow and fragile but i havnt tested it enough to give a good appion so my mind might change

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 option...

DId anyone ever get the flashlight VJCandle thing operational on the ATOM??
I stopped working on it for a while. I needed a screenshot of the diagnostics program running on the atom to try to disassemble it. If you can send me one, it would help.
I know the atom boys on PDAPhoneHome started working on it. Not sure if they finished.
V
if you tell me how to get the screen shot i will happily send it to u..
Cheers
Use the program Magic SS to grab a screenshot. It's free, on google.
V
sorry actually meant how to run the diagnostics to get the screen shot
Diagnostic program should be in your windows folder. I think it's called SelfDiag.exe.
V
ok i ran selfdiag and it gives a list of items to check, i ran the camera flash and it simply asks is the camera light on Yes/no and once answered it gives it a pass..., am i missing something?
That's the one. It sounds lika a PITA, but a screenshot of the app asking the question re the flash would be useful for me to reverse engineer the selfdiag and find out what mechanism is used in the atom. I had a quick poke around, but it's full of text strings, and I can't run the app because I don't have an atom.
V
Hiya
ok screenshot attached let me know if you need anything else.
Cheers
take 2
Hi Vijay!
Any updates on getting VJCandela to work with the Atom?
I'm really anxious to get this working - so if theres anything you need, let me know and i'll try my best to get it done.
Sorry Kunz, I haven't had time to do any further work on it, I got bogged down with some real life stuff (having a baby, moving house), and have only been getting back into coding slowly when time allows.
I didn't continue with the atom work because I thought someone must have finished the job by now!
What I need: an atom
But otherwise, I can't promise when, but I'll try to get back onto the case as soon as I get some time
V
bugger :\
lgood luck with everything vijay, hopefully someone else can jump on this and move us atom users forward =)

tool for monitoring cells

Hi there,
are there any devices/programs that can show all visible cell-id, not only thw one currently connected?
If you know let me know.
saulius
[email protected]
phonealarm pro can do this. once you montior the cell, you can link profiles to it and make it set your device config as you like when you come home or at your work, etc. very useful!
try type *#*#364#*#* in phone application
blondak said:
try type *#*#364#*#* in phone application
Click to expand...
Click to collapse
does not work for me
hi there,
jep thanks ...364.... works for me. is there any program that worked with cell1-cell6 info?
excellent tip. Thanks
CellProfileSwitcher can log any cell's it encounters and also near by ones. It can do more than just profile switching.
http://maniac.fschreiner.de/
h4waii said:
CellProfileSwitcher can log any cell's it encounters and also near by ones. It can do more than just profile switching.
http://maniac.fschreiner.de/
Click to expand...
Click to collapse
@h4waii
I have installed this software on HTC Universal but the prog doesnt recognise any cell. Is this device hardware limitation or I need to find proper version?
cellprofileswitcher
yes, i tried this one too...
you can check the forum and will notice that tytn gsm module is some kind different so it doesn't work.
For this reason all ideas are welcome.
I'm interested would it be posible to store data to a file, if the data is seen at the screen, suppose we enter some code (like get imie), or run program and the required information is showen on the screen...
getting info
Maybe someone could share how to get info such like cellprofileswitch returns?
Since i need to combine more information at the same time and know that cps won't manage to do it...
Yes !!!
Work in my Cruise !
Tanks Blondak

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

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.

Categories

Resources