Search This Blog

Showing posts with label Nexus S. Show all posts
Showing posts with label Nexus S. Show all posts

Saturday, 24 March 2012

Getting Spotify to work on my Android phone - Part 2

For a while now my Spotify app for Android has exited abruptly shortly after launching. True, this was only if I was online, but as I needed to be online in order to save music for playing offline, I was effectively stumped.

In a previous post on this subject I described how I briefly fixed the problem, only to have it come back again shortly afterwards. I have now fixed it again, and it hasn't gone wrong again six hours later, so I thought I should describe how I did it.

It seemed to me that the problem was happening when my phone (a Nexus S running Android 4.0.3) tried to synchronise playlists with Spotify Headquarters. I have a lot of playlists, since I create one for every album I like, and these are themselves kept in playlist folders by band and genre. But in a moment of revelation yesterday, I realised that I hardly ever refer to the playlists when looking for something to listen to. If I'm not playing some album I've just found out about, I tend to play something that just springs to my mind. Occasionally I will tell Spotify to randomly play tracks in my playlists.

It occurred to me that I could save a lot of effort by just starring at least one of the tracks in any album I wanted to remember, and could then forget about making a playlist for it. Spotify can play starred tracks in a random order, and the built-in search facility is usually good enough to find music.

So I went through my playlists, checking for one star or more in each album, before deleting the playlists altogether.

The moment of truth: would Spotify for Android now work? No.

So I switched off WiFi and went in again. I opened the settings and cleared the saved data. Then I uninstalled and reinstalled the App. Now it worked.

It's a shame that the app had this bug in it, but I seem to have cleared the problem, and as a side benefit, I won't spend any more time in Spotify creating playlists I never really needed. As with GMail, where I used to make folders and sub-folders galore to store my mail in, I now just stick it all in a heap and fetch it back with Search.

Update - it lasted for two days. Now, once again, the app exits shortly after launching. Looks like I might need to reinstall it every time I want to use it!

Another update (22/06/12) - I've been using the new version of Spotify for Android for a few weeks now, and all the problems seem to have gone away.

Saturday, 7 January 2012

Upgrading a Nexus S to Android 4 (Ice Cream Sandwich)

There's been major excitement (albeit very localised excitement) in this house following the news that Nexus S phones would be automatically upgraded to Android 4. However, as the days turned into weeks I began to wonder if I should ignore my phone provider and do the install myself.

I almost went ahead with it over the Xmas holiday, but news reports about Google suspending the process because of unspecified problems made me back off. Yesterday I cracked.

The process was very simple, and took less then ten minutes. I followed these instructions here. There were no incidents, although I would advise you to read all the instructions before setting out. (I have nobody to blame that I didn't read the words "when you see the warning triangle" before I actually saw the warning triangle.)

What's Android 4 like? Well, the Look & Feel of the UI has improved, and it looks like I no longer need a couple of apps because Android now does the job for me. The default Camera app is much better, and there are several other enhancements. Nothing earth-shattering, but perhaps I haven't yet found all the changes. (I only a couple of hours ago found that I can dismiss individual notifications by swiping over them from right to left.)

Now for the downside: I have encountered three problems since I upgraded.

Most worryingly, last night for the first time ever the screen stopped responding to touch. I tried to power it off, but of course couldn't confirm the action. Then, when I pressed the power button to turn off the display, it was still faintly visible. After a few cycles the phone started responding again, so I quickly powered it off fully before it changed its mind. It hasn't done it again since I switched it back on.

Secondly, I've had notifications that Google+ has stopped. Google+ seems to be built-in, because you can't uninstall it. I disabled it instead, in case it's behind the first problem.

Finally, I've twice been told today that my phone provider is unavailable. To be fair this does happen, but not often, so I mention it here for the sake of completeness.

All in all, I do like the new look, but it may take a few days before my confidence in the phone's reliability is fully restored.

Thursday, 28 July 2011

Getting a Nexus S to connect to a PC running Windows XP

In an effort to prevent anyone else going through the misery and frustration I've just experienced, I will now document the steps I had to go through to get my Nexus S to talk to my PC.

Obviously I'm not talking about seeing the phone's file system as an external drive; I mean having the phone show up in the Device Manager so that you can try your hand at developing on it. Sparing you all the false starts and dead ends that I went through, and assuming you've already installed the Android SDK and have a USB cable that fits into the phone, proceed as follows:
  1. Start up the Android SDK Manager.
  2. See if 'Google USB Driver Package' is listed under Installed Packages.
  3. If it isn't, it should be under Available Packages. Select it and click the Install Selected button
  4. Enable debugging on the phone in Settings/Applications/Development.
  5. Disconnect the phone's USB cable, then reconnect it.
  6. The PC should report having found a new device, and bring up a wizard to ask you whether you want to install a driver. Cancel out of this wizard.
  7. Go into Device Manager (right click My Computer and select Manage), and find the phone under 'Unknown devices'. Right click on it and select Properties/Details. Note the two four-digit numbers after VID_ and PID_.
  8. Open the file C:\Program Files\Android\android-sdk\extras\google\usb_driver\android_winusb.inf for editing.
  9. Add in an entry for the Nexus S, using the VID and PID revealed from the device manager. It should look like this:
    ; Google Nexus S
    %SingleAdbInterface% = USB_Install, USB\VID_XXXX&PID_YYYY
    %CompositeAdbInterface% = USB_Install, USB\VID_XXXX&PID_YYYY&MI_01
The values of XXXX and YYYY you should have noted down above in step 7.

Now use the Device Manager to Update Driver for the phone, telling the wizard to search in the C:\Program Files\Android\android-sdk\extras\google\usb_driver folder.

In the Device Manager, the Nexus S should now move from 'Unknown devices' to 'Android Phone'.

Of course, for you any one of these steps might go wrong. However, even then I hope this blogpost might give you the clues you need to get to your goal.