Re: [android-beginners] "R cannot be resolved"

2009-11-02 Thread Andareena Vootog
Hi If u are not able to access ur local resources using 'R', its because u've imported "android.R" package. Just delete it and see. Thanks and Regards, Vootog Andarena Vootog Information Systems Pvt. Ltd On Sat, Oct 31, 2009 at 12:30 PM, eldo wrote: > Im a beginner

[android-beginners] Colors from bitmap

2009-11-02 Thread Andareena Vootog
hi if you are using bitmap, use an integer array to store the bitmap. use bitmap.getPixel() to get the corresponding bitmap in integer array. By using bitwise rotation operation, we will get RGB values. (Also byte array can be used). See the code below. int[] pix = new int[pic

[android-beginners] RGB from bitmap

2009-11-02 Thread Andareena Vootog
hi if you are using bitmap, use an integer array to store the bitmap. use bitmap.getPixel() to get the corresponding bitmap in integer array. By using bitwise rotation operation, we will get RGB values. (Also byte array can be used). See the code below. int[] pix = new int[pic