[android-developers] Re: Question around Bitmap loading

2011-09-02 Thread blew
So this is telling me all the extra memory that's being used up. Any idea why it's labeled as Bitmap Size= in the error message? Doesn't seem to me to be very relevant. Thanks for the answer, I'll keep that in mind. On Aug 27, 9:38 pm, Streets Of Boston flyingdutc...@gmail.com wrote: Because

[android-developers] Question around Bitmap loading

2011-08-27 Thread blew
Hello fellow developers, This is again, about the famous external allocation too large for this process Out of Memory exception when loading Bitmaps into your memory. The problem revolves around the following error message: 1502400-byte external allocation too large for this process. Out of

[android-developers] Re: Intents problem

2010-05-08 Thread blew
You may want to update your intent with the latest app state just before the user leaves your application. That way your onResume will work with the most up-to-date intent: Either the one from updated by your widget or the one updated by your app itself. On May 8, 12:25 am, Esdras Beleza

[android-developers] Re: How to draw smooth gradients?

2010-05-06 Thread blew
Can't really test your code now, but: Why don't you put your bitmap888 when constructing your canvas888. Canvas canvas888 = new Canvas(bitmap888); On May 6, 11:32 am, fexpop caspar...@googlemail.com wrote: On 5 Mai, 16:44, blew pascal.jac...@gmail.com wrote: I think you can do

[android-developers] Re: How to draw smooth gradients?

2010-05-06 Thread blew
...@googlemail.com wrote: On 6 Mai, 14:23, blew pascal.jac...@gmail.com wrote: Why don't you put your bitmap888 when constructing your canvas888. Canvas canvas888 = new Canvas(bitmap888); Ooops, that's because I wanted to edit the actual code I used for this message. I added the 888 for clarity

[android-developers] Re: save (complex?) application state to bundle

2010-05-06 Thread blew
OK, I think I got the main idea. Many thanks for pointing me in the right direction! On May 5, 5:11 pm, TreKing treking...@gmail.com wrote: On Wed, May 5, 2010 at 10:06 AM, blew pascal.jac...@gmail.com wrote: OK, that leaves me with figuring out how to serialize parts of objects. If you use

[android-developers] Re: How to draw smooth gradients?

2010-05-05 Thread blew
So how do I tell the device to use 8-8-8 bit color depth for displaying the color bar? I think you can do this by drawing the gradients in a 8-8-8 bit color defined canvas this should apply the configuration to all elements in the canvas: Bitmap bitmap = Bitmap.createBitmap(width, height,

[android-developers] Re: save (complex?) application state to bundle

2010-05-05 Thread blew
OK, that leaves me with figuring out how to serialize parts of objects. Thanks alot. On May 3, 9:47 pm, TreKing treking...@gmail.com wrote: On Fri, Apr 30, 2010 at 11:33 AM, blew pascal.jac...@gmail.com wrote: Unfortunately it appears that we can't serialize bitmaps and considering they're

[android-developers] save (complex?) application state to bundle

2010-05-03 Thread blew
Hello Android Developers! This is a bit complicated to explain (and my first post), so bear with me please: I am currently trying to figure out the best way of saving my application's state in a bundle on the onSaveInstanceState event (working on a game). My application's state is based on a