phone

I never did get that cup of coffee

Last year Friend #1 died, so I ended up staying at Friend #2’s house. When I woke up she was already out of the house, so I started to walk to the coffee maker to make some coffee. At that moment Friend #3 called. I looked at the coffee maker for a moment, then thought, “It will wait a few moments,” so I turned around, picked up the phone, and found a quiet spot to sit down.

At one point I started talking about something and #3 said, “I’m sorry, I can’t hear you.” I didn’t have the heart to tell her that I just woke up, so I kinda cleared my throat and started talking louder. We had a good, honest conversation, the kind you only have when it’s late at night and people are tired and maybe have a little liquid courage and speak from the heart, or in this case that raw time right after someone has died.

When I was watching a show just now with two dead guys talking to each other I remembered that conversation, and also remembered that I never did get that cup of coffee.

How to make a phone call from your Android app

I came across this Android phone dialer tip yesterday. If you want to make a phone call from an Android application, all you have to do is create a new Intent, either an Intent.ACTION_DIAL (to start the call) or Intent.ACTION_CALL (to place the call).

Here are the three lines of source code you need to get started:

Intent dialIntent = new Intent();
dialIntent.setAction(Intent.ACTION_DIAL);
dialIntent.setData(Uri.parse("tel:8675309"));

A market for women’s pants with larger pockets

I’d been thinking about buying a large cellphone (phablet) recently, and every time I mentioned it to a woman, they immediately asked, “Do you know how small the pockets are in women’s pants?” That makes me think there’s a market for women’s pants with larger pockets.

Making the switch, from iPhone to Android

The comical part of my recent surgery was that my iPhone 5S kept dying, both before and after the surgery. Something is going on where the iPhone completely loses reception, and the only way to fix it — the only hope of fixing it — is to completely restore the phone using a secret handshake technique they taught me at the local Apple Store. (They also told me this technique only works about 10% of the time, and kindly suggested I buy a new iPhone because the 5S is almost four years old.)

The Android “adb shell list files permission denied” error

As a brief note, today I tried to list the files in my Android application, which was running on a physical Android device — a Nexus 9 — with this adb shell command:

adb shell com.alvinalexander.mybrowser ls /data/data/com.alvinalexander.mybrowser

When I did that, I got an Android/ADB “permission denied” error.

The short story is that a solution to this problem is to run the same command, but with the run-as argument, like this: