Using the Cam - Windows Mobile Software Development

Hi,
could anybody tell me how to use the integrated cam?
So far, I simply call "\Windows\camera.exe", but I think there must be a "cleaner" way.
I don't know if I'm asking the same question as in the "Camera DLL" thread - if so, sorry.
Regards,
Marvin

buttons on the left hand side of the unit. below the volume key there is a button assisned to the camera.
if it doesnt make the camera work then goto start, settings, buttons and allocate the camera to any button you wish.
steve

Lol, sorry.
I was very unprecise.
I want to use the camera from a program (a COM control, for example).

Related

Camera Timer

I don't have steady hands. I noticed that blurred pictures result from my hand moving while pushing the camera button.
In my Canon Camera, there is this feauture that delays for a second or two the actual clicking of the shutter so that actual picture taking will not be simultaneous with my finger pushing the camera button. This results to a better picture for people who dont have steady hands.
What you think guys.
hope this works on your unit. it's a direct application icon so simply copy and paste it on your unit...can be on the program's folder or start up menu, etc. it was made by a chap in this forum a while back; works well with xda2, xda2s, xda2i and the mini. should work for you as well. clicking on the icon will allow you to set a timer for your camera. there's also another app made by the same chap and it allows your unit to take rapid shots. let me know if you want that one as well.
cheers
Can you post the rapid shots file as well? I am interested in that, thanks!
here you go then. ahh, i remember it was "jwhitham" who made this app possible so kudos to him
what you do is you copy this file into whichever folder you want it to be in (e.g. programs, start menu, my documents, etc). you then go to your settings->personal->buttons and select "rapid shot" for button 3 (camera). i do remember making a copy of the app and pasting it in "my documents" to make sure the app can be remapped by the unit for buttons.
if you'll notice the icon is the SAME as the camera timer app so just be careul of which one you're pressing. clicking on the rapid app will allow you to make the settings you want.
exit; go back to your today screen and activate your cam. from there if you hold down on the camera button it'll start clicking away (up to a hundred pics if i remember)...just be careful you set the pics to jpeg format instead of bitmap...otherwise your unit's memory will be all used up!
cheers
oops, made a mistake previous post. clicking on the rapid shot icon will automatically make your cam take a pic; no other settings will come out. it'll be better if you simply paste the icon on your today screen. from there go to settings->personal->buttons and select "rapid shot" for button 3 (camera). exit and from there give it a shot.
cheers
wow these sure are great applications, by the way, would you know any camera enhancement program like this? thanks to the one who developed the applications
so far those are the only camera-related apps i've seen. i did read somewhere in the forum about camera patches or upgrades but they ended with screwing up the camera function. oh there was one somewhere about a webcam app...i previously asked if there was an app which allowed the camera to act as "real time". example; while in activesync you can use remote display to show the ppc screen on your laptop/pc montior. clicking on the camera function only gives you a black / empty field but when taking a picture that appears on the monitor. i was hoping there was an app which allows you to use the cam function sort of like a "security camera" which gives you real time. so far haven't been successful yet.
latest version?
hi robson... i did a search for jwhitham and found this URL: http://www.coderz.co.uk/cameratimer.html. it had a different UI. it had options for loop and delay before the next loop. happen to have that version? tnx!
sorry mate, the 2 files i posted on the web are the only versions i have. when those apps came out (not sure when...ages ago though) jwhithams mentioned that he did want to "clean up the apps" by combining the timer and the rapid shot into one icon into one exe file...but that never came up...not that i'm complaining mind you. so for later versions i'm afraid i never did come across them...maybe we can drop jwhitham a pm and see what happens.
cheers
Re: latest version?
rnpasinos said:
hi robson... i did a search for jwhitham and found this URL: http://www.coderz.co.uk/cameratimer.html. it had a different UI. it had options for loop and delay before the next loop. happen to have that version? tnx!
Click to expand...
Click to collapse
hmmm...but seems like the dl link for this app is dead..any way to contact the author?
Camera Timer ... here you go!
Hi after some seeeriuos searching, I found a mirrored copy of the more sofisticated version of the freeware cameratimer (i.e. the one with gui and timeouts)
Once again all tx should go to the developer.
I attach it to my msg.
Enjoy!
Dv3it :lol:
These are nice!.. I'll try them out tomorrow.. :wink:
thanks man!

[APP] {WIP} Virtual D-Pad - (Updated 15/12/09)

Run this app in the background to use the G-Sensor as a DPad. Seems to work with cursor (in word etc) and, start menu, list boxes etc.
Comments/feedback appreciated (but please remember it is a work in progress!)
Version History
Added sample full config with descriptions
Added <VK_DPAD> option in config xml to increase compatibility.
Version 0.9:-
Bug fix to tilt logic
Added more override options for individual applications (e.g. MaxX/Y, DeadZoneX/Y)
Uploaded XSD for config file (contains some documentation)
Version 0.8:-
Added hardware key toggle to config file
Version 0.7:-
Moved all settings into config file
Improved UI
New "Switch" mode added
New "KeySend" methods added (SendMessage & KeybdEvent)
Version 0.6:-
Minor bug fix
Version 0.5:-
New config file format, to support...
Acceleration mode!
Version 0.4:-
Better matching of exe names (oops!)
Version 0.3:-
Allowed list now works from exe name (rather than window title)
Version 0.2:-
Config file
Proportional directions
Non-flat center/neutral point (config - CenterX/CenterY)
"Dead Zone" (config - Threshold)
Restriction by program (config - Application)
Have a play and let me know your thoughts.
I'll give her a look see --- not happy with the virtual SIP solution I've been trying to code. I was wondering if I could detect a hardware key (like the back arrow) and then use the g_sensor for scrolling if and only if that button was being held. That way apps aready using the g-sensor could continue to use it and users could have greater control over what was scrolled and when. Since you already have taken this this far I throw the idea your way to run with it if you want to... if not that is fine too.
Blessings my friend in the new year!
PS-If you want to collaborate in coding send me a PM
Seems to work as intended... The single-hardware button "hold to enable - release to disable" would make this a real solution... Are use using Dutta's Unified Sensor API "My Brain Hurts website"?
Good work so far
how do you install this??
Excellent !!
exactly what I was looking for, great job!
I'll test it in some games unusable without d-pad and report.
thanks !
patterns said:
how do you install this??
Click to expand...
Click to collapse
I copied the files to my SD card and ran the exe... switching to another application then uses g-sensor as directional arrows... stopping EXE kills behavior... at least that's what worked for me
I tried it out and this seems promising. Below are some things I would like to see added to make this truly useful.
1. You do not want to have it active all the time so you need an easy ability to activate/deactivate it as already stated above. Either by pressing and holding a hardware button or by pressing and holding a certain area/corner of the screen.
2. When I hold the phone in my hand the neutral position is almost never the completely flat position. I think the position of the phone when you activate it according to 1. above should be taken as the neutral position. Any relative movements from that position should then be interpreted as left,right,up and down.
3. Make the speed of the scrolling configarable.
4. Make the speed of the scrolling proportional to the movement from the neutral position. If I move only slightly from the neutral position it should scroll slowly and if I move it a lot it should scroll faster.
5. A per application filter would also be really useful. For each application you should be able to specify ig G-Pad is active always, never or when activated according to 1. above. The default for unlisted applications should be to activate it according to 1. above.
Don't hesitate to ask if you have any questions regarding my suggestions. I don't think any of them should be really hard to implement.
Keep up the good work. I look forward to the next version of this.
Wow, so many responses! Like I said initially, its a work in progress. On the "ToDo" list is :-
1. Config File!
* Threshold setting (how much to tilt before registering
* Center (i.e. what angle is neutral instead of flat)
* Application list
2. Proportional control
I'll add the other suggestions to my list.
Cheers
Great work! The most wanted for me is the possibility to map it to a button, so by pressing the button your program is enabled, by pressing it once again, it is disabled again.
Another idea would be that it is just enabled while you are pressing the button, whereas it is disabled when you are not pressing the specified button.
But its up to you .
johnpatcher said:
Another idea would be that it is just enabled while you are pressing the button, whereas it is disabled when you are not pressing the specified button.
Click to expand...
Click to collapse
This makes the most sense to me, browsing lists for instance would be so much more practical.
Keep up the excellent efforts!
1.)How is this virtual d-pad different of GController ?
2.) Can you move the map in Age of Empires 1,25 with this ?
excellent idea and a very promising start. thank you and Happy New Year!
this thread belongs to the "themes, applications and software". i'll try to persuade one of the mods.
Wolfenzi said:
1.)How is this virtual d-pad different of GController ?
Click to expand...
Click to collapse
Thats written for the Diamond (not 100% on HD) and development has stopped
Wolfenzi said:
2.) Can you move the map in Age of Empires 1,25 with this ?
Click to expand...
Click to collapse
No idea! I dont have AoE so once its up and running properly (its still in very early alpha!) I'll ask people to post compatible & incompatible apps.
Looks really promising! Seems to work pretty nicely. I think the two main things I would like would be similiar to what people already asked:
- An easy way to toggle it on\off rather than running the application and killing it.
- A way to calibrate the sensitivity threshold. It reacts rather quickly now.
Good job!
Ideas
I've been thinking about this more... if you allowed a program button like the BACK ARROW to temporarily activate when pressed, read current orientation and then applied scrolled based on the orientation delta from the initial orientation and then disabled scrooling once the BACK ARROW was released. This would solve the "Gee its not flat" problem and the enable/disable issue. Other configurable options might include as noted above -- changing g-sensor sensitivity; limiting scroll direction (N-S or E-W)
Can't wait to see your next version... I've suspended work on my v-DPad because i think yours will be the better solution
Has anyone tried this on a Touch Pro, i might do it right now and get back to you guys
EDIT: Well I just tried this on my Touch Pro and it works prefect, but it would be awesome if there was a way to disable it when using TF3D because you have to have the phone perfectly flat or it will move around on the tabs, or maybe make settings for it to disable in some programs
Very nice app, I will keep my eye on this one, Thanks!
Very nice!
I think this is the perfect solution as it allows to control everything with the GSensor. Too bad GController development has beed stopped, I hope this will be the perfect successor.
Great job!
This is really great work and has a lot of potential.
Let's wait for a more "finished" version.
thanks
It's so amazing good job
Work in PocketGBA (GBA emulator)?
Does this app work in PocketGBA?
Can't play GBA games on my mobile now since i upgrade my phone to HD as PocketGBA require hardware buttons for directions control.
GBA on Morphgear is just too slow with the sound on

voice2go macro record - screen and buttons goes wild o_0

Hello again!!
I've instaled the voice2go software. and as I've learned about macro wanted to try it out.
But after pressing record macro I am going to the today and.. the screen goes wild :/ it is sth like that screen would change resolution - I can see normally, but if I want to press the button I need to tap sth like 1cm or more below and a little beside of it.. o_0 so I am unable to record macro correcty..
the only way to finish macro is to reboot the phone - it is useless when macro recording is on :/
did anyone of U had problem like that?
thx in advance for any help
Best regards,
mayyhem84
Same over here, very annoying as I really liked this feature of Voice2go the most. Otherwise the programm is working perfect, but on my x1 tapping accuracy is below zero in macro setting.
Did anyone find a solution for this? It would be awesome to control your entire phone (more or less) by making these Macro settings manually.
Cheers,
Arnold
I've just installed this on the HD2 and I must say it's really a nice app......BUT!
Using the macro's on this app sends to phone calibration crazy & also you are meant to be able to have caller id once a name has been assigned to a contact, but phone still rings normally with saying the persons name whois calling. But I'm still reluctant to delete this program because it does seem pretty good.

Alt-Tab equivalent? switch tasks/apps with keyboard?

Im looking for a way to switch between open programs using the physical keyboard. I'd like to avoid having to "pinch" the top edge of the screen to switch to a different running application.
Is there anyway to accomplish this?
Thanks!
You may use quickmenu for that, the running apps will show up on the start menu.
I personally found that the short menu on the home screen is good enough though.
here's how i made it work...
find and install a program called "RhodiumKbdControl_GSM.CAB" (on this forum), then find and install "AltTab.exe" (on this forum), configure RhodiumKbdControl to run AltTab.exe whenever you press a hardware button like Messaging.
Worked perfectly for me on stock tmobile rom
Sublimedelta9 said:
Im looking for a way to switch between open programs using the physical keyboard. I'd like to avoid having to "pinch" the top edge of the screen to switch to a different running application.
Is there anyway to accomplish this?
Thanks!
Click to expand...
Click to collapse
mail_e36 said:
here's how i made it work...
find and install a program called "RhodiumKbdControl_GSM.CAB" (on this forum), then find and install "AltTab.exe" (on this forum), configure RhodiumKbdControl to run AltTab.exe whenever you press a hardware button like Messaging.
Worked perfectly for me on stock tmobile rom
Click to expand...
Click to collapse
Thanks mail_e36!
I've already installed RhodiumKbdControl_CDMA_1.3.2 (im on Sprint), but I'm having a hard time really understanding how to use it (setting up rules, what the RWin, LWin, etc. boxes mean). I've asked about the existence of a guide or help document on that thread, but have not gotten a reply yet.
Would you be able to tell me how you assigned AltTab.exe to run when Messaging button is pressed? (assuming what you did would also work on CDMA version)
Is it possible to make the Message button run AltTab ONLY when multiple "windows" are open and retain normal function (or better yet, make it launch Start menu) when all are closed?
Thanks so much for the help/ideas !!
while I do not have the exact instructions on how to do this, I can assure you that if you spend 20 minutes looking at the options in the application I stated you'll figure it out.
It will definitely work, just look at the options on the many for assigning keys
mail_e36 said:
here's how i made it work...
find and install a program called "RhodiumKbdControl_GSM.CAB" (on this forum), then find and install "AltTab.exe" (on this forum), configure RhodiumKbdControl to run AltTab.exe whenever you press a hardware button like Messaging.
Worked perfectly for me on stock tmobile rom
Click to expand...
Click to collapse
I did exactly this and mapped to the back button (short press) on my TP2 and left long press = back. Works great!

[XAP] Screen Capturer v3 - use Camera key to get screenshot

Yesterday, I posted a test version in wpxap.com, and now this is the updated version.
= Step =
Click "Start Capture Task" to start capturing (A timer will start, and during this period, application will listen to Camera button event)
You may need to wait one or several seconds, a message box will show up to let you know you can start catpuring.
Navigate to any application, and touch Camera button to capture the screen
A message box will show if the capturing is success, you can capture 20 images a one time (yes, you can ask for more if you want)
When the Capture Task ends, a Toast will show up to let you save the captured image, tap the Toast to return to application
The thumbnail will list and the captured images will stored in Pictures Hub
Tap the thumbnail will delete the temporary image file in the application folder
= Settings Help =
Prevent Capture Task auto run: Capture Task uses BackgroundAgent to run and wait for Camera button event, BackgroundAgent may auto run in some case, enable this option to stop auto capture.
The Capture Task duration: How long will the Capture Task run before it stop to accept Camera button event.
= Notice =
Game and movie is not supported in this version.
The Capture Task only save temporary file, you need go back to application to trigger saving file to Picutres Hub.
BIG thanks to Heathcliff74, I followed his guide here:
http://forum.xda-developers.com/showthread.php?t=1299134
BIG thanks to fiinix, the DllImport project is a very great project, it help me a lot when I stucked:
http://forum.xda-developers.com/showthread.php?t=1006331
If you like my work, please buy me a beer.
Great improvement compared to V2 ! Thanks for that.
Now I know who you are: The creator of Chome Visual Editor.
Nice to see you here. Long time I used your tool for editing cpr´s on my OMNIA II.
Also (late) thanks for that app !
Best regards
contable
Nice work, great improvements.
A suggestion from my side:
Let the user decide whether he wants to save the captured image or delete it inside your app.
This means when the user has finished his capture session by pressing "no" go straight back to your app (remove the toast for saving the image). By long-pressing on a captured picture appears a menu:
view (if possible)
delete
save to picture hub
send via sms or email (if possible)
Regards
contable
Great work, thanks a lot~ The new version is really awesome!
not working on HTC HD2 (with camera button on hardware key)
is possible to get source code? thx
contable said:
A suggestion from my side:
Let the user decide whether he wants to save the captured image or delete it inside your app.
This means when the user has finished his capture session by pressing "no" go straight back to your app (remove the toast for saving the image). By long-pressing on a captured picture appears a menu:
view (if possible)
delete
save to picture hub
send via sms or email (if possible)
Regards
contable
Click to expand...
Click to collapse
+1
and increase the pic quality
thx, m8!works pretty good on my HTC Mozart!
Thank you, excellent app...i'll use this one a lot.
i have a samsung focus, and when i click start capture, i don't get any message or anything...
edit: nvm, restarted my phone and it works now...that was weird...
Thank you Sir!
perfect! thx
Installed on my HD2 running official Mango. I installed using Tom's XAP installer v1.2. Also not working with my hardware button. It says the action is complete, but it doesn't show in the recent area of the application.
I still say the layout and design is great.
I am trying to figure out how he called a com dll without using the interop services
addicus said:
Installed on my HD2 running official Mango. I installed using Tom's XAP installer v1.2. Also not working with my hardware button. It says the action is complete, but it doesn't show in the recent area of the application.
I still say the layout and design is great.
Click to expand...
Click to collapse
The HD2 camera button issue is allready known since fiinix has released the first version of the screen capture app...
Does it work for videos yet?
slimshady322 said:
Does it work for videos yet?
Click to expand...
Click to collapse
No, only for images...
contable said:
No, only for images...
Click to expand...
Click to collapse
I guess you misunderstood me. I know that it will not record the screen but instead make a screenshot and that's fine for me.
What I meant was whether this app can make a screenshot of a playing video.
Can you read? It´s on the first page.
slimshady322 said:
I guess you misunderstood me. I know that it will not record the screen but instead make a screenshot and that's fine for me.
What I meant was whether this app can make a screenshot of a playing video.
Click to expand...
Click to collapse
No. I tried it with a youtube video...
contable said:
The HD2 camera button issue is allready known since fiinix has released the first version of the screen capture app...
Click to expand...
Click to collapse
Is there a work around?

Categories

Resources