Thursday, January 22, 2009

Make ur phone work as a web cam

You can begin using your phone as a webcam almost immediately. You have to use your phone to initialize the connection.

* Open the 'Applications' folder.
* Here you'll find an application labeled 'WebCam'.
* When you've opened the 'WebCam' application, select 'Options'.
* Select 'Connect' from the 'Options'
* menu.
* A screen showing the most recent Bluetooth devices you connected to your phone will be displayed.
* If your PC doesn't appear on the list, select the 'More devices' option.
* Scroll to your computer's name when it appears and press 'Select'.
* Your PC can be identified by the computer icon next to the name.
* On your PC, the preview window is much larger.
* The quality of the video is dependent on the resolution of your cellphone camera. (For this workshop, we used a Nokia N73, which has 3.15 megapixel camera.)

I- phone

Requirements:

You need a jailbroken iPhone/Pod with firmware 2.X (instructions can be found in a lot forums in the net)

You need a SSH server running on it. The most common is openSSH and it can be found on Cydia.


Installing:

1) Download and extract the app from the supplied links
2) Upload your app to the /Applications folder of your iPhone.
3) Set the permissions of the app to 755 recursively.
4) Create a folder called “Documents” in /var/mobile/ and set permission to 777.
5) Create a folder called “Documents” in the /Applications folder and set permissions to 777.
This will fix the Disk Full error message seen when launching the game.
6) Reboot your Device.

to get the envirment of a remote system

#include

int main(int argc, char *argv[])
{
char *addr;
if(argc < 2)
{
printf("Usage:\n%s \n", argv[0]);
exit(0);
}
addr = getenv(argv[1]);
if(addr == NULL)
printf("The environment variable %s doesn't exist.\n", argv[1]);
else
printf("%s is located at %p\n", argv[1], addr);
return 0;
}