IS IT POSSIBLE?

Not for 'how-to' coding questions but PHP theory instead, this forum is here for those of us who wish to learn about design aspects of programming with PHP.

Moderator: General Moderators

Post Reply
sharpmac
Forum Newbie
Posts: 1
Joined: Sun Apr 26, 2009 12:41 am

IS IT POSSIBLE?

Post 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.
DrTom
Forum Commoner
Posts: 60
Joined: Wed Aug 02, 2006 8:40 am
Location: Las Vegas

Re: IS IT POSSIBLE?

Post 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.
User avatar
Christopher
Site Administrator
Posts: 13596
Joined: Wed Aug 25, 2004 7:54 pm
Location: New York, NY, US

Re: IS IT POSSIBLE?

Post 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.
(#10850)
Post Reply