Page 1 of 1

IS IT POSSIBLE?

Posted: Sun Apr 26, 2009 12:48 am
by sharpmac
Greetings all. I have been using PHP for about 3 years and have been coming up with interesting ways to utilize the power of it.

Well anyways what I am wondering is I have a windows mobile 6 device "Sprint HTC Touch Pro" and as we all know they have a neat little camera on the back on them that can be used in many ways.

I want to know is it possible to take that existing technology further by allowing a user to goto a web page on the device (which is not JavaScript enabled) fill out a form, and then click a button which activates the phone's camera, snap a picture with it and then attach it to the form and submit it into a SQL database. Which then can be accessed by anyone with permission to the database.

Theorize with me on this one because if PHP can not do this what would? C# or C++? I need ideas and possible links to other technology that might be in use and deploying this same concept.

Thank you in advance for your time.

Re: IS IT POSSIBLE?

Posted: Sun Apr 26, 2009 1:22 pm
by DrTom
You can't control the hardware from a web page. You'll have to make a client side app that sits on the phone and takes the picture, and then submits a request (probably via SOAP/REST type thing) to a web service that does the rest of you what you want.

As far as what language, that's really up to you. Windows Mobile6 is a dotnet platform and most languages that have dotnet frameworks will work fine.

Re: IS IT POSSIBLE?

Posted: Sun Apr 26, 2009 2:04 pm
by Christopher
You can run programs with PHP. So if you have or can write a program to control the camera, the you can run that program from PHP.