Welcome to the Official BlackBerry Support Community Forums. This is your resource to discuss support topics with your peers, and learn from each other. New to the forum? Please visit the ‘Getting Started’ link below.
You have to use the full path. Saying "shared/camera/..." is relative to the applications directory. Use the File class to fully resolve the native path to the file. Go up from the File.documentsDirectory (if I recall correctly) and use the resolvePath function.