Warning: You must have completed the steps in the prior two posts and they must be working. This is not totally beyond a noob, but it ain't trivial, either. Proceed with care.
Okay, so you've set up the email account and remote commands in the first post. Then, you set up a webpage to construct and send those emails from an HTML form.
Both of the previous steps are required in order to do this using my method. Other methods likely exist, but I'm only going to discuss the one I use.
Requirements:
Setup of items in the first and second posts is complete and working.
An Android phone running Tasker (
http://tasker.dinglisch.net/), available from the Android App store for roughly $6.25 to $6.50 depending on the exchange rate. Tasker does a lot of Very Cool stuff on top of this, but you can go to their site to check it out.
On your Android phone, start Tasker and tap the Tasks button at the bottom.
Create a new task. Tap the New button at the top right and give the task a name like "Control Cams".
At the bottom left, tap the "+" button to create a new item.
Select the Action Category "Net".
Select Net Action "HTTP Post"
In the resulting dialog:
Server/port: <your domain.com>
(No http:// is required, just the domain name)
Path: ha.asp
(assuming ha.asp (see previous post) or your form processor of choice resides in the top level folder on your site, otherwise fully-qualify the path)
Data: HAaction=StartCam
(remember how we set the value for the radio box in the form? This must match that value.)
Label: Start Cams
Tap Done to save.
Repeat for stopping the cams, using this for your data field:
Data: HAaction=StopCam
Label: Stop Cams
At the bottom right, just above the Test button, tap on the icon and select an icon for this task.
You also need to tap the button with the crossed screwdriver and wrench (Tools). This brings up the Task Properties dialog. Select "Menu" for your Task Type and tap Done at the bottom.
Tap Done when you are finished.
You should now have two commands under a named task.
Leave Tasker and go back to the Android home screen where you want to place the widget to execute the commands.
Long-press the screen. Select Widgets. Scroll down and select Task (note the tasker icon next to it).
Select the desired task from the pull-down in Tasker. Earlier, we called it "Control Cams".
Tap the Make Widget button at the bottom. If you didn't select an icon before, you will need to do so now before making the widget.
A new widget should appear. Tap on it and you will be presented with the two tasks you created. Tap on the desired task and weave your magic!
I know this is kind of sparse, but experienced users should have enough to go on to make this work. Good luck to all who try this.