Monday, 23 January 2012

A mini LlamaTone update

This version fixes a couple of bugs:


  • LlamaTone editor no longer shows LlamaTone picker in its ringtone-picker selection, so you can no longer create an infinite loop and blow up the universe. If you only have the default Android picker installed it'll use that without prompting.
  • LlamaTones can now be removed by setting them to 'don't change' in all profiles
  • LlamaTones can be copied between profiles
  • Fixed sound action gives up if there's an invalid sound (like a dodgy LlamaTone)
  • Fixed Android Intent action selection crash
  • Export data now lets you know if it succeeds (previously you'd only know if it failed)

As usual, backup your data before installing test versions, yada yada yada


Saturday, 21 January 2012

Ring ring ring ring ring ring ring LlamaTone!

Introducing LlamaTones! A way to control which notification sound other apps play when they want to notify you. Llama now lets you change the sound depending on the current profile. You can have one profile play your awesome annoying ringtone that you paid a fiver for, and have another profile play a more discrete beep. You can do this by editing your existing profiles and setting up LlamaTones.

In one of your profiles, create a LlamaTone and give it a helpful name. e.g. Gmail. You can then specify the ringtone that profile should use for Gmail notifications. Then edit your other profiles' LlamaTones and set which ringtone that profile should use for Gmail. The final step is to tell Gmail which LlamaTone to use. Do this by editing Gmail's notification settings and using the 'LlamaTone' picker that will appear.

There's also some other random fixes in this build, mostly ICS related, since ICS is a very different beast to previous versions of Android. Sometimes so different that the Android API isn't even up to date. Did you know it's no longer possible to set AudioManager to Silent? Neither did I. Some of you may have found Llama constantly trying to put your phone in silent mode forever. Instead, ICS now reports itself as vibrate but with both ringer and notification vibration turned off.


  • Autocompletes for variables and groupnames suck less. Would you believe the default Android autocomplete textboxes don't scroll vertically?!
  • Search for events by name
  • Android Intent action now has category field
  • Noisy contact can now be set higher than 7
  • User present condition, which fires after you unlock the screen
  • Call state condition lets you choose ringing, in-call or idle
  • Fixed wonky dots on ICS
  • Fixed wonky silent mode problem in ICS
  • Option to ignore volume changes while in a call, for phones that incorrectly report volumes while in a call
  • Fixed two calendar events ending and starting at the same time
  • Locale plugin fixes
  • Repeating calendar events in ICS handled better
  • Bluetooth WakeLock now gives up after a minute if Bluetooth didn't enable properly
  • LlamaTones!

Anyhew, backup your data before installing this version just in case I've been a numpty and broken something. That way, you can reinstall the market version and carry on as you were before.
Edit: I've been a numpty... battery events are working again in this version. That's why you should export your events ;)


... and here's a random link that's kinda related to the post's title:

Wednesday, 4 January 2012

Happy new Llama!

Happy new year Llama lovers! Firstly, thanks to all of your that have used the in-app donation options, especially the guy that donated the steak. That's awesome :)

This version now lets you put your events into named groups. I've started using this already by throwing the 30 or so dev/test events I have into their own group.

Another much-requested feature is support for moving the app to the SD card. This is now possible but I don't recommend it. If you mount your SD card to your computer, Llama will be closed. Any events that occur while Llama is closed won't happen. Ever. Llama can see what's going on if it's not running. When you remount the SD card, Android doesn't broadcast anything helpful to those apps on the SD card, so it won't restart immediately either. It will start eventually though... turning your screen off then on will do the trick.

Another feature someone requested was to use the next alarm time as a condition. This proved to be a bit of a challenge, as Android doesn't actually store the alarm time somewhere handy. It does store the 'Thu 7.20' message you see on the lock screen though. Llama tries to parse this. The alarm condition's configuration says when the next alarm is due. Can you let me know if you run into any problems! The alarm condition works in two ways: either as a trigger when the next alarm is due, or a simple yes/no for whether an alarm is set. The example the guy that emailed me gave was he wanted a reminder to set an alarm if no alarm was set when he plugs in his phone. You can achieve this by doing:

When there's no alarm set, when charging between 9pm and 1am -> Reminder, play a sound, vibrate lots, etc

Version 1.2012.01.04.2244

  • Install to SD card (see comments above)
  • Android Alarm clock trigger/condition (see comments above)
  • Expandy grouped event list
  • Kill apps actions now let you select more than one app
  • Added 15% brightness which was A.W.O.L

As usual, back up your settings before installing this version, just in case you have to revert to an older version

Download - oops, just noticed I left the 'press menu to toggle between grouped and ungrouped' code in. Eventually I'll move that to its own button or an option of the filter dialog. It may get annoying depending on how often you press your menu button on the events tab.