Showing posts with label Android. Show all posts
Showing posts with label Android. Show all posts

Thursday, March 14, 2013

A Situation - And A Recipe

I just got an email. The email says "Your cell phone battery is getting low!" I checked my phone, and sure enough, the battery was down to 15%, so I plugged it in to charge during the afternoon so I don't run out of juice before bedtime tonight. Who emailed me? Well, the cell phone did, of course! Actually, it texted me... but let me start from the beginning.


A Locale Situation
One afternoon a few weeks ago I realized (when I was already on my commute home from work) that my phone battery had run down. I have charging cables in the car, of course, but my commute is only long enough to charge it partway... I ran out of power again later that evening. I realized that I had already set up something to check the battery level of my phone: a "Situation" in an app I use called Locale. In a nutshell, a Locale Situation monitors "Conditions" (such as your physical location, the time, or whether your phone is face-up or face-down) and when they match a set of Conditions you have configured, it activates "Settings" which can be settings on your phone or might be other actions. The app allows you to add new Conditions and Settings through a plug-in architecture. I've set it up to do things like make sure Wi-Fi is on when I'm at home and turn off the ringer when I'm at church.

I had also set it up to turn down the brightness of my display automatically when the battery power is below 15%, on the theory that this will stretch the battery just a little longer. That didn't help me realize that the battery was getting low that day, though, so I wanted to do something more.

Enter the Send SMS Plug-in. When you install the plug-in, you get a new "Setting" in your options - the "Setting" does not change a setting on your phone, but instead it automatically sends an SMS message from your phone to whatever recipient you like. This is terrific, but I didn't really want to be notified via SMS on my phone. When I'm at work and my battery gets low, I want to get an email... I monitor my work email closely when I'm at my desk, much more closely than I monitor the SMS stream on the phone itself. I tried sending an email through the Send SMS Plug-in, but even though you can do that through the stock SMS app, you couldn't do it through Send SMS. There are other apps (like this one) which I could have used, but SMS messages can often be sent even when the phone is having trouble connecting to the Internet. I wanted to send an SMS message, but receive an Email.

Enter IFTTT.

IFTTT (pronounced exactly how it looks, like the word "if" and then the letter "t") stands for "IF This Then That." And that adequately describes what IFTTT does - you associate it with things you do (Twitter, Facebook, blogs, CraigsList, Evernote, the time, the weather, etc.), and then configure associations so that if a certain condition exists on one of those things, something happens on another of them. The "things" are called "Channels" and they may act as either the instigator or the recipient of an action. For example, when this blog post is published, IFTTT will see it in the RSS feed and will automatically schedule it to go out to my Twitter stream via HootSuite. In this way (if a condition exists, do something) it is similar to Locale, except almost every IFTTT Channel can be checked (like a Locale "Condition") or do something (like a Locale "Setting").

IFTTT has Channels for SMS and Phone Calls. Once you've set them up to match your phone, an SMS message from you can trigger something (for example, automatically save the SMS to a new note in Evernote), or IFTTT can send an SMS to your phone. The Phone Call channel can either receive a call (which it then can transcribe) or place a call using text-to-speech. Finally, IFTTT can send an email, using the Email channel, to any address you like.

Bingo!

I set up an IFTTT "Recipe" to receive SMS messages from my phone with a Twitter-style tag which indicates that I am at work, and forward those messages to my work email address. Then I set up Locale to check my battery level and my SSID, and if I'm on my work WiFi network, Send an SMS reading "Your cell phone battery is getting low!" with the special "I'm at work" tag to the IFTTT SMS number. I also set up a separate Locale/IFTTT combo to actually call me via voice if my battery gets low and I'm not at my desk! In theory, I should never again discover that my phone battery is discharged below the point of no return... I should always know about it ahead of time.

So that's how I wound up today getting an email from my phone that the battery was low. Pretty cool? Yes. A little convoluted? Kinda. Pretty geeky? Definitely. Useful? ABSOLUTELY.

Do you use Locale or IFTTT? Have you set up any groovy Situations or Recipes that you'd like to share? Have you ever used synergy between multiple online services to build something cooler than the component parts? Tell us about it below in the Comments!

Sunday, April 15, 2012

Google Play Music: it's ALMOST there.

