camera application error please rectify

i made a camera application

i used the in built streaming video and tried to capture the image

but it showed an error when i clicked the button capture

it showed

Application not authorized to access the restricted API.

i used synchronised(this) in the function for command invocation of capture

please suggest a solution

am i doing a illegal operation or legal operation

please suggest

Vignesh

[457 byte] By [vignesh@i10na] at [2007-11-27 6:00:24]
# 1
i my self rectified the errorit was a problem with the emulator i m done with it
vignesh@i10na at 2007-7-12 16:38:32 > top of Java-index,Security,Cryptography...