[android-beginners] Re: Get an array of colors from an image

2009-11-02 Thread Vootog andarena
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] Re: how does one change the font COLOR in an applicaton

2009-11-02 Thread Vootog andarena
Hi,, Change the fontcolor of textview or edittext with android:textcolor="#c". OR put an xml colors.xml in res\values. colors.xml - #ff00 #ff22ff11 #80ff Give reference from layout as below Thanks And Regards Vootog Anderena www.vootog.com On Oct 31, 4:30 

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

2009-11-02 Thread Vootog andarena
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 www.vootog.com On Oct 31, 10:43 am, erisa wrote: