id: 7cb25e5139aa4e839a60ce37a2d17cda
parent_id: 
item_type: 1
item_id: 10c58f6846fd4a3d9d09f13064fc518d
item_updated_time: 1764345570791
title_diff: "[{\"diffs\":[[1,\"Llama FAQ\"]],\"start1\":0,\"start2\":0,\"length1\":0,\"length2\":9}]"
body_diff: "[{\"diffs\":[[1,\"<html>\\\r\\\n<head>\\\r\\\n  <title>Llama: FAQ</title>\\\r\\\n  <basefont face=\\\"微软雅黑\\\" size=\\\"2\\\" />\\\r\\\n  <meta http-equiv=\\\"Content-Type\\\" content=\\\"text/html;charset=utf-8\\\" />\\\r\\\n  <meta name=\\\"exporter-version\\\" content=\\\"YXBJ Windows/608924 (zh-CN, DDL); Windows/10.0.0 (Win64); EDAMVersion=V2;\\\"/>\\\r\\\n  <meta name=\\\"application-data:2525275\\\" content=\\\"6692893/s30/6591f16f-e875-40b9-94f6-1741a2fb9b29/app.yinxiang.com\\\"/>\\\r\\\n  <style>\\\r\\\n\\tbody, td {\\\r\\\n\\t  font-family: 微软雅黑;\\\r\\\n\\t  font-size: 12pt;\\\r\\\n\\t}\\\r\\\n  </style>\\\r\\\n</head>\\\r\\\n<body>\\\r\\\n<a name=\\\"11569\\\"></a>\\\r\\\n<h1>Llama: FAQ</h1>\\\r\\\n\\\r\\\n<div><span><br/><div style=\\\"font-size: 16px\\\"><div><div style=\\\"font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:sans-serif;color:rgb(85, 85, 85);background:none 50% 50% no-repeat scroll rgb(118, 83, 71);\\\"><div style=\\\"word-wrap:break-word;\\\"><div style=\\\"-webkit-box-shadow:rgba(0, 0, 0, 0.14902) 0px 0px 5px;box-shadow:rgba(0, 0, 0, 0.14902) 0px 0px 40px;\\\"><div style=\\\"background-position:0% 0%;background-repeat:repeat-y;\\\"><div style=\\\"background-color:rgb(255, 251, 244);\\\"><div><div style=\\\"background-position:0% 0%;background-repeat:repeat-y;\\\"><div><div style=\\\"zoom:1;\\\"><div><div><div><div><div style=\\\"line-height:1.4;\\\"><div><div><div><div><div><div style=\\\"font-size:110%;line-height:1.4;\\\">\\\n <br/>\\\n<div><h4 style=\\\"margin:0px;position:relative;\\\">General</h4><div style=\\\"margin-bottom:20px;border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:rgb(204, 204, 204);padding-bottom:20px;\\\"><div style=\\\"font-weight:bold;margin-top:8px;margin-bottom:0px;\\\">Why aren't my events aren't firing?</div><div>Check that you aren't using a task killer or exclude Llama from your task killer. Also check that the current cell you are in is in an Area. Also, your Llama may have died. Check in the /sdcard/Llama/LlamaLog.txt file for any errors. </div></div><div style=\\\"margin-bottom:20px;border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:rgb(204, 204, 204);padding-bottom:20px;\\\"><div style=\\\"font-weight:bold;margin-top:8px;margin-bottom:0px;\\\">I taught Llama about my home, but it doesn't think I'm there. Why?</div><div>Your phone may have connected to another phone mast that it didn't initially find. Go to the <em style=\\\"font-style:normal;font-weight:bold;color:green;\\\">Recent</em> tab and manually add the cell to the area.</div></div><div style=\\\"margin-bottom:20px;border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:rgb(204, 204, 204);padding-bottom:20px;\\\"><div style=\\\"font-weight:bold;margin-top:8px;margin-bottom:0px;\\\">I'm miles away from my home and it still thinks I'm at home. Why?</div><div>Because Llama uses cell towers to identify your location, it's possible that the cell which covers your home also extends for miles. Llama is not for you in that case :(</div></div><div style=\\\"margin-bottom:20px;border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:rgb(204, 204, 204);padding-bottom:20px;\\\"><div style=\\\"font-weight:bold;margin-top:8px;margin-bottom:0px;\\\">Why can't you just use GPS like everybody else?</div><div>GPS doesn't work so well in built up areas or if the phone is in your bag or pocket. GPS also uses up your battery. Llama passively uses the information that your phone needs to go about its mobile phone duties.</div></div><div style=\\\"margin-bottom:20px;border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:rgb(204, 204, 204);padding-bottom:20px;\\\"><div style=\\\"font-weight:bold;margin-top:8px;margin-bottom:0px;\\\">Llama is going crazy and flashing up lots of messages </div><div>Turn off Debug Toasts under the Debug Settings </div></div><div style=\\\"margin-bottom:20px;border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:rgb(204, 204, 204);padding-bottom:20px;\\\"><div style=\\\"font-weight:bold;margin-top:8px;margin-bottom:0px;\\\">What are my profiles/events aren't occuring at the wrong time? </div><div>Llama needs your events to go in pairs. If you have an event to switch to silent mode at night, you need a corresponding event to switch to normal normal in the morning </div></div><div style=\\\"margin-bottom:20px;border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:rgb(204, 204, 204);padding-bottom:20px;\\\"><div style=\\\"font-weight:bold;margin-top:8px;margin-bottom:0px;\\\">My events have an enter/in area condition, and they're still not firing straight away. Only once I've turned the screen on. What's causing this? </div><div>Android has an annoying &quot;feature&quot; that sometimes prevents Llama (and other applicaitons) from receiving location updates. Enable the Cell Polling mode setting. This causes Llama to poke Android so that it updates it's internal location and notify applications about it. </div></div><div style=\\\"margin-bottom:20px;border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:rgb(204, 204, 204);padding-bottom:20px;\\\"><div style=\\\"font-weight:bold;margin-top:8px;margin-bottom:0px;\\\">I've changed phone networks, now Llama doesn't know where it is. What gives? </div><div>Different phone networks have their own set of phone masts, each with their own unique IDs. You'll have to relearn your areas again... or change back to your old phone network. Whichever is easier. </div></div><div style=\\\"margin-bottom:20px;border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:rgb(204, 204, 204);padding-bottom:20px;\\\"><div style=\\\"font-weight:bold;margin-top:8px;margin-bottom:0px;\\\">Where's the widget? I need a widget for everything! </div><div><p style=\\\"margin-top:0px;margin-bottom:8px;\\\">I don't like widgets. They slow down your home screen when it's loading. Also, I've not seen a single widget that follows the Android guidelines properly, so your home screen looks like ar**. I will add one eventually. In the mean time, create a folder on your home screen, and add Llama shortcuts to it. The shortcuts can point to profiles, events or individual event actions.</p><p style=\\\"margin-top:0px;margin-bottom:8px;\\\">Llama has support for the <a href=\\\"https://market.android.com/details?id=de.devmil.minimaltext\\\" style=\\\"text-decoration:none;color:rgb(201, 73, 0);\\\">Minimalistic Text Widget</a>. The custom text that Llama currently sends to it are:</p><dl style=\\\"overflow:hidden;\\\"><dt style=\\\"font-weight:bold;float:left;width:6em;clear:both;\\\">llamaareas</dt>\\\n<dd style=\\\"float:left;margin-left:10px;\\\">The names of the current areas, separated by commas\\\n</dd><dt style=\\\"font-weight:bold;float:left;width:6em;clear:both;\\\">llamaprofile</dt>\\\n<dd style=\\\"float:left;margin-left:10px;\\\">The name of the current profile</dd> </dl></div></div><div style=\\\"margin-bottom:20px;border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:rgb(204, 204, 204);padding-bottom:20px;\\\"><div style=\\\"font-weight:bold;margin-top:8px;margin-bottom:0px;\\\">I use Wifi polling, but want to save more battery. How can I do this? </div><div><p style=\\\"margin-top:0px;margin-bottom:8px;\\\">You can use Llama's events to increase and decrease the frequency that Llama checks for nearby Wifi networks. First of all, learn all of the phone cells near your desired area. We'll use 'home' in this example. Then create an event defined as <strong>Enter home</strong> -&gt; <strong>set Wifi Polling to 5 minutes</strong>, and another event defined as <strong>Leave home</strong> -&gt; <strong>set Wifi Polling to Never</strong>. Now create another area called 'home (wifi)' and teach Llama which Wifi networks can be found at your home. Create any other events based on entering/leaving the 'home (wifi)' area.</p><p style=\\\"margin-top:0px;margin-bottom:8px;\\\">What this does is teach Llama that there is a big area where your home is, and it should start checking to see if the smaller area that is your actual home is nearby. There is no point having Wifi polling turned on if you are on the subway or out of town, and those two rules make sure it's not being used. </p><p style=\\\"margin-top:0px;margin-bottom:8px;\\\">Depending on what other events you have, you can of course go one better and say <strong>Enter home (wifi)</strong> -&gt; <strong>Set Wifi Polling to never</strong>. This will stop checking for wifi networks if it's already seen that you are at home. However, if you have any leave home (wifi) events, they won't run. </p></div></div><div style=\\\"margin-bottom:20px;border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:rgb(204, 204, 204);padding-bottom:20px;\\\"><div style=\\\"font-weight:bold;margin-top:8px;margin-bottom:0px;\\\">I was using Llama then stopped using it and now my mobile data doesn't work. </div><div>It's possible that you (or one of your events) disabled mobile data. Reinstall Llama, and start creating an event. Add both the APN and mobile data actions, and set both of them to 'On'. Then press test events to reenable mobile data. Alternatively, go to your phone's APN settings (which can be found at Wireless &amp; networks, Mobile network, Access Point Names), and check that none of the entries in the list are suffixed with 'Apndroid'. If they are, remove 'Apndroid' from the end of them. </div></div><div style=\\\"margin-bottom:20px;border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:rgb(204, 204, 204);padding-bottom:20px;\\\"><div style=\\\"font-weight:bold;margin-top:8px;margin-bottom:0px;\\\">How can I set a priority for events? </div><div><p style=\\\"margin-top:0px;margin-bottom:8px;\\\">Llama's events don't run with a priority. This is because events don't always do the same actions. e.g. Why should an event that turns my Bluetooth on in the morning override another event that switches to loud as I leave my home (coincidentally in the morning). Instead, you should make sure that your events are defined well enough so that they don't overlap. (One day I'd like to make a nice UI to show this, I just haven't figured out how yet.)</p><p style=\\\"margin-top:0px;margin-bottom:8px;\\\">For example, you may have an event to set your phone to loud between 12pm and 2pm. You may have another event defined as a calendar event containing the phrase 'work lunch', which sets your phone to silent. If your work lunch starts at 11am, you phone will switch to silent, but it will then switch to loud at 12pm. To fix this scenario, modify the first event to: time between 12pm and 2pm, calendar does not contain an event named 'work lunch'.</p></div></div><div style=\\\"margin-bottom:20px;border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:rgb(204, 204, 204);padding-bottom:20px;\\\"><div style=\\\"font-weight:bold;margin-top:8px;margin-bottom:0px;\\\">Can I use the speed of my phone to determine whether I'm in a car? </div><div>Short answer: no.<br/>\\\nMedium answer: yes, but it'll eat your battery. Long answer: Yes, but it'll eat your battery because GPS would have to be constantly on checking your speed. Unfortunately, GPS is the only way this could work, because cell mast locations aren't accurate enough to calculate your speed. Your phone jumps between cells quite frequently, which will give incorrect speeds because one moment you'll be on one side of your neighbourhood, then a few seconds later you'll be on the other side. </div></div><div style=\\\"margin-bottom:20px;border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:rgb(204, 204, 204);padding-bottom:20px;\\\"><div style=\\\"font-weight:bold;margin-top:8px;margin-bottom:0px;\\\">I only have 1 cell in an area, can Llama still triangulate my location? </div><div>Llama doesn't do any smart stuff like triangulation to determine your location. Android only reports the current cell to applications. Llama simply compares the current cell to the cells in the areas that you have taught it about. Only having one cell in an area is not a problem. What does matter is that the cells at your distinct locations are different; if your home and work are covered by the same cells, there's no way for Llama to tell the difference. You'll have to use the experimental Wifi positioning instead. </div></div><div style=\\\"margin-bottom:20px;border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:rgb(204, 204, 204);padding-bottom:20px;\\\"><div style=\\\"font-weight:bold;margin-top:8px;margin-bottom:0px;\\\">How do I make a shortcut to a profile or an event? </div><div>Long press an empty area of your home, choose shortcut, then llama, then either define an event or choose a profile. You can also create a home screen folder to place all of your llama shortcuts in. I recommend using ADWLauncher, Go Launcher or LauncherPro, as they support customisable icons.  </div></div><div style=\\\"margin-bottom:20px;border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:rgb(204, 204, 204);padding-bottom:20px;\\\"><div style=\\\"font-weight:bold;margin-top:8px;margin-bottom:0px;\\\">Why do you have to put an icon in the notification bar? Can I hide it? </div><div>Yes you can hide it, but the icon is import to the operating system. If an application shows an ongoing notification, then the operating system is less likely to kill the application if the operating system needs memory for another application. When memory is low, 'unimportant' applications and services are killed and removed from memory before 'important' applications. The notification tells Android that Llama's background service is 'important'. </div></div><div style=\\\"margin-bottom:20px;border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:rgb(204, 204, 204);padding-bottom:20px;\\\"><div style=\\\"font-weight:bold;margin-top:8px;margin-bottom:0px;\\\">Why doesn't GPS toggle on and off? </div><div>Android fixed the hack that applications used to turn GPS on and off in Gingerbread (Android 2.3). Bear in mind that Android manages GPS power usage by itself: if no applications are using GPS, then the GPS hardware isn't turned on and using power. The tickbox in the settings is simply <em style=\\\"font-style:normal;font-weight:bold;color:green;\\\">permission</em> to use GPS. </div></div><div style=\\\"margin-bottom:20px;border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:rgb(204, 204, 204);padding-bottom:20px;\\\"><div style=\\\"font-weight:bold;margin-top:8px;margin-bottom:0px;\\\">Is there any other way to donate? e.g. PayPal </div><div>Currently, I don't accept any other methods for donating. If you want to donate more via the Android Market, then just buy my other app. You can uninstall it after the 15-minute refund period if you don't fancy using it. Cheers </div></div></div><div style=\\\"margin-bottom:20px;border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:rgb(204, 204, 204);padding-bottom:20px;\\\"><div style=\\\"font-weight:bold;margin-top:8px;margin-bottom:0px;\\\">Can you give an example of using Llama variables?<br/>\\\n</div><div>You basically use the variables to store some internal state, that you can then use to toggle other events. e.g.<br/>\\\n<br/>\\\nYou may decide that when your phone is both charging and connected to speakers that it's in a &quot;music-dock&quot;. Rather than littering all of your events with 'charger connected, headset connected', you could instead use a variable:<br/>\\\n-charger connected, headset connected -&gt; Set Llama variable: MusicDock = yep<br/>\\\n-charger disconnected, headset disconnected -&gt; Set Llama variable: MusicDock = no<br/>\\\n<br/>\\\nYou could then modify all your other events to not change profiles when in MusicDock. e.g.<br/>\\\n-at home between 10pm and 6am, LlamaVariable MusicMode=no -&gt; Change profile to Silent<br/>\\\n<br/>\\\nThat event will stop Llama changing to silent when it's in the &quot;music-dock&quot;.<br/>\\\n</div></div><div style=\\\"margin-bottom:20px;border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:rgb(204, 204, 204);padding-bottom:20px;\\\"><div style=\\\"font-weight:bold;margin-top:8px;margin-bottom:0px;\\\">I want my Wifi to turn off when I disconnect from a Wifi network. How?\\\n</div><div>Llama now supports delayed events, which makes this less convoluted. Create an event like this:<br/>\\\nWifi disconnected (any network) -&gt; Delay for 1 minute and cancel if fase, Turn off wifi (if not connected)<br/>\\\n<br/>\\\nPrevious versions of Llama would have been done like this:<br/>\\\nWifi disconnected (any network) -&gt; Turn on Wifi (for at least 1 minute)<br/>\\\n</div></div><div style=\\\"margin-bottom:20px;border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:rgb(204, 204, 204);padding-bottom:20px;\\\"><div style=\\\"font-weight:bold;margin-top:8px;margin-bottom:0px;\\\">When I uninstall Llama, it says 'uninstall not successful'. Omfg, what is this virus sh*t?<br/>\\\n</div><div>If you've used the screen off action, you will have registered Llama as a device administrator. The uninstall screen unhelpfully doesn't tell you about this. Go to Settings -&gt; Security -&gt; Device Administrators and untick Llama from that list. Then try uninstalling Llama again.<br/>\\\n</div></div>\\\n<div style=\\\"margin-bottom:20px;border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:rgb(204, 204, 204);padding-bottom:20px;\\\">\\\n<div style=\\\"font-weight:bold;margin-top:8px;margin-bottom:0px;\\\">I want to invoke Llama from the command line. How do I do that?</div><div>You need to have some event defined that runs some actions, possibly setting a Llama variable. Then try this something like:<br/>adb shell am start -a com.kebab.Llama.RunShortcut -n 'com.kebab.Llama/com.kebab.Llama.LauncherShortcutRunnerActivity' -e LlamaType Event -e LlamaData EVENTNAME</div></div>\\\n<div style=\\\"margin-bottom:20px;border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:rgb(204, 204, 204);padding-bottom:20px;\\\"><br/>\\\n<div style=\\\"font-weight:bold;margin-top:8px;margin-bottom:0px;\\\">What cool stuff have other people made for Llama?</div><div><a href=\\\"http://www.wizforest.com/tech/llama/;en\\\" style=\\\"text-decoration:none;color:rgb(201, 73, 0);\\\">SocialLlama Distributor</a> lets you create the human-readable description of a Llama event URL created using the share menu.\\\n</div>\\\n</div>\\\n   \\\n<div style=\\\"clear:both;\\\"></div>\\\n</div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div><br/></span>\\\n</div></body></html>\\u0000\"]],\"start1\":0,\"start2\":0,\"length1\":0,\"length2\":18168}]"
metadata_diff: {"new":{"id":"10c58f6846fd4a3d9d09f13064fc518d","parent_id":"f67288c3a0be4374b5d532b5dcc3aabc","latitude":"0.00000000","longitude":"0.00000000","altitude":"0.0000","author":"","source_url":"","is_todo":0,"todo_due":0,"todo_completed":0,"source":"joplin-desktop","source_application":"net.cozic.joplin-desktop","application_data":"","order":1764348821496,"markup_language":2,"is_shared":0,"share_id":"","conflict_original_id":"","master_key_id":"","user_data":"","deleted_time":0},"deleted":[]}
encryption_cipher_text: 
encryption_applied: 0
updated_time: 2025-11-28T21:03:45.128Z
created_time: 2025-11-28T21:03:45.128Z
type_: 13