Database error: [Table 'gotow_ben.blog_categories' doesn't exist]
SELECT * FROM blog_categories WHERE 1=1


Warning: Invalid argument supplied for foreach() in /usr/www/users/gotow/gotow.net/blog/wp-blog-header.php on line 235

Database error: [Unknown column 'user_level' in 'where clause']
SELECT * FROM blog_users WHERE user_level > 0


Warning: Invalid argument supplied for foreach() in /usr/www/users/gotow/gotow.net/blog/wp-blog-header.php on line 298

Database error: [Table 'gotow_ben.blog_categories' doesn't exist]
SELECT DISTINCT ID, category_id, cat_name, category_nicename, category_description, category_parent FROM blog_categories, blog_post2cat, blog_posts WHERE category_id = cat_ID AND post_id = ID AND post_id IN (82,79,76,73,71,69,64,60,43,40,38,33,31,28,18,16,14,13,12,11,10,8,9,7,6,5,4,3,1,2)


Warning: Invalid argument supplied for foreach() in /usr/www/users/gotow/gotow.net/blog/wp-blog-header.php on line 478

Warning: Cannot modify header information - headers already sent by (output started at /usr/www/users/gotow/gotow.net/blog/wp-includes/wp-db.php:80) in /usr/www/users/gotow/gotow.net/blog/wp-commentsrss2.php on line 6
Gotow.net - Blog Comments http://www.gotow.net/creative/wordpress Just another WordPress weblog en Thu, 17 May 2012 15:54:52 +0000 http://wordpress.org/?v=1.2.2 by: Davyd http://www.gotow.net/creative/wordpress/?p=7#comments Tue, 08 May 2012 20:50:31 -0400 4607:7@http://www.gotow.net/creative/wordpress MPR is right. The colorspace obtained through a Get method must not be released. Your code does not have the ownership of the object in this case. Also, if there is an error in creating the context, the routine will quit in the middle. There will be a memory leak, because the bitmapData will not be freed. Here is the correct handling: if (context != NULL) { CGContextDrawImage(context, CGRectMake(0 , 0, width, height), image); CGImageRef imgRef = CGBitmapContextCreateImage(context); CGContextRelease(context); } free(bitmapData); MPR is right. The colorspace obtained through a Get method must not be released. Your code does not have the ownership of the object in this case.

Also, if there is an error in creating the context, the routine will quit in the middle. There will be a memory leak, because the bitmapData will not be freed.

Here is the correct handling:

if (context != NULL)
{
CGContextDrawImage(context, CGRectMake(0 , 0, width, height), image);
CGImageRef imgRef = CGBitmapContextCreateImage(context);
CGContextRelease(context);
}
free(bitmapData);

]]>
by: Kat http://www.gotow.net/creative/wordpress/?p=79#comments Sat, 25 Feb 2012 19:55:53 -0500 4477:79@http://www.gotow.net/creative/wordpress We’re having a slightly different problem… there’s no banding, but the colours are appearing completely wrong. We’re trying to get a sandy coloured png to appear, but it turns blue on android :/ and we can’t seem to find any fix for it, or even anyone with the same problem. We’re having a slightly different problem… there’s no banding, but the colours are appearing completely wrong. We’re trying to get a sandy coloured png to appear, but it turns blue on android :/ and we can’t seem to find any fix for it, or even anyone with the same problem.

]]>
by: Josh http://www.gotow.net/creative/wordpress/?p=64#comments Mon, 12 Dec 2011 11:30:47 -0500 4471:64@http://www.gotow.net/creative/wordpress Nice work, this did the trick for my app! Nice work, this did the trick for my app!

]]>
by: Vlad http://www.gotow.net/creative/wordpress/?p=69#comments Tue, 22 Nov 2011 02:28:13 -0500 4467:69@http://www.gotow.net/creative/wordpress WOW, George, really? There will be no supply, if the is no demand, man. And, you are creating demand. Ben, maybe you should consider blacking out the app names that way you don’t inadvertently advertise them. WOW, George, really?
There will be no supply, if the is no demand, man. And, you are creating demand.

Ben, maybe you should consider blacking out the app names that way you don’t inadvertently advertise them.

]]>
by: Vlad http://www.gotow.net/creative/wordpress/?p=69#comments Tue, 22 Nov 2011 02:24:19 -0500 4466:69@http://www.gotow.net/creative/wordpress I agree. I wish that someone would man-up and clean up this mess. I agree. I wish that someone would man-up and clean up this mess.

]]>
by: Christos http://www.gotow.net/creative/wordpress/?p=16#comments Tue, 15 Nov 2011 05:11:51 -0500 4464:16@http://www.gotow.net/creative/wordpress Local caching of the loaded pages would be an amazing feature, so that they are reloaded immediately. Local caching of the loaded pages would be an amazing feature, so that they are reloaded immediately.

]]>
by: fredwardo http://www.gotow.net/creative/wordpress/?p=64#comments Sat, 05 Nov 2011 13:02:07 -0400 4462:64@http://www.gotow.net/creative/wordpress Searched all over the web trying to figure this out. Your code is fantastic! Thanks very much for posting this. It’s helped me out a ton! Searched all over the web trying to figure this out. Your code is fantastic! Thanks very much for posting this. It’s helped me out a ton!

]]>
by: Dwayne http://www.gotow.net/creative/wordpress/?p=79#comments Fri, 30 Sep 2011 13:01:13 -0400 4453:79@http://www.gotow.net/creative/wordpress @Richard - Minor correction: the name of the folder needs to be “drawable-nodpi” (you had an extra “-"). BTW, thanks for sharing your 9-patch files - some good stuff there. @Richard - Minor correction: the name of the folder needs to be “drawable-nodpi” (you had an extra “-").

BTW, thanks for sharing your 9-patch files - some good stuff there.

]]>
by: Richard Lalancette http://www.gotow.net/creative/wordpress/?p=79#comments Fri, 02 Sep 2011 12:10:53 -0400 4450:79@http://www.gotow.net/creative/wordpress I found a great trick for my game. I use the drawable-no-dpi folder. This way, nothing happens to my graphics. I use photoshop only now and create plenty of nice 9 patch PNGs. Feel free to drop by and grab them on my blog: android9patch.blogspot.com I found a great trick for my game. I use the drawable-no-dpi folder.
This way, nothing happens to my graphics.

I use photoshop only now and create plenty of nice 9 patch PNGs.

Feel free to drop by and grab them on my blog:
android9patch.blogspot.com

]]>
by: Richard Lalancette http://www.gotow.net/creative/wordpress/?p=79#comments Fri, 02 Sep 2011 12:10:31 -0400 4449:79@http://www.gotow.net/creative/wordpress I found a great trick for my game. I use the drawable-no-dpi folder. This way, nothing happens to my graphics. I use photoshop only now and create plenty of nice 9 patch PNGs. Feel free to drop by and grab them on my blog: android9patch.blogspot.com Free to use for any apps, including commercial. They can be editing with photoshop or the android 9 patch tool. I found a great trick for my game. I use the drawable-no-dpi folder.
This way, nothing happens to my graphics.

I use photoshop only now and create plenty of nice 9 patch PNGs.

Feel free to drop by and grab them on my blog:
android9patch.blogspot.com

Free to use for any apps, including commercial.

They can be editing with photoshop or the android 9 patch tool.

]]>