"Music in the Cloud." The phrase itself sounds sort of like "Pie in the Sky," doesn't it? Well, so far that's kind of been what cloud-based music has equated to. A year ago I blogged about this same thing, shortly after Amazon had released their music locker and many months before Google finally released their "Google Music" service, which has now been merged with their app store, the Google eBookstore, and movie rentals to be rebranded as "Google Play." (This post is about the music portion of Google Play, so I'm going to refer to it as Google Music for now to avoid being ambiguous.)

When Google Music was released I was pretty stoked. I had quickly bumped my head on the free space available in Amazon Cloud Player, and Google Music offers virtually unlimited space (you can upload 20,000 songs, which is way more than are in my library!) for free. Also, you can reportedly stream your music over the Internet to almost any device. This works pretty good on the Web, but I find the experience less than flawless on Android.

But before I tell you about my Android frustrations, I want to touch on a few problems with the Web player. I won't go into uploading music with the Music Manager; it's a little weird to not be able to upload them directly but instead have to point software at them and let it do it for you, but that's been covered already by others. I didn't find the upload experience particularly painful myself, and you only have to do it one time for the main body of your library, and then only occasionally (unless you buy your new music from Google, of course, and then it automatically shows up in your account without any uploading at all!) I find the player to be serviceable, but there are some things missing:
  • There's no good way to eliminate duplicates. This was never a problem for me until I tried to upload a new CD worth of songs in FLAC format when I had already uploaded them in MP3 format. There's no way to tell which is the higher-quality copy, and there's no way to mark several files for deletion all at once. I'd like to re-rip all of my CDs to FLAC (which is lossless) at some point and eliminate the old MP3s I ripped years ago, some at embarrassingly low quality to save space on old hard drives, but when I do so it will be a real pain in the next to replace them on Google Play.
  • Playlist functionality is pretty limited. I guess I'm spoiled by years of using Mediamonkey, but I would love to be able to have the player randomly select songs to play based on the star rating I give them, or some other classification, like "Christmas Music."
  • Oh, wait. There IS no star rating system. It's thumbs up or thumbs down, and that's the best you can do on Google Music. And the rating isn't uploaded with the file; I know some of the MP3s I uploaded had ratings on them already. Actually, I know that ALL of them had star ratings already!
  • Oh, wait again... there IS no way to assign a classification to the file, other than "Genre." In Mediamonkey I have a number of fields that I can use to classify files... I can automatically generate a playlist of songs for Christmas or Easter, or high-octane songs to keep me awake during my work day when there's no caffeine available. In the Google Play player, there's none of that.
But enough of that complaining; the Web player is serviceable, and it gives me instant access to my tracks from any Internet-connected computer. Could be cooler, but it gets the job done. My real gripe is with the Android app.

Come on, now. This is a Google service on a Google OS! Shouldn't it be AMAZING? Well yes, it should, but it's not... at least not on my lower-powered phone, a Samsung model that is called Vitality on Cricket (which is what I use) but which is called Admire on other carriers (I know MetroPCS has it by this name). The internal memory of this phone is a little cramped in this phone... only 125MB... and this is where many of the problems with the Google Music app seem to lie.
  • The app seems to keep the catalog of music you're storing in the cloud, plus complete copies of any tracks you have recently played, stored in the phone's internal memory. This, friends, is madness. There is no reason to stick this huge file in my 125MB of phone memory when I've got a perfectly good 8GB MicroSD card riding in there (and the phone can support up to 32GB!) There are certain things that are required to exist in that internal memory, including some uncooperative apps which refuse to be moved to the MicroSD card. At least the Google Play Music app itself can be moved to the MicroSD card!
  • Since the app fills up the internal memory with its own huge data file, after I use it for a while I wind up not being able to install new apps any more. Even if the app is going to wind up on the MicroSD card eventually, some free internal memory is required in order to install it in the first place. There are other high-profile apps that are offenders in this way as well... Facebook, Twitter, Gmail, Google Reader, and some others are the usual suspects on my phone.
  • So, in order to install new apps, I have to choose a few of these badly-behaved apps and do a "clear data" to free up some space. By the way, the fact that all of these apps are fighting for the same few MB of storage space also means that when I've got my huge Google Play Music file on my phone, I stop receiving new Gmail. Facebook, Twitter, Reader and the other members of this crew seem to somehow figure out how to keep operating... why not the other two apps from Google? On the Google OS? (Wait, did I mention before that this is Google software running on a Google OS?)
  • When I "clear data" on Google Play Music, I have to wait for EVER for it to re-download its data file. I have no idea why this would be. I've currently got 9,312 songs in Google Music. There's no reason that at least a list of the albums couldn't be downloaded via a good WiFi connection in less than a minute. Track names and album art could populate over time, but at least with the list of album names I could start to select albums, and if I select album the app could quickly download the track list, and then I could start a song streaming. As it is now, I usually have to wait overnight for the songs to populate.
  • Even then, even after waiting overnight, often the newest songs in my library aren't there. In fact, sometimes even days later, with WiFi available for a good 18-20 hours of the day in my home and workplace, those new songs don't show up. It's positively ridiculous.
  • Sometimes after a "clear data" I can't get the song library to re-download at all.
  • Fortunately, there is a "Refresh music from Google Music" link in the settings. Unfortunately, as far as I can tell, it doesn't do squat.
  • It is possible in the app to flag a track or album to be made available offline; when you do that, the audio data is downloaded to your phone (to that precious internal phone memory, apparently) so you can listen to it without streaming it. There is also a setting to allow that to happen automatically when you play a song, so that Lady Gaga track you listened to yesterday is automatically available offline today. Problem is, once you've downloaded that offline data, there doesn't seem to be a way to reclaim the space on your phone; if you flag it as not available offline, the size of that darn data file stays huge.
  • Every time you open the Google Play Music app, it reports the name of the last song you listened to to Android, even if you don't start it playing. This is not a problem except that I scrobble my song plays to Last.fm (want to see what I listen to?), so every time I open Google Play Music it scrobbles the last song I played again. I've sometimes wound up having to delete three or four consecutive scrobbles of a single song from my list.
  • Don't even get me started about automatic side-loading of tracks from my phone to my Google Music account. Dictate a shopping list into Evernote? It winds up in your Google Play Music. Record a radio talk show with TuneIn? It'll wind up in your Google Play Music. I don't know of any way to turn this off, or exclude files created by specific applications. I'd prefer to turn it off entirely... how often do I have an MP3 on my phone that I didn't already have on my computer? Here's a hint: NEVER.
I eventually gave up on the Google Play Music app. I haven't removed it from my phone, but it was so difficult to get it to work that I quit using it. Maybe if I had the snazziest Droid from Motorola and it had eighty zillion terabytes of internal memory I would be happy to let Google Play Music save a file in the phone's memory. But why should it take such a large file? This is supposed to be a streaming solution. It's supposed to mostly live on the Internet, not actually on the phone. I would prefer for the app to be mostly a front-end for a Web back-end, not a traditional music player that supports downloading the song automatically when you play it. I was so looking forward to using Google Play Music on my phone, which I got last December shortly after Google Music was released... now I'm pretty disappointed. I hope Google gets their act together and refines their app into something those of us with more modest Android phones are able to use.