Month: June 2015

Android: Singleton vs ApplicationContext

Well here’s a topic that’s hotly debated in Android design. Technically, both of them could work for rapid development. However, I prefer Method B as you can modularize your singletons to support specific functions in each class definition. Best if you can work without them, but its often not the case. Method A – Extending Application Context Step 1: Create… Read more →

SOLN – 403 Forbidden on alias directory with Apache

Here’s to add an alias directory for Apache 2.4 in Windows. Remember to restart your Apache service. NOTE: If it doesn’t work plain-vanilla for you, try using a folder outside of C:\Users\username\.

Read more →