Friday 21 November 2014

Active App Lollipop fix

Lollipop stopped the getRecentTasks API from working. Fortunately, they made a replacement this time as detailed here. It's not exactly the same, and it's a little bit more work/code to figure out the most recent app. Anyway, it works again! Hooray!


  • Active app condition works again

Tuesday 18 November 2014

Lollipop Silent Fix

So it appears that Android's audio APIs have gone completely wonky in Lollipop. Vibrate mode seems to be basically dead... it must now be up to individual apps as to whether they want to vibrate or not, rather than having a system-level override/setting for apps to check. And silent mode has the bug discussed in the previous post.

Anyhew, this is a temporary(?) fix that no longer uses the Ringer Mode API to set the device to Silent. Lollipop treats that as 'priority notifications mode'. Instead, Llama now just sets the volume levels to zero.


  • Llama now sets volume levels to zero for your silent profile, rather than activating silent mode. Meh.

You probably don't need to install this if you aren't running Lollipop :)


Monday 17 November 2014

Lollipop Llama Lameness

Another Android update, another load of stuff that behaves weird or doesn't work any more. These aren't fixed yet, and probably can't be fixed until someone figures out a workaround or another hack.

  • When changing screen lock password to blank, Lollipop will still show you the numeric keypad and you need to press enter. This was always a bit of a hack, but it's probably an oversight that it doesn't show the slide lock... the Android security settings screen thinks it is in slide lock mode, but the lock screen doesn't.
  • Llama's notification appears on the lockscreen. You can set Llama to 'on going notification no icon', which hides it from the lock screen, but also hides the icon which you might be using to see what profile is active. It'd be nice if notifications had a flag saying "this really isn't exciting enough to appear on a lock screen, but should still show an icon".
  • Silent profiles put the device in priority notification mode, but setting the profile back to normal does not change the notification priority mode. This one appears to be a bug.
  • Airplane mode... yep, still can't be changed by apps... probably requires root still. (╯°□°)╯︵ ┻━┻)
  • Mobile data... also broken, Llama has always been naughty by using an API that it shouldn't be using anyway. Fortunately, there's a shortcut/locale-plugin if your phone is rooted.
  • UPDATE 20th Nov - getRecentTasks no longer works in Lollipop. This means the Active App condition won't work any more for security reasons. Fine, but what about those of us that like to automate our phones? Meh. There might be hope though!

I'll keep my eye on things, but don't expect a fix any time soon. I'm not sure I want to put Lollipop on my main device yet... I've grown far too attached to Xposed modules, and the changes in Lollipop don't excite me enough to give those up!

Thursday 23 October 2014

No-donation Llama

Due to some recent changes in the Play Store’s policies Llama no longer has a donation app, nor in-app purchases.

Instead, if you like Llama you should donate to some charities. Even if you don’t like Llama you should donate to charity too. It gives you a warm, fuzzy feeling inside!

Thanks for all the support over the last four years. I still plan to work on Llama, but as you may have noticed, the updates have been much less frequent recently. Hopefully nothing in Android L breaks stuff catastrophically, but I’m sure Google will do their usual removal of useful device-control APIs (*cough* airplane mode)


  • Remove donation IAPs
  • Notification action now expands variables
  • Don't crash when decoding a dodgy Locale Plugin intent

Wednesday 23 April 2014

Llama menu

Not much exciting in this release. Llama's ageing UI doesn't play nice with some phones that have no physical menu button, and don't show the legacy on-screen menu button. This version puts the items that are in the menu-button menu into the Llama button's list of menu items.


  • Llama? button's menu now shows menu items that appear in the old-skool Android menu button popup menu


Wednesday 5 February 2014

Toasty Llama

I've added a quick and simple feature to Llama. You can now pop up toast messages (those are the grey boxes towards the bottom of the screen) as part of events. You may want to use these to debug your events or maybe as a quick and simple reminder to do something. You can also get them to show the values of Llama variables. This will be useful if you use the toggle, increment or decrement variable actions. To show a variable surround it by two hashes. e.g. The value is ##blah##


  • Added Toast action so you can show messages, including Llama variables
  • Added option to vibrate when unlocking profiles
  • Fixed call state problem when ringing

Usual deal... back up your Llama settings before installing test versions


Tuesday 24 December 2013

Merry Bugfix Christmas Llama

This version fixes a few issues with Llama.


  • Fixed bug caused by weird Bluetooth device names
  • Ignore cells that are Integer.MAX_VALUE, since they are clearly wrong
  • When a profile is locked until a certain time, and then you relock to that profile again, Llama will just adjust the unlock time, rather than cancelling the lock altogether.
  • Updated Russian translations