Fragment and Activity in Android Studio 2.1.1

If you have been using Android Studio > 1.5, a while ago, we might have been pampered by the automatic creation of new project with Fragment built-in ready for immediate development. Such luxury is helpful, but it also may taken away the understanding of how we can actually add fragments to a new project manually. This will happen when you have upgraded Android Studio to 2.1.1, and are not familar with the latest changes to the user interface.

Finally - redis to the rescue

Since last October, I have been working on porting the previous MyUniBus shuttle bus tracking service to a newer version using Cordova based hybrid environment (details on that will come in another entry, hopefully soon). The backend resides on a digitalocean droplet (the cheapest!) with only 512MB RAM, which is sufficient in most test cases. When I say in most test cases, it actually means - in real world applications, it may reach its limit.

Confluence 2016 - a fruitful visit to Amity University and India

Last week I had the privilege to attend the Confluence 2016 conference in Amity University, Noida, India. First of all, I gave a keynote speech named: "From IoT to IoP: Towards Democratization of Data". At the same time, I also presented a presentation for a paper named "Wi-Fi Fingerprint Localisation using Density-based Clustering for Public Spaces: A Case Study in a Shopping Mall".

Smart transit in a smart city

Smart city has been a vision for many countries since the last few decades. Some of the results of research are already being integrated and implemented in cities around the world. Nevertheless, the applications and future scenarios for a smart city are still active areas one finds in the research communities.

It's soon the end of 2015!

Time flies. how true.I have "rebooted" this blog by thinking I should write more. Guess what, after a few updates at the beginning of 2015 - nothing much practically happened here since then. In real-life, many things happened. It was a great year with interesting research carried out, publications accepted and quite some travelling done. Teaching wise I have again explored a few more things to hopefully better gauge the needs and outcome. All in all, a fruitful year. The following is kind of a short summary (remind me if I missed something):

Smart device-based context and activity recognition

Updated March 2015
Interested to pursue a Master of Science by Research degree (
validated by Lancaster University), or PhD degree at Sunway University, investigating the below research topic? Email me at (replace -at- with @). 

With the rise of new technologies, particularly mobile devices, wearables and almost-ubiquitous connectivity, we are now swamp with exciting techniques that aim to help improve and automate many tasks in our everyday living. One particular area that looks into ways to enable machines to understand situations, needs and human better is context-awareness. Since the introduction of Ubiquitous Computing (or Pervasive Computing), researchers have been investigating various approaches that put computers into the background. As Mark Weiser proposed, the best technologies are those who stays in the background.

This is where acquisition of implicit information may contribute well - imagine the different devices around us, may it be computers in a room, or the smartphone you are carrying to even little sensors placed "everywhere" - they provide all sort of information in almost real time. By applying some clever mechanism, or what we technically call algorithms, we build systems that will make sense out of these seemingly "senseless" bulks of information. This is where context acquisition can play an important role. Starting from a few years back, this field of study has a new sexy name - big data. Though big data covers a much larger scope, but the gist of the approaches is still the same - how to make sense out of no(n)-sense.

Talk at Star Education Fair 2015

the crowd at Star Education Fair

I was privileged to be invited to give a talk at the Star Education Fair 2015 yesterday, titled "Speaking in Code: Career in Coding and Programming". It was a good session with almost a few hundred students and parents listening to us. Together with me was Gurpardeep (APU) and Chin Ike (KDU), covering topics from general career prospect of IT/Computing jobs, atttributes/attitude of a good computing graduate to interests upcoming career path - Game Development.

Indoor positioning and navigation

Today, indoor positioning, along with indoor navigation, is currently no longer impossible. Nevertheless, it is still an interesting and growing research area. I particularly am interested to explore various techniques that enable unsupervised approach to learn and build patterns, commonly known as fingerprints, that may lead to usable, or better still precise indoor positioning. Once we can successfully position a person in an indoor environment, more advanced services can be realised. One of them will be indoor navigation. Again, there are various techniques to enable navigation for indoor purposes too.

Pledge or not?

Came across this today:

truly a good movement I must say - I have observed so many people struggling and giving up on coding, because the learning just does not make sense. I have asked around and I think no one knows the $1000 answer that 100% uplift the burden any budding coder has.


It has been really long. perhaps 4-5 years since I last "actively" blogged. Not having the time is half truth. It was during the peak time of everything - phd, geek-life, research/work, family. Lots of ups and downs, but I am nevertheless grateful.

Fast forward to today - seeing things are somehow settled (and I promise you work is still piling up!) and I often think ~ "hmm, when will I ever resumed what I used to enjoy doing...". I realised thinking will not change things. Asked a question in FB, had some exchanged with students and decision was made...

Subscribe to RSS