Whatever is represented by R.id.. is an id for a resource type from the project's pre compiled assets. I don't think you can get an id value for an image taken with the Camera.
Also note that the type of R.id.. is an int.
I know the above is not an answer. If you want to take an image using the Camera and save it in the database, check thisthis question in SO. Hope it helps.