I have an image view and a string src. I want to set the imageview source to the string src that I have, but am unable to do so beacuse the method expects an i
Each image has a resource-number, which is an integer. Pass this number to "setImageResource" and you should be ok.
Check this link for further information: http://developer.android.com/guide/topics/resources/accessing-resources.html
e.g.:
imageView.setImageResource(R.drawable.myimage);