Thanks for the inputs. I tried various combinations of x,y nothing really worked.
Beyond that, you don't say what you're doing with the Bitmap. I eventually need to pass the Bitmap (as a byte array) to another device(LED based) which will display the text. Are you sure you're seeing the results of your draw*() at all? I am not seeing any results of the drawtext() function. The bitmap object remains unaffected (height = width= -1) *Bitmap myBitmap = Bitmap.createBitmap(16, 16, Bitmap.Config.ALPHA_8);* Shouldn't the height and width be 16 as per this code ? Since I am new to this I don't know if my understanding is messed up or I am missing some config/permissions etc. Would really appreciate any help or insight on this. Best Regards, Neha On Thu, May 26, 2011 at 11:54 PM, String <[email protected]>wrote: > IIRC, the y coordinate is for the bottom of the text. So I think the code > you have will be drawing it off the top of the canvas. Try moving your > coordinates around. > > Beyond that, you don't say what you're doing with the Bitmap. Are you sure > you're seeing the results of your draw*() at all? > > String > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

