Free QR Code Generator on Titanium Appcelerator

I was looking around for a simple way to generate QR code in Titanium Appcelerator and ​to my surprise, they aren't any around. 

The top results in Google Search was this link, which is bad cause you need to have internet connection to generate the QR code as it relies on Google Chart API. Not only that, you need to start writing your figuring out a way to cache the data and writing Views to handle offline connection. Just inefficient and cumbersome.

I happened to read the comments of the post (usually I don't) and found out about this​, which ain't too bad. Just that, I don't like the fact that I don't know where to store the html file and I have to create a Ti.UI.WebView everytime I need to use it. 

So I created a "wrapper" to make things easier​ and if I ever need it for other projects. Some people might comment that WebView ain't that efficient. Well, it could be, but, at the moment, it served my requirements. Till I need to worry about performance (im not sure how much faster it can be optimized), I think I'll stick to this.

Here's the screenshot:​

QR code generator, hard at work!

​All you need is to clone this repo into your "Resources/libs/qrcode" and you can start using it. Remember to change the path if you have a different path that mine. Here's the code. Enjoy!

Sexy black kindle cover :)

Just finish a book on Starbucks titled "Onward: How Starbucks Fought for Its Life without Losing Its Soul". Love reading again, especially with Kindle. 

Kindle has been amazing because it is so easy on the eyes and wrist (is like, unlike the iPad). I'm very sure with the Kindle, I'll be reading a lot. And because the device body has a metallic-like texture (smooth and easily to slip off my fingers), I feel a lot better with the leather cover around it. Better still, it has in-built light that takes power from Kindle instead of a boring clip.

Alright, enough talking. Here's the deal.

Kindle cover in action :)

Woohoo, my first Kindle!

Finally, my kindle arrived at my door step. ​It's Kindle Touch 3G with Ads (oh well, I'm poor :P)

Kindle in its virgin state :)

Voila, downloaded my archives. Now I can start reading with ease - no strain on my eyes and wrist. ​​

Getting charged...

​Shall report my satisfaction in a few days time. I can feel it is better than my iPad :) 

Hello World, again =)

I'm Mickey Cheong and I'm a software developer - mostly on web in Python, Django, Jquery, etc. It's been 10 years since I started on my first web project in PHP. I've been an entrepreneur - trying out various things - couple of successes, mostly failed. Nonetheless, I keep trying because the fun of solving problem and making people happy makes it all worth it.  ​

I've been trying to start my blog since I sold mangoorange.com (a success, btw). Now, ​I'm dead serious about it (haha, I said that a couple of times). 

So, what changed from the last time?
I have a plan on what to blog about. It will be interesting stuffs in my life and work but mostly around these few topics. 

  • Travels - I've been to many places but I didn't have a chance to put it down. And now I'm in New York City. I hope to share more in the future. 
  • Work ​- Everyday, I've been working on my projects and I've been encountering a lot of problems. I hope to share it here so that others will not waste the same amount of time I did. It will be like what I did in mangoorange.com
  • Projects - I've been working on a couple of projects now - mostly at the stage of launching, but haven't figure out the right way to market it or I didn't have the time to do it. However, I would love to share the progress and the idea behind it.  ​
  • Cooking - ​I figured I didn't have the talent to learn musical instrument, guitar and drums. But I've been learning how to cook and I think I have made some good progress in this area. So, I hope to share my success (and maybe, failure) here. Maybe I'll start my own restaurant when I retired, if I succeed :P
  • Life - ​At times, I do discover new people, share new insights and learn new things around us. I hope to share with my friends as well. 

Lastly, I hope through this blog, I can learn to write better. ​So stay tuned for more :)

Cheers,
/mick.