Notes Archive

  • If 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...

    Problems when your compiler defies sanity and logic

    If 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...

    Continue Reading...

  • … and a bit of iOS file faffing. Getting paths to files inside the iOS application’s bundle: NSString* objPath = [[NSBundle mainBundle] pathForResource:@

    C++ and Objective-C string manipulations

    … 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...

    Continue Reading...

  • If 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...

    Repairing missing Git support in XCode 4

    If 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...

    Continue Reading...

  • I’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...

    Static class variable initialisation in C++

    I’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...

    Continue Reading...

  • After 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...

    MyTinyTodo Email Notification Script

    After 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...

    Continue Reading...

  • Following 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...

    Ubuntu Installation Notes #3

    Following 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...

    Continue Reading...

  • After 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/OpenGL ES texture maps

    After 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...

    Continue Reading...

  • Just 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: Full screen applications

    Just 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 ); /*...

    Continue Reading...

  • Let’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: OpenGL ES 1.0

    Let’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...

    Continue Reading...

  • By 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...

    Android Notes: Debugging

    By 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...

    Continue Reading...