When I execute this code I get an ActivityNotFoundException Unable to find explicit activity class {com.rcreations.ipcamviewerFree/com.rcreations.ipcamviewer.WebCamViewerActivity}have you declared this activity in your Android Manifest?

which suggests that the intent should be put into the manifest.

can you suggest the relevant lines that I need to put in the manifest?