[DEV] Interacting with Htc Blackstone Camera. - Windows Mobile Software Development

Hi all,
I'm trying to develop a program (VB and C.F.)for htc blackstone that would capture an image from his builted camera. The command for capturing image must be done programmatically and not manually. I want also obtain to set others capturing parameters (i.e. image size etc.) also programmatically.
Does anyone know if this is possible?
I am a little discouraged because it seems that this is not easyly possible (for Htc devices) because need specific Htc drivers and dll's (and is not available any documentation).
Is it true?
Thanks.

Related

Need experienced help (samsung i910 M2D)

Hello all. I am going to pick up an Omnia from a friend of mine in exchange for my current phone. This is not my first experience with winmo but I have not had any in-dept time with it either. I am going to need someone to help me out, as I am not familiar with all the basic things that one needs to do in order to get the final product I am looking for.
Here is what I'd like to do to the phone:
Run Manila 2D (essentially make my phone an HTC clone)
Run some kind of screen lock slider, preferably identical to that of the iphone
Install a new keyboard (spb or resco)
My first question before I get into anything else is -- Is this possible to run all of these modifications, or when running Manila is it impossible to run anything else? I have a 2 GB storage card, and the knowhow to install cab files and such. Still details would be much appreciated.
Concerning Manila 2d -- I have read that once installed there is still a hefty amount of tweaking to do, is this still the case, or has most of the tweaking been handled in the newest version? (nuances I've read such as threaded messages being recognized as "read" etc) Also does one need anything preinstalled in order to run it properly? What other tweaks will I need in order to take full advantage of Manila 2d? (commanager etc)
I understand there are stickys and previous information for this sort of topic, but most are written for those with a little more in-depth knowledge of winmo and applications thereof. (for example I do not know what commmanager is etc) So I need someone to just give me a brief rundown as well as cover all of the basic must haves for the Omnia
Thank you all I understand this may be tedious but I appreciate any and all help.

Need app to run at higher res

Hi all,
unfortunately I only know a little of coding and do not have time to learn (full time student AND full time job = little time for extra activities) so I hope you can be helpful..
My father needs to emulate an HP41cv calculator on a mobile device. I found an emulator that does exactly that, only the mobile device is an HP IPAQ with 4.3" 800x480 screen running CE 5.0.
The problem is that:
a) the app loads too small on the screen
b) at the wrong orientation.
b) isnt such an issue as we can solve this by rotating the screen, provided a) can be solved.
to fix a) i think it has something to do with the size (and possibly orientation) of the background bmps, or could possibly be fixed by SCALE code?
the link to the original app is below. source code is attached. first it installs it on PC then installs CAB through ActiveSync or Device Center (im running Win7).
http://hp41.claughan.com/file/eV41 Setup 0.93.zip
Any help is greatly appreciated.

SetPowerRequirement for accelerometers

Hi!
My application uses the accelerometer in unattended mode, which requires me to set a power requirement on the hardware. Since I own a couple of HTC devices it was easy to figure out what I needed for those:
SetPowerRequirement("ecs1:", D0, POWER_NAME | POWER_FORCE, null, 0);
Where ecs1 is built up from the following registry keys:
HKLM\Drivers\BuiltIn\GSensor\Prefix
HKLM\Drivers\BuiltIn\GSensor\Index
But since I'm using the Windows Mobile Unified Sensor API (http://sensorapi.codeplex.com/), which supports both Samsung and HTC devices I have no idea what the G-sensor driver is named on Samsung devices.
Does anyone know this or could help me figure it out? (I can send a test application). Its most likely a key in HKLM\Drivers\BuiltIn\ that contains the Prefix and Index values.
In the Unified Sensor API they use CreateFile() on "ACS1:", so it might be a key in HKLM\Drivers\BuiltIn\ that contains the Prefix ACS and Index 1.
Thanks in advance.
To cover all Samsung devices you need to use ACC1: and ACS1: (depends on device), so just SetPowerRequirement on all 3 (ACC1, ACS1 and ECS1).
There may be some issue with original Omnia 1 device, but others should work.

Viewport HTML rendering in explorer on WM6.5

Howdy folks,
My company develops a web-based system that is accessed in the field through a mobile optimized web interface. We're currently having problems with the HTML rendering on the HTC Touch Pro2 device in Internet Explorer Mobile and were wondering if you folks could help!
The device is running Windows Mobile 6.5 with the latest ROM (1.90.61.0) available on the Orange (UK) network.
I've attached a zip (new user, can't post links) containing sample HTML and a screenshot of the WM6.5 emulator (WVGA Professional, 480x800) displaying the sample HTML. When I access the same HTML page with the HTC Touch Pro2, the box only displays over half of the screen. It almost seems that the text is either twice the size it should be, or the box is half the size.
We do have a client using another WM6.5 device which I believe is also not affected by this problem, which is a Toshiba TG01.
We're working to obtain a few more WM6.5 devices next to try and further pinpoint this problem but I was wondering if the folks here had any suggestions or had run up against this before?
I've had a search around for this issue but can't find anything other than a suggestion that the viewport in the registry is set too big but I've tried fiddling with that and it's made no difference, not to mention that it's the same as on the emulator.
Speaking directly to HTC about this problem they suggested using another browser. Although the device does come with Opera, we're not currently able to certify that our web interface will work with it. As these devices are used in the field by many different clients it's hard to make that kind of change for one client quickly.
I would love to hear if people have any suggestions as to a fix or have at least run up against this problem before.
Many thanks,
Matthew
Probably more useful if people can see what I'm talking about! I should also note that the sample code scales fine on WM5 and WM6 devices we have and has done for some time. This is, however, possibly the first high DPI device we have encountered.
Thanks all
Matthew

Help with image editor dev.

Hi guys, i am creating an image editor to run in wm 6.5 and i am having some troubles adding a shortcut in to the camera.
Can someone help me out here?
Thanks
bump, its kind of urgent, please anyone?
Do you mean adding a button/menu item to the program that opens the Camera up for taking a photo? (Also, please specify what Language you are coding in...that will help Dev's know if they can help)
Opps, sorry for the lack of info,
What i meant is to add a button at the screen after the camera captures a picture.
I'm Using C# on Visual Studio 2008 with WM 6.1 SDK
Thanks
Hmm...I dont know how you would manage that...You could make a replacement camera app, but C# is nowhere near strong enough to do that. I cannot help with this, sorry.
Good Luck.
Ah...what if i were to make an instance for the WM to prompt the user with a notification when it detects a picture is taken? Is that possible?
Thanks
maybe try kinda monitor DCIM folder for new files, and when it detects one it runs your program?
Just guessing, but cannot give you any info how to do that. I suck at file managment in C# :S
It is POSSIBLE in C# by doing the following:
Run a program (process) on startup.
It takes a list of files in DCIM (or photo folder).
When the Camera App is run, this program re-initializes.
When it detects that the Key for photo has been pressed, it gets a new list of files.
It then compares the lists to see what the new file is.
Done.
HOWEVER, with C# this would be horribly inefficient in terms of battery and resources. I would really recommend trying to figure it out in C++ or getting a C++ dev to do it. (I cannot code in C++ unfortunately, but I am trying to learn)

Categories

Resources