Skip to main content

Android development

After putting it off for so long, I finally went all out and did it. But it took a far longer time than expected but at least I have taken the precious first few steps. I'm talking about developing for the android platform. I've bought my desire last year in december. But for almost half a year all I did was play around with other software on it, I didn't even start to do the very reason I bought it in the first place, develop my own software on it, until recently. After seeing how long I've procrastinated, I decided to get serious and even bought a few books off amazon and the one which I have been reading which got me over the first hurdle was "Hello, Android". It is a pretty nice walkthrough on how to write your first android software by showing you the steps to write a sudoku game. And a few other small apps to show how to implement other features. I highly recommend it if you're looking for good a beginner android development book.

So the first android app I've written is about something which is quite dear to me, solat. I've wanted to write an application for referencing http://www.e-solat.gov.my (which I use on my blog to display solat times) even before I've got my desire. But once I've got it, I found that Syakhir Jaafar already beat me to it by releasing MySolat. So I've been using that one until I've finally got the drive to write my own. The title of my application is "Solat Malaysia", because, it shows solat times in Malaysia (Yeah, I'm really creative that way.. ). I am writing it more for my own use and practice in writing android app more than anything, so I'm releasing it as an open source software where you can get the code here. So if you are a muslim and using an android phone, please try to download it from the market and maybe give some feedback. I have a few ideas on what feature to add next and all, but some feedback from other users would be great too. But if you are not a muslim (as in you don't have any use for my app), you can still learn from the codes or maybe even advice me on how I can improve mine, check out my github. Any kind of input would be greatly appreciated. My development currently is mostly done in eclipse (yeah, haven't got raw yet.. :P).

Programming for the android is certainly different than what I usually do (web apps mostly) but I can relate to the mvc style with declaring the inteface in the xml resources and the logic in the java codes and all. I guess the main hurdle was actually just getting a feel on how everything glues together (and there is a lot of things, the resources - (strings, menus, layout), the android manifest, the codes, the intents etc). But once you've grokked it, it feels quite natural.

Whichever way it is, the book helped a lot. Expect me to continue to improve the "Solat Malaysia" app (it is very rough right now) and hopefully I'll write even more software for the android platform in the near future. Stay tuned.

Comments

Maira Giftmine said…
Kenapa tiada azan masa masuk waktu solat ?
abdza said…
@Maira Giftmine, sebenarnya ada. Bukan azan penuh, cuma bahagian 'Allahukabar' waktu awal je.. Tapi buat masa nie ada error sikit jadi kadang2 ada, kadang2 xde. Saya akan cuba perbaiki dalam masa terdekat nie. Terima kasih atas teguran.

Popular posts from this blog

Food first post

My blogs' name is High-Tech Rojak but I don't recall ever talking about food. So here's a first. Just recently I got some free time and finally got to cook the pasta I've bought for ages. So here's an account of how it went down.. :) Okay. That's the thing I cooked. I have no idea what it's called. At first I was thinking of buying the ribbon ones, then my wife looked at the colorful spiral ones and said "why not get these? they're more colorful" and so we got them (yes, we know nothing about pasta.. :) So I boiled it, actually put some salt and oil into the water so that they won't stick, drained it and tadaaaaa, you'd get the above. I remember once I tried to cook macaroni and I didn't drain it after boiling it, it filled up the whole pot. LOL... Learned my lesson. Next up the sauce. Like I said we don't know anything about pasta so here's the ingredients we prepared. Yes ladies and gentleman. Instant pasta sauce all bottl

Documentation is a must... after this.

I've been thinking quite a bit about documentation and the 'cost' it involves. And when I say documentation, I mean documentation in general about anything. One obvious case with the industry I'm involved in is user documentation (a.k.a The Manual). Creating great features in software takes time and effort but if it is not documented then the user won't even know about it and finally it never gets used. But then while documenting it you just wish that you're working on the next cool thing rather than have to write this up. So finally you end up not doing the documentation or doing it rather badly. Same thing with this blog writing. I have been doing some pretty interesting things with my phone (rooting it and using cynogenmod and all), some pretty significant life changes (my grandmother passed away) and a lot of other things which I should probably like to remember better or reflect more on it but not documented (here or anywhere permanent) and it would probabl

The Future Of Gaming

I love playing computer games. It's what originally drove me to learn computer programming, I wanted to create my own games. Until now I still have very little success with that, but... I have learnt to program web applications quite well and earning my pay using those skills. And I love open source software. Ever since I started programming professionally, my main work OS has always been Linux (various distributions and all and currently on Arch Linux). I always install dual-boot because... hardware problems (some projectors and printers just couldn't be detected by Linux when I started out, that's mostly not a problem now) and mainly to play games (sure there was some open source games available, but apart from "Battle for Wesnoth" and "FreeCiv" I don't actually recall any games I've played extensively enough to be remembered). But recently the gaming scene in LinuxLand has improved tremendously, partly thanks to the Windows 8 app store like