Android Archive
-
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 some basic tile-based scrolling. I also found out how to capture screenshots from my PC.... -
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 ); /* ... rest of code ... */ You need this if playing with OpenGL ES, otherwise... -
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 orthographic projection to begin with, simulating a 2D display using 3D hardware acceleration. What follows... -
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 of a chore, and it can be made even more traumatic by having to use... -
Android Notes: System overview
Posted on January 3, 2010 | No CommentsSo, you’ve got the SDK running, and have a strange confusion about just what exactly is going on. By now you’ve hopefully overcome the culture shock and a lack of a main() function. So… what can this thing do? What is an ‘Activity’? What is... -
Android Notes: Java
Posted on January 2, 2010 | No CommentsAs mentioned in the comments for the previous post, when writing Android apps you need to use Java. While it’s possible to code using C/C++, you really don’t want to unless making life difficult is your idea of fun. The Java you’ll be using is... -
Android Notes: Setting up the SDK
Posted on January 2, 2010 | 2 CommentsThese will form a series of posts detailing my progress in learning the Android SDK. When I first started it was very confusing, and took a while to learn enough information to even make sense of what the documentation was trying to tell me. The...