Notes Archive
-
Problems when your compiler defies sanity and logic
Posted on November 26, 2011 | No CommentsIf you use XCode and have to deal with C++, Objective-C and Objective-C++ you might one day come across utterly mind-bending compiler errors that seem to defy logic. Weird things... -
C++ and Objective-C string manipulations
Posted on October 5, 2011 | No Comments… and a bit of iOS file faffing. Getting paths to files inside the iOS application’s bundle: NSString* objPath = [[NSBundle mainBundle] pathForResource:@"test" ofType:@"obj"]; ‘objPath’ will now contain the full path... -
Repairing missing Git support in XCode 4
Posted on August 4, 2011 | No CommentsIf you have a freshly installed copy of Snow Leopard, and an equally freshly installed copy of XCode 4 you’ll find that XCode 4 doesn’t support the git source control... -
Static class variable initialisation in C++
Posted on March 31, 2011 | No CommentsI’ve been trying to make a simple Service Locator class work but had a problem with bizarre linker errors, where the static member variable couldn’t be resolved. After a lot... -
MyTinyTodo Email Notification Script
Posted on November 13, 2010 | 3 CommentsAfter losing interest in Google’s not so spectacular tasks addon, and not wanting to use or pay for other people’s web based Todo lists I found MyTinyTodo which seems to... -
Ubuntu Installation Notes #3
Posted on June 26, 2010 | No CommentsFollowing on from my previous notes, here’s some more. Again, if this isn’t interesting exits are located to the front, rear and sides. You may have to go backwards to... -
Android/OpenGL ES texture maps
Posted on February 27, 2010 | 1 CommentAfter much Googling, testing, head scratching and the odd SVN reversion I’ve managed to texture-map things. Specifically a triangle-strip that draws a square. So I drew a screenful, and implemented... -
Android Notes: Full screen applications
Posted on January 31, 2010 | 1 CommentJust a quick note on how to make an Activity run full-screen. Simply insert this magic into the Activity’s OnCreate() super.onCreate(savedInstanceState); /* ... etc ... */ requestWindowFeature(Window.FEATURE_NO_TITLE); getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN,WindowManager.LayoutParams.FLAG_FULLSCREEN ); /*... -
Android Notes: OpenGL ES 1.0
Posted on January 26, 2010 | No CommentsLet’s take a diversion into the world of OpenGL, specifically the implementation of OpenGL that lives inside an Android powered device. So, OpenGL ES 1.0 then. I’ll be learning about... -
Android Notes: Debugging
Posted on January 3, 2010 | 1 CommentBy now you’ve probably written a bit of code, and no doubt it’s not working quite right. It’s time to embrace the fantastic world of debugging. Debugging is a bit...





