Tips for debugging Android Apps with Cordova

I’ve been working with PhoneGap/Cordova and Meteor JS lately to develop an e-commerce site/app hybrid. Here are some tips I’ve discovered about testing on Android

  1. You need as many variation of Android devices as possible. Right now looking at the current market, I would recommend at least one of each for Android 4, 5 and 6 (Ice Cream sandwich, Jelly Bean and Kit Kat) Tablets are fine, but best to use actual phones to check out for screen size issues (specially when it comes to scrolling)
  2. Check if the phone is plugged in on both side by checking if it is charging
  3. Command for loading Meteor JS + Cordova app on Android devices is:
    $ Meteor run android-device
  4. Don’t forget to connect to database before running Meteor (MONGO_URL=mongodb:// or include settings (–settings settings.json)
  5. Even if you have no use for it, you should still install Android File Transfer on your computer, it will instantly tell you if your device is plugged in and if the cable is still functioning correctly!
  6. Bear in mind, there is no chrome device inspector for devices running Android 4 “Ice Cream sandwich” or lower. For CSS issues, making a lot of colourful borders to help you see what’s going on.


Weekly top 5 #35 – Our brain, training it and understanding it

One Article:
Train your brain to get what you really want

“Never ask advice of someone with whom you wouldn’t want to trade places.” That’s only one example of insightful article on how our brain really works and how to make things happen.

One Video
Five Principles of Persuasive Product Design

An informative talk by Nathalie Nahai, web psychologist (@NathalieNahai) on five principles to bear in mind when designing sticky products.

One fantastic offer
Udemy Black Friday offers – $12 per course

If you want to thrive in business or tech, you have to continue to learn and Udemy is one heck of a platform to help you to do so, even more so when they have promotions that are 95% off. I bought 5 courses, on Javascript, marketing and (not without irony) learning

One Twitter account to follow
@I Am Devloper

Programmers and web dev geeks would understand. Example:
“The Top 100 JavaScript Frameworks of 2015″
ಠ_ಠ this is an issue..

One Tool

Have you ever wanted to focus but couldn’t? or tried to rest but your mind was just too busy? Well it turns out sound wave at particular frequencies can help in just this way. Well worth trying out the free trial.

Weekly top 5 #34 – Zombie food, Pocket and drawing

Hello boys and girls,
How are we this week? Hong Kong is FINALLY getting cooler, which of course makes me just that little bit less grumpy. Rather hard to believe Christmas isn’t actually that far away

One List:
Who You Should Eat (if you become a zombie)

A rather hilarious and cleverly thought out “menu”. The premises of this list is that free range lean meat are much tastier (think kobe beef), therefore intelligent brains should taste much better (for a zombies).

One Slide Deck
Gymnastic Floor Skills

The idea of gymnastics might seem intimidating for a lot of people, but at the end of the day, it’s all about moving your body and being strong and flexible. We should all be moving a lot more, plus it can be so much fun

One List
Tricks To Fluent Speeches

Public speaking is not easy for most of us, luckily some rather smarter folks had put together some rather simple tricks to help us get through our stage fright. Hint, like many things in life it requires planning and the ability to observe yourself.

One lot of Inspirations
10 Drawing Myths

I used to love to draw, I used to love art classes and dream of being a comic book artist (I still love reading comics now). This article explores some of the most common myths on why most of us think we can’t draw. It really isn’t as hard or as complicated as we think.

One Video
Everything We Think We Know About Addiction Is Wrong

A fascinating video explaining what REALLY causes addictions? Hint, it’s not the drug itself, its more to do with our surroundings and the connections we share with others. To me, it also shows how bad we are at looking out for one and another. Wonderfully made video.


[Good] Some exciting plans are slowly coming together 🙂
[Bad] Getting fat, more so than I have ever been despite training in Muay Thai lately. Rather disappointed with myself

Weekly top 5 #33 – Babies, Drawing and Shutting Up

One Law:
“Nine women can’t make a baby in one month” – Brooks’s Law

A software engineering theory from Fred Brooks that “adding manpower to a late software project makes it later”. Now if only more clients can understand this truth.

One Tweet
Sometimes you’ve got to shut up, swallow your pride and accept that you’re wrong. It’s not giving up. It’s called growing up

After 30+ years, I’m still learning. Unfortunately it doesn’t get any easier – From @fact365

One Article
Startup sues former employees who launched similar company; CEO warns, ‘If we’re wrong, we’ll win’

This wasn’t the original article I was hoping to post, the original article was by Michael Allen on Medium, which for what I can only assume to be legal reason has since been removed. I’ve actually been to the SMULE office last year, the founder seem like a rather nice guy, giving us a very warm welcome. I can’t speculate who is right/wrong here, but it does warn us to be very careful how you hand new startups

One Video
Animated map miles of cable hidden under the ocean that power the internet

Slightly geeky video on how optic fibres are laid out around the world, with all the wifi we are surrounded by its easy to forget we still need cables.

One Personal Project

I’ve been using as my portfolio site for about 4 years now, although I was happy with the .com I was never truly happy with the name. After months of contemplation, I’ve finally made the switch to the new domain SHAPES.IO. It was my first time back-ordering an expire-and-soon-to-be-public domain ( It wasn’t cheap, I had to put down a no-promised £60 GBP first and pay another £60 GBP for the domain for 2 years. But I figured it was a safer bet then user‘s auction which potentially could be even higher.


[Good] New site / New Brand finally live [Work in Progress]
[Bad] Working from 9am to 3am on Monday got the job done, but I was mentally useless by 3pm the next day after only 4 hours of sleep – MUST NOT DO THIS AGAIN

Weekly top 5 #32 – Burning out and 5 mins to bad ideas

One Quote:
“There are two things in this world that take no skill: 1. Spending other people’s money and 2. Dismissing an idea.”

Next time you hear an idea you don’t like the sound of, why not spend just a few more minutes on it before deciding if it is really bad.

One Set of Visuals
On Machine learning

A beautiful and informative demonstration to what is machine learning, really amazingly designed

One big list
20 podcasts eposides for entrepreneurs

I really enjoy podcasts, I listen to anything from movie news to startup interviews, this is a fantastic list of podcast episodes for startup folks, just put it on during your commute.

One Article
Steal My App, I Dare You

A pretty amazing story for how one entrepreneur is approaching his own app ideas and helping them grow… by giving it away. Very much worth a read.

One Cool Product
A screen for the back of your screen

I absolutely love this idea. A phone case with an e-ink display, so you can check your phone without switching it on. Brilliant idea. One down side is that it’s iPhone only 🙁

Progress this week

[Good] Had great fun dancing at a good friends wedding party, it’s good to move again
[Good] Getting really comfortable with MongoDB and Terminal, something I thought was impossible
[Bad] Heart palpitations, general tiredness and gaining bad weight (makes me very grumpy)

Weekly top 5 #31 – Being Calm, Fast Food and Questions

How’s it going mate? I’m getting better, the last 2 week has been emotionally intense for me, I was beginning to wake up at 5am in the morning out of stress, my mind would be buzzing with worries and I would not be able to sleep. As a result, I’m trying to get back into meditation.

One Slide deck
Fast Food Design

Design is not just about making something pretty, there’s a journey behind good design. “How would you feel if your bank and sock subscription website looks the same?”

One humorous read
Guide to startup life in SF

San Francisco is a strange place, the start up world is even more so, this one brilliant take on what goes on on the inside 🙂

One Tweet (from me)
Am I right or am I stubborn?

Ask yourself “When was I last wrong?” “When did I last say sorry?” Chances are you may not be perfect and you’ve just been too stubborn to see yourself

One Truth
Work, Blog, Life balance

Entrepreneur and VC Mark Suster, talks about how we balances his busy work schedule with spending time with his family – hint, there is no secret

One TV Show
Mr. Robot

A dark, intense and addictive tv show, I was hooked on the first show, it’s clever and hard to predict. Check it out!

Weekly top 5 #30 – Buckets, Hermits and Death

One Quote
“You can’t reason someone out of a position they didn’t reason themselves into” – Bad Science by Ben Goldacre

One Long Read
The Strange Tale of the North Pond Hermit

There’s something about this article that fascinates me, a man decided to isolate himself from society for 20+ years, living in the woods and stealing what he needs from camps and cabins, never speaking one word to anyone… what would that feel like?

One tip for startups
The Three Buckets

How do you work out if you are developing the right product? By thinking whether its a:

  • A gamechanger. People will want to buy your product because of this feature.
  • A showstopper. People won’t buy your product if you’re missing this feature, but adding it won’t generate demand.
  • A distraction. This feature will make no measurable impact on adoption.


One Shock:
What happens to my late Husband’s digital life now he is gone?

No one likes to think about death, but like Tax, it’s inevitable, have you thought about what would happen to your digital existence after you are gone?

One Must Watch Video:
Why Complaining is bad

We are, without a doubt, creatures of habit. So it’s not really surprising once we get into a regular habit of complaining, we tend to complain. even more! so try to keep a positive mind (Something I’m trying very hard at recetnyl)

Weekly top 5 #29 – Beats, Scams and Productive people

One Meeting
The Lean Coffee Approach 

If you zone out of boring meetings as much as me, you will appreciate this simple and innovative approach to meetings

One Article
Busy Vs. Productive

Can you tell the difference between someone who is productive vs busy? Are you sure you are being productive? It’s some darn easy to mix up the two, have a quick look at this list to find out which are you.

One Sad Story
A Holacracy of Dunces

I really like Zappos’ founder Tony Hsieh, I love his book delivering happiness and the way he rans Zappos where he treated his staff REALLY well, so it was such a shame to read this article on how both Zappos and his Down Town project is going. I hope he can make it

One Lie:
How Beats tricks you

Remember how Beats was sold to Apple for $3 billion USD? Well it turns out those headphones are pretty crap, the only feel like a premium products because of this clever but lowly trick

One Fun Video:
How to peel a Mango

Like mangos? Do this.


[Good] It’s sad that I can’t think of much to write here… all I can think of is skating really fast downhill after work last Friday and survived. #IWillNeverActMyAge
[Bad] Must sleep, tired of being sick

Weekly top 5 #28 – Procrastination, The Angry Guy and Rescuing Time

One Quote
Time Credit

“Procrastination is like a credit card: it’s a lot of fun until you get the bill.”
~ Christopher Parker (Actor)

One Article
The True Cause of Depression

“You can’t solve inside problems with outside solutions.” On the mind vs the body, depression and suicide

One Tool
Rescue Time

Been going a little crazy with tracking my productivity lately, this little tools help me track how much time I’m spending with each file/program. It’s good to know how I’m spending my time (Far too often in email and basecamp)

One Game:
Color test for designers

Apparently I have the vision like a dog (I think that’s a good thing), at least that’s what this little game tells me. How sensitive are your eyes when it comes to colour differences between little squares?

One Question:
Who do other see?

Have you ever wondered how others perceive you? How your actions shapes your image to others? Unfortunately, I’ve been rather angry lately, but I really don’t want to be seen or thought of as “the angry guy”, so I’ve been working on smiling more and paying attention to my emotions. Are you ok with how other people see you? How your closest friends, colleagues and complete strangers see you?

Weekly top 5 #27 – Time vs Money and Of Course Designs

One Quote
Time vs Money

“There’s a myth that time is money. In fact, time is more precious than money. It’s a nonrenewable resource. Once you’ve spent it, and if you’ve spent it badly, it’s gone forever.” Neil A. Fiore

One List:
Do These 5 Things Before You Take Time Off

How good are you at taking time off? I mean the type that you are not worried about work? Not checking your email, not thinking about how much work you have got to catch up with? I’m pretty darn awful at it, and this list is a great reminder on what should i really be doing.

One Tool
News Feed Eradicator for Facebook

So how much time have you wasted on facebook, just endlessly scrolling avoiding work? This little Chrome Extension solves the problem by hiding your newsfeed. That’s right, no facebook! It works really well.

One Article:
“Of Course” Design

Sometimes as a designer we are trying so hard to be creative and innovative we forget what makes a great design. This quick article challenge the innovative with the usability “Most product design should be so obvious it elicits no response.”

One Geeky thing:

I’ve been using Sublime editor for sometime now, but as I switched computer the other day I decided to give Atom a go instead. I ended up rather liking it, it looks nice and works rather smoothly. There are also many packages to extend it with, so much so I’ve decided to make the switch for good. Sorry Sublime Editor – Click here for more reasons