I am trying to build a very simple button pusher application in PhAB to be
ported over to my 3-Com Audrey. I have built the buttons on a “base” window
which went well. I was able to copy the small application to my Audrey and
run it without any problems.
Now I am stuck trying to add some functionality to my buttons. I have a few
shell scripts created that I want to be executed when I push the buttons. Is
there a simple way to do this? I can’t seem to find any documentation
telling me how to do it. I have created “stub” callback functions, which
generated the sample code. But … I don’t know where to go from here. I see
that there is a blank line which I am assuming is for “my code”. But I have
no idea what I am supposed to do there. If someone can show me an example I
would greatly appreciate it.
Digging through the docs, I am wondering if I am supposed to use a
PtTerminal, or a PtTTY, and then somehow run the shell script with those.
But really, I am lost.
I am fluent in Flash, so I thought I would cheat and put a Flash Widget into
my Ap (to run the shell scripts), but I get errors when I try to run Make
any time I toss in that Widget.
Any help you may offer is greatly appreciated!!
-Ray Dios Haque