Skip to main content

Update to "Solat Malaysia"

Alhamdullillah finally I have done it. I have finally took enough time to upgrade the "Solat Malaysia" app to save the solat schedule for a whole month from e-solat.gov.my. So now it would update to the current day schedule even though the site is currently down (which it comes down a lot, and people start blaming the app for not updating). To be fair, it could be that the app was "part" of the reason the website kept on going down considering that there was thousands of "Solat Malaysia" users at least updating their app every single day (and every single solat schedule app that uses the same update model). It kept on going down so many times that I even though about proposing to JAKIM to let me have a go at properly setting up their server to cache, balance and handle such traffic for free. But never got round to that and finally just upgraded my own software to play nice instead.

Apart from the all important downloading the whole month schedule update, the azan works properly now too. At least properly on my experia active. Before this it relied on a running service to check when it was time to sound the azan, which usually the service gets killed and never start again, causing the azan to not happen. I've finally fixed it to properly set and use an alarm manager and thus there is no background service which might be killed to rely on. Truth be told I have no idea what I was thinking early on when I used the service approach. It is quite silly.

Other things which have improved a bit (but just a bit though) is I spent a little time on streamlining the process to change area and a bit of cosmetic touch up. Finally I've actually aligned the text in the widget.

And as always, the most important part for me from "Solat Malaysia" is learning how to program for the android and it's all still available for the public at https://github.com/abdza/solatmalaysia. Some of it like I said is a little bit embarrassing (like why on earth did I use a service for the azan) but it's also encouraging that I am actually improving my android coding and understanding. Finally I can put this to rest for a while and concentrate on my other projects. Thank you all for the support you gave even when the software really sucked and even I couldn't recommend it to my friends. But now I finally can recommend it to my friends, so Shazman, if you're reading this, install it NOW... :P

Comments

kamarul said…
This comment has been removed by the author.
kamarul said…
Salam Abdullah,

Is it possible to create a server where it cache info from Jakim. You apps then retrieve from that server, similar to mirror server?

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