[android-developers] Re: Use of resources (R.java structure) in other Java application

2008-05-21 Thread NikB
The Eclipse plugin source code is available. If you are familar with RCP development, import this plugin into Eclipse. The plugin monitors resources in projects that have an Android nature and will regenerate the R file whenever a change is made to res/ folder resources. I think in order for

[android-developers] Re: Custom listview

2008-04-04 Thread NikB
On the ImageView question, this should work: ImageView image = (ImageView)findViewById(R.id.avatar); Bitmap bitmap = BitmapFactory.decodeFile(photoPath); //this is the full path in my case it is /sdcard/sample/foo.png image.setImageBitmap(bitmap); The setImageDrawable(int drawable) with a