close
The Wayback Machine - https://web.archive.org/web/20100826092120/http://droidie.com:80/

Troubleshoot Phone Lag Using Watchdog

There is a lot of debate in the Android world about whether you should even need a task killer. According to theory, if everything is well-behaved, you shouldn’t really need one. However, I was experiencing moderately severe lagginess on my MT3G, so I was pretty sure something was not well behaved. The lagginess disappeared briefly after a reboot, and completely after a Master Rese, until eventually I installed enough stuff that I got the problem app(s) back.  The problem I had was that I couldn’t figure out what app was the offending party.

I had a Wing Tseng’s Task Manager, which was a very nice task-killer, and it gave me a CPU readout, which was frequently pegged at 100%. But it did not isolate the problem app. I never did find the problem app, because I wound up using my son’s upgrade to get a new Android phone (T-Mobile Vibrant, aka, Samsung Galaxy S), and I passed the MT3G to him. He is having no problems, so I am pretty confident  it was something I had installed.

In the meantime, though, I finally discovered a good app that monitors CPU usage, and creates alerts if a user-defined threshold is exceeded. This app is Watchdog. Basically, Watchdog gives you the other half of Windows Task Manager functionality–in addition to having the ability to kill an app, it tells you which one is redlining your CPU.

I’ve had it running on my new phone, with a low threshold, and it gave me a few alerts for CPU usage in the 30% range, but those were very transient. It was comforting to know that I now had the instrumentation to troubleshoot, if need be. And as Murphy would have it, need arose soon.

I dropped my shiny, new Vibrant onto concrete, from waist height. It landed square on its face, and it suffered a number of cracks. It was still functioning and perfectly useable, but severely disfigured. Fortunately, and somewhat out of character, I had retained the protection plan. So for a “mere” $130, I got a replacement.

I first backed up from my cracked phone to the SD card, using MyBackup Pro, then popped the SD card into the new phone and initiated a restore. That all worked fine, though I noticed the calendar took a long time to restore. But it was well worth it, saved me probably 80% of the effort of setting up a new phone from scratch. Then the problems began.

I started noticing lag. My prior 2 weeks with a Vibrant had been completely lag-free, so this was really alarming. Then the Watchdog alerts started showing up. The Calendar app was consuming 30%-60% of the CPU. Of all the apps to find as the culprit, this was one of the worst, since it is a built-in Google experience app. I don’t think you can un-install it, even if you wanted to.

After 30 minutes of typical flailing, I started thinking a little more deeply about the symptoms. I remembered that Watchdog had asked me to back up Calendar and Contacts. I wondered a little about that–since auto-synch of those Google Apps is a core Android feature, but I had proceeded to say “Yes”. Then I remembered how long it had taken to restore the Calendar. I decided to do another Master Reset, and this time, not restore the Calendar.

That worked like a charm. So I think the Calendar restore must have gotten into some kind of infinite loop with the Calendar synch. Never a dull moment.

I think that CPU monitoring and logging is pretty critical instrumentation. Even if not directly exposed to users, it seems like something Google would want to have built in (just as Windows NT and beyond has Task Manager). And if not Google, I think it woudl be in the best interests of the carriers or phone manufacturers to pre-install something.

Tasker: Android Scripting-Like App

Tasker is an impressive Android app that has been getting a lot of publicity in certain quarters. I have only dabbled with it, so I won’t try to expand on the reviews that are already out there. Just a few small hints and comments

Based on reviews and my initial look, the level of customization you can accomplish with Tasker is extremely impressive. You could easily create a Profile that is equivalent to the “Where’s My Droid?” app, for finding a lost or misplaced phone, for instance. For those who want this kind of functionality, it is well worth the ~$5 cost.

Beyond what it can do, just as an app in its own right I think it is the most sophisticated, most complete app I have seen. The phone-based and web-based documentation also seems quite thorough, and a community already seems to be springing up.

Download Tasker from the site, not the market–that way you get a 14-day trial instead of the standard 1-day trial.

I found the vocabulary a little confusing. What they call Contexts, I would call Events. But the Events keyword is already in use, for the specific Android system events (as opposed to events that are tied to the GPS location, the date/time, the state of the device). What they call Profiles, I would call Macros.

I think the next frontier for Tasker will be for Android Apps to expose APIs that can be called from Tasker. There are already a couple of those evident. For instance, I would like the MyTracks app to automatically start recording a track any time I fire it up, because that is what I want to do 95% of the time I invoke it (it is a little slow to load, and I am usually in a hurry when using it, because I am about to leave on a group bike ride). Or better yet, maybe I have a shortcut to MyTracks that does this; if I invoke the standard app, without shortcut, then I would get the standard behavior.

If you are a tinkerer or hobbyist, try Tasker, I think you will be impressed. If you just want to use your phone, then this is probably not an app for you.

Android 2.2 will be a wifi hotspot?

Forget tethering, wifi is the way to go.

If what they say at Engadget is true, I just wasted a bunch of money on a Verizon mifi device, two year contract. I carry a Droid in my pocket with me everywhere I go. I have a Nexus One in the desk drawer. I will now have an excess capacity of wifi on my person. Woe is me!

I wonder how much Verizon will charge to turn this on?

I use an AT&T SIM in my Nexus One. How will they like this?

Next week is Google’s devcon. Expect the earth to shake. This is just the beginning.

Gartenberg: “Don’t get too excited about tethering and hotspot features in FroYo, almost certain carriers will have last word on function and price.”

Posted in Droid. 1 Comment »

Google Navigation – Real-Time, Crowd-Sourced Traffic

Google Maps–both mobile and web versions– include real-time, crowd-sourced traffic information. This is something that others have been trying to do for years, if not for decades. Google is quietly making it happen now, leveraging the rapid uptake in Google Maps for Mobile (notably, but not exclusively, on the Android platform), plus the always-on nature of the mobile phone.

In my day-to-day life, I have not gotten all that much benefit from this feature. I have checked it out, but I live in a second-tier traffic city, Minneapolis-St. Paul, where rush hour is more or less just that, a mere hour or two. So mostly I can check the MN-DOT website and quickly see the arterial congestion. There aren’t a lot of alternate routes to consider.

But today, I was driving with my wife and family, from visiting my parents in northern VA, to the BWI airport in Baltimore.  Unexpectedly, I ran into traffic, even though it was Sunday afternoon. Heavy traffic. So heavy that we started getting nervous about the time, even though we had left ourselves a 1+ hour cushion.

So I took a look at Google Traffic. Bad news–there was an even bigger stretch of slow traffic farther ahead on I-295. So while Beth drove, I plotted an alternate route, skirting 295 until traffic broke up. It was a little nerve-wracking, and not the easiest thing, using a handheld-size screen, but it paid off. We arrived still in good time.

So for those of you “lucky” enough to live in tier 1 traffic cities ;) , I think Google Traffic could prove useful on a more day-to-day basis.

Posted in Droid. 2 Comments »

The iPad could learn from Droid

A picture named seven.gifI know Apple is the leader here, but there are at least a couple of ideas in Android that should be in the Apple mobile operating system.

1. Search is very nicely integrated into everything about the Android. Not surprising because Google got its start in search. I used my Droid to look something up at lunch today and thought later — how would I have done that in the iPad. I would have had to quit whatever I was doing (if it wasn’t Safari). Droid has search right on the home screen. Hit the Home button and click in the search box and type away.

2. My iPad is always beeping. What is it beeping about? I have no idea and as far as I know there’s no way to find out. That’s just bizarre. Now I didn’t used to think so until I got accustomed to the very nice Notifications menu in Android. Want to know why it’s talking to you? Just click in the menu and pull it down. There’s the list. Now for all I know there’s a way to do this in iPhone/iPad. Let me know.

One more thing about how stunning you might think this thing is for real-world people. I had to ride the 7 train from Main St in Flushing to Times Square today. Doesn’t get much more mainstream than that. Believe me. I took out the iPad at Main St, and used it all the way Queens Plaza (the train goes underground shortly after that). Connected to the net via my Sprint mifi. Now there was a kid sitting across from me, I’d guess 13 or 14, Asian, eating some Pringles and staring at the iPad. Got out after three stops, never said a word. Otherwise everyone else ignored me and my flashy new device.

In other words, it’s Sunday, and the guy has a Kindle so BFD. Been there done that. (There was a guy with a Kindle and his girlfriend had a real book.)

I’m not trying to draw any global lessons from this, but real people need real reasons to get excited. The form factor is nice, I like it (even love it). But soon after that what matters is what it can do for me, and what I can do with it.

Posted in Droid. 8 Comments »

Try the Opera Mini Browser

I find the Opera mini browser stunningly fast. My understanding is that this is because the pages are compressed on the server, before being sent across the 3G connection. Anyway, the results are terrific. Though speed is its signature feature, the browser is all-around good, especially the newest, but very stable, v5 beta. It also has the option to format pages in a “mobile view”, which typically works better than standard layout on the small device (this is a Setting).

To get the latest version 5 beta, you need to search market for “Opera beta”. It is reputed to be very stable, and in 2 weeks of usage, I have had no problems (on MT3G Android v1.6). If you want the prior version, just search “Opera”.

Posted in Droid. 1 Comment »

My Droid gave out

There were so many things wrong with my Droid, I finally gave in and took it to the local Verizon store and asked for a new one, and they gave me one!

Unlike an iPhone, the Droid personality doesn’t go from the old phone to the new phone, leaving me to wonder how much information about me Verizon just got. Oh well. So much for privacy.

Here’s the first picture I took with the new Droid.

Checking out my new Droid

What wen’t wrong? Well, people couldn’t hear me on phone calls. That’s a pretty big deal-stopper. Then the on-screen keyboard stopped recognizing the spacebar. Then the back button in the fixed toolbar at the bottom of the screen stopped working.

Now I’m getting all kinds of newbie questions, all over again.

I have accidentally added two Maps icons to the main desktop. How do I get rid of the extra one? Everything I try just gets me more icons on the desktop.

Update: Erik Neu provides the trick for getting rid of icons.

Next problem. Not sure if Lookout is bundled or if I’m getting this because I had it installed on my previous Droid, but I don’t remember the password, and it’s in the “Ongoing” section of the Notification dropdown menu, and near as I can tell there’s no way to get rid of it. Pretty insidious.

True story: I had about 15 minutes to kill in the Verizon store, so I played with their cell phones. The first app I tried out on the Droid was porn. Really skanky shit. :-)

Posted in Droid. 10 Comments »

5 Droid Apps to Keep Your Kids Busy

Let’s skip having the argument about whether or not parents should let their kids play with their droid and move right into a discussion of the best apps to download in order to keep them entertained. There are five that I find particularly useful:

1. SameCOLOR My nine year old can play this for hours (so could I, actually). You can play mindlessly, or you can work with a strategy. Either way it’s a decent way to pass the time.

2. Puzzles (PlayGamesSite.com) has a variety of images shuffled into 12-48 boxes that need to be dragged into place. My daughter (4) loves the barbie puzzles. My son – the harder spider man pictures do the trick.

3. FingerPaint (by jptomato) allows my kids to draw with their fingers (come on — admit it — as a kid, how many of you imagined you could draw with your pinky?) Choosing color, texture, brush width, etc is so easy a four year old could do it.  And she does.

4. Spindroid light is a digital rubik cube. You magicall rotate the toy with the tip of your finger. Nicely challenging.

5. Solitaire is fun for the older child (and adult). Last week I taught my son how to play solitaire with REAL cards. This week he’s winning games on my droid.

The apps listed above are FREE in the android app store. I’ve only just begun to scratch the surface of what is offered. There’s got to be a gazillion and one other kid-friendly apps out there, right?

Next time: Why You Should Never Let Your Kids Play with Your Droid.
See you then.

How to quit an app on the Droid

Unlike the iPhone, the Droid can run more than one app at a time.

iPhone users making the transition, like John Gruber at Daring Fireball, sometimes say things like this: “I have no idea how to quit an app other than reboot.”

Don’t despair dear Droid newbie, Droidie is here to help. :-)

Personally, I use Advanced Task Killer app to clean out the apps I don’t want running.

It’s pretty easy to use. Uncheck the apps you want to keep and click the button at the top of the screen and poof they go to heaven until you run them again.

If you want to quickly see which apps are running, hold down the Home key at the bottom of the Droid.

Posted in Droid. 12 Comments »

Try Alternative Virtual Keyboards, and Use a Backup App

There have been some complaints about the stock Android virtual keyboard. Fortunately, there are a number of alternatives on the market. People raved about the HTC Hero keyboard, which can be installed on other Android phones (not via the Market), but I have heard it has issues with Android 1.6. I personally use the TouchPal, and really like it. I actually think I like it better than a physical keyboard–there are things a virtual keyboard can offer that a physical one can’t. Ability to get nice big compact QWERTY buttons when you want them being one, ability of the buttons to better tolerate a partial hit being another.  Compact QWERTY is really nice–it makes the buttons useable in portrait mode. There is another one called Better Keyboard that has also received some good reviews.

UPDATE: I just did some research, and it looks like TouchPal is temporarily unavailable on the Android Market, but will be coming back, I think. So Better Keyboard is probably the best bet for now.

This brings another tip to mind–use a backup program to back up your apps. One reason for doing this is convenience. In the event you have to do a Master Reset, if you have a lot of apps, a Restore is far faster than re-installing them one-by-one. On top of that, you will restore your app configurations, a huge time-saver. Of course, for apps that store there own data, there is that eternal user concern to consider–namely, making sure you have your data backed up. Finally, if the app is pulled from the market for whatever reason–as TouchPal has been–this may be your only way to keep it (TouchPal was free, during its period of temporary availability, so there is no issue of breach of contract issue there, I guess.)