This is an interesting one. I’m doing some Windows Phone development at the moment and I usually run a debugging proxy on my local machine on port 8888.
After a routine reboot my proxy wouldn’t start up because port 8888 was already in use. I did a “netstat -b -a” to find out what process had taken the port and saw that it was “IpOverUsbSvc.exe”. After a quick search I found that this process is related to connectivity to a Windows Phone device.
After unplugging my phone from USB the port was freed up and the proxy started immediately. The lesson here is to either change the port your proxy uses or to plug out your phone when you restart.
Just a quick one. You probably already know that you can automatically convert URLs in a TextView into clickable links like this:
I recently learned that this will only work where you can call setAutoLinkMask() before setting text in the TextView. The simple solution is to set the text after calling setAutoLinkMask(), but if you cannot do this, as in my case, then you can just as simply use the static addLinks() method in the Linkify class:
Just uploaded the start of a page about migrating to Android Studio from Eclipse. It is going to be like a scratchpad for remembering all of the new keyboard shortcuts and new features.
I had this issue today where both fans in my rMBP spun up to full speed and would not stop. I checked the processes in activity monitor and CPU usage was very low so that wasn’t it. I live in Ireland so ambient temperature wasn’t the culprit either!
The problem persisted through a restart, which was worrying but a manual sleep and resume fixed it. To do this click the apple button, choose sleep, wait for it to turn off and then press a key to wake it up.
I usually only blog about technical things but here’s one that is personal. I quit smoking in late 2012 and I have been using nicotine gum to help keep the cravings at bay. I thought that paying ~€33.36 for a pack of 105 gums was decent value until I saw what they cost online…
All Android devices offer the user some form of external storage. The storage may be a separate partition of flash memory in the device or bone-fide external storage like an SD-memory card. As developers we need to be aware of the pros and cons of using this type of storage.
This guide will explain how to share the Android SDK between multiple users on an OS X system. Most of the concepts will be similar on other Unix or Linux systems.
I dont think this would work for multiple concurrent users updating the SDK. This blog post is more about the journey of making the SDK more suitable for multiple users rather than an endorsement of the methods below.