Finally the new Android SDK (named m5-rc14) is here! So I eagerly downloaded it. Well the good news is that now Android has a brand new UI, and some enhancements. The bad news is that monolithandroid refuses to work. Hmm... you might think, maybe with a little bit of tweaking here and there you are only a few lines of code away from your app working again. Well, that maybe the case for most android apps written with the previous SDK, but not with mine. Yes I have made the necessary changes to android.xml, and to various other xml files, and I even replaced a few method calls here and there, but the problem is that when I run my app in the emulator I get the following window. That means, my fellow androids, that without major code changes, my app is not going to work with the current version of the android SDK! For now, if you want to use OpenGL/ES you HAVE to use surface view! Ouch! So back to the drawing board! I hope that I will be able to update my code soon. But I shouldn't complain! That's the price that an early adopter has to pay...
As some of you may have noticed I've put monolithandroid development on hiatus. The reasons: Some personal mishaps (which include my broken elbow, my desktop computer dying of old age and increased workload in my dayjob). But the main reason is that I am waiting for the brand new release of the Android SDK. I hope that the new SDK will correct a few bugs and that an increased number of API's and documentation will become available (for example javax.sound.sampled and javax.sound midi). The new SDK will sport a new UI as I hear (designed by TAT?). In the meantime, in Barcelona, Mobile World Congress is taking place. I wish I was there because I hear that a few manufacturers are demoing android powered devices and the first reviews are really positive! But no sign of monolithandoid so far ;-). Hey guys, monolithandroid is free software, load it up to your devices, I want to see it running in real hardware!
Programming in the Android platform is very exciting. Unfortunately for me, it can be very slow, because from Saturday I have a fractured elbow. I went to the countryside to help my girl to handpick the olives from her olive trees. Where I live (that is Kalamata, Greece), everyone has at least one field planted with olive trees. And from November till February most folks are handpicking their olives. While I was at the field, I slipped and I unconsciously used my left arm (which is the one I use the most) to stop my fall. But in the process, I hit my elbow pretty hard. I went to the hospital and the X-Rays showed that I broke a bone near my elbow. So now my hand is tied and I can only move my fingers. The doctor said that my arm should remain tied for 15 days. So coding for MonolithAndroid will be slower. Arrgh!
It's been a while since I created this blog. The fact that I made no posts since October does not mean that I sat idle. On the contrary the end of 2007 has been very active programming-wise. I was experimenting with the SDL library, when I realized that it would be nice to build a game in order to learn a few things. Two weeks later, I had an SDL version of tetris, with the added bonus that the rendering was done using open GL. Some of the code for the tetris game came from a tetris version I created 4 years ago, during a hot Greek August for the Mobile Windows Platform (Written in Visual C++). Creating the SDL rewrite of the app was easy, and using openGL made possible the rotation of the playfield using the mouse. I added a crude explosion effect when the player completed lines, and I came up with a rough 3d font rendering routine. All in all a nice programming project (done with Visual Studio 2005). In parallel, I was toying with the sony PSP (playstation portable). I was trying to install and learn the open source pspsdk. After several attempts, I had an almost working version on my laptop. The next step was: "Wouldn't be cool, if I ported the sdltetris game to the psp?" PSP supposedly has SDL support so that would be a breeze eh? Well no it wasn't because I couldn't make the pspSDK SDL library work properly. The OpenGL part was misconfigured, or I don't know what. So I decided to bite the bullet and rewrite the game using psp sdk calls. It was coded in c++ using the gcc compiler and notepad++ as the editor. That took almost two weeks and the result is monolithpsp found in here: http://monolithpsp.googlecode.com
What's next? The launch of the Android platform, of course. Google launched the Android platform on November. When I read the first details, I decided to take a look at the Android SDK. After a few skimming on the API details, I saw that the platform supported OpenGL, so I decided to port my monolithpsp game to the Android Platform. I must confess that Android Developer Challenge gave me one additional reason to do so. So after a week of programming, the first version of the game became reality.(I am much more proficient in java than in C++ arghhh!). For more details, check this blog again. Oh and go check out http://monolithandroid.googlecode.com for the monolith android game. See you soon!
Hello world, or should I say printf("hello world!");
In this blog, I will be discussing past, present and future programming projects, I will be complaining about the state of IT in Greece and in general and hopefully I will present you some code for dissection and perusal. I warn you that this is not a C, C++ or java blog, or a Windows or Linux or whatever blog. I use whatever it takes to get the job done.