Basicly my question is that how do I add a drawable resource to the R.java file in android eclipse so I can use it with this code:
ByteArrayOutputStream stream = new ByteArrayOutputStream();
Bitmap bitmap = BitmapFactory.decodeResource(getBaseContext().getResources(), R.drawable.kapschlogo);
bitmap.compress(Bitmap.CompressFormat.JPEG, 100 , stream);
Image myImg = Image.getInstance(stream.toByteArray());
myImg.setAlignment(Image.MIDDLE);
doc.add(myImg);
The image is stored in the parent project folder but I cant figure out how do I add it tho te R file.