yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] aalupatti:
Did u try these?

Galaxy Note @ mobile
[Android Apps and Games] diddsen:
nobody said that they cannot ;)

they can, but not more.
[Android Apps and Games] jasonsf:
His last blog post was a month ago, so it seems he's still actively developing. Maybe he is taking a vacation.
[Android Apps and Games] buralien:
And that's exactly what I was asking for - condition to check if GPS is on or off, to be able to run some actions based on that. I don't need the location. I don't need the history of where the phone has been. I just need to run an action when GPS is turned on/off.

Hope it is clear now.
[Android Apps and Games] diddsen:
ok, now it's clear.

sorry for misunderstanding ;)
[Android Apps and Games] javm:
I am using llama to turn off the horrible shutter and autofocus sounds of the Camera app on Samsung Galaxy S3. I am simply starting the Silent profile on Camera start. At the moment, I am always switching to Normal profile when Camera gets turned off. If there a way to remember the profile that was active before Camera started and return to it after it closes?
[Android Apps and Games] jasonsf:
I haven't tried this, but it looks like you can set a llama variable each time you change the profile. Then you would have to create a Camera Close rule for each profile, with each one having a condition that checks the llama variable. Each one would set the profile based on the met condition.

Example:

Event 1: Set Profile to "Noisy", Set llama variable "RestoreProfile" to "Noisy"

Event 2: Set Profile to "Quiet", Set llama variable "RestoreProfile" to "Quiet"

Event 3: Condition: Camera Closed AND RestoreProfile = Noisy, set profile to Noisy.

Event 4: Condition: Camera Closed AND RestoreProfile = Quiet, set profile to Quiet.

etc...

Jason
[Android Apps and Games] javm:
Thanks Jason, I also thought about this but it is a rather complicated workaround,especially if I have 6 profiles used in perhaps 20 rules already... - I was hoping for a solution of the kind:

Camera Open -> Set PreviousProfile to Profile, Set Profile to Silent

Camera Closed -> Set Profile to PreviousProfile

But from your answer it seems that it is probably not possible, so I will have to decide whether to take the complicated workaround or live without it. Thanks!
[Android Apps and Games] buralien:
What works for me is to set the profile to lock forever. I then unlock it in the second event and it goes back to the original profile. I can even see this in the profiles tab - one profile says "locked forever" and the original says "will activate when profiles are unlocked".
[Android Apps and Games] poczynek:
I am wanting GPS to turn on when Maps is started. I have set it up so that Condition is active application when the current app is Maps and action is toggle gps on but it's not working. Any ideas what I'm doing wrong?
[Android Apps and Games] csapdani:
You better turn on GPS manually as the above will make Llama check if Maps is running every few hundred milliseconds. That will drain your battery pretty quickly.
[Android Apps and Games] benjymous:
Not if llama uses the accessibility hooks (I have no idea if it does, but it certainly has accessibility options), but those let an app get notifications when a new activity is brought to the front. I use that in another app to check if k-9 mail has been opened, then closed again, so I can refresh the unread mail counts.
[Android Apps and Games] ETFoneHome:
I notice the Dev's website has updated versions of this great app. I wonder when those versions will be sent to Google Play.

http://kebabapps.blogspot.com/searc...dated-max=2013-01-01T00:00:00Z&max-results=16
[Android Apps and Games] csapdani:
I suppose the developer collects the crash reports and general feedback of the new versions before pushing them to the Play Store, considering it has 5527 installations so far. A bad update could cause serious problems for a lot of the users, and people would become distrustful and uninstall the app quickly.
[Android Apps and Games] JDM STi:
Hi... since CM10 now resumes the support of unlinking ringtone + notification volume, would upcoming version of Llama support this again?
[Android Apps and Games] jthatch12:
Can we be best friends?! :silly:
[Android Apps and Games] urthling:
Is there a way to periodically turn WiFi on to check to see if there is a known network to connect to? I thought it might be under polling but that's not the case. Whenever it gets out of range of a network, wifi turns off, but doesn't re-enable it when back the network is seen again. I do see the network under the recent tab since I have the option set under the experimental settings. Thanks!
[Android Apps and Games] ahhl:
i need help too, i want to create an event that do this

when x application trigger

play music a

play for certain duration

play music b

when x application trigger (again for the second time)

stop music b

do not execute this event. (for the second time)
[Android Apps and Games] Cloaker:
I love this freaking app. lol

How would I force screen on when plugged in? Sorry, the screen action are kinda confusing...
[Android Apps and Games] ahhl:
under condition

theres selection for charging/uncharging

under action

theres seclection for screen timeout
[Android Apps and Games] wso277:
Hi, I need help setting up a profile.

I am using ics and widget locker and a pattern unlock set up.

What I want is to only activate the pattern 5 minutes after the screen is off.

So I set up one profile to disable the screen lock when user is present and another one to enable screen lock when screen is off and with a delay of 5 minutes.

The first profile seems to be working, but the second one doesn't enable the screen lock.

Can anyone help me with this?
[Android Apps and Games] missparker76:
I've just installed the application and it seems to be the only location-based profile application that works on my Z so I'm pretty happy :). I'll test it much deeper these days to see how profiles switch.

This may be a stupid question but there are 2 features I don't understand:

- APN on/off

- reminder.

Could you please explain how to use them?

Thanks!
[Android Apps and Games] Kebab3000:
If you're on a GSM network, your phone connects to the internet using an APN. APN on/off lets you disable mobile network data. I use it to disable data when I'm at home between 12am and 6am, because there is no point in my phone checking my emails in the middle of the night.

I'm not sure what happens on CDMA networks.

Reminder lets you set a reminder for when you enter an area. It appears as a notification in the notification bar. So you can use it to remind yourself to 'pay a bill' when you get home. It's not implemented very well at the moment and isn't very pretty, but the basic functionality is there
[Android Apps and Games] missparker76:
Thanks for the explanation ;)

I'm on a GSM network. Ok I switched the APN off and on and it worked.

I see my battery drain faster while the application is active. The cell area refresh rate doesn't seem to be regular. How is it programmed? I've noticed that it's very often when the phone is awake and that it doesn't seem to be refreshed while it's asleep. Do you plan to add an option to choose the refresh rate?
[Android Apps and Games] Kebab3000:
How do you know your battery is decreasing due to Llama and what phone do you have? Llama doesn't do any polling and sit's there waiting until android tells it that the cell id has changed. So there's no refresh rate to configure :)

I don't know the technical details, but I guess that if your phone is asleep, it won't be switching cells. If your phone's screen is on, it's probably doing all the 'background data' stuff, causing it to try and find the best cell. Also, the screen is a battery hog, so if you're checking llama every 5 mins to see if the cell has changed then I'd blame the screen.

If you think llama is using up your battery, can you install 'Usage Timelines' by Achim Leubner and let me know what the CPU % is.

Thanks
[Android Apps and Games] missparker76:
I think the battery drain is due to Llama because I've only installed 2 applications between yesterday (yours and XDA app) and I've noticed that the battery drain was more important today.

I thought that Llama was sending requests from time to time to check if there was any location change (it's how it works for some other application like yours) but from your previous post and my conclusion at the end of this day I understand that in fact there is no requests, only an information "sent" to Llama to inform of the cell ID change. So my question about refresh rate was not appropriate :o

My Phone is an HTC Desire Z.

I've installed Usage Timelines: the result is currently 0% :D But this afternoon the highest % I saw was something like 2% I think.

I'll have to test a few more days to check if that battery drain is confirmed or just a ponctual thing.

Anyway I must say that I really like this application! Thanks for developping it.

The switch worked perfectly from Home to my car then to Work etc. :o

If I may add a suggestion it could be nice to be able to manually launch a profile (I mean a full profile: bluetooth, ring volume etc.) for events that cannot be set up (e.g.: when I leave home or work I have defined a profile for my car. But sometimes I will leave home and not take my car so I will not need bluetooth etc. And I cannot define this profile with location or time. The solution would be to manually launch a profile. I've seen this feature on Profile Valet and think it can really complete the application. But it's just a suggestion :) ).
[Android Apps and Games] Kebab3000:
You can activate profiles by long-pressing them in the profiles tab. I'm thinking of creating a live folder, so you can have the list of profiles accessible from the home screen.

As for the 'car' profile. Are you asking for Bluetooth on/off to be part of the profile?

So you would have:

Profiles:

-Normal - set volume to 8, dont change bluetooth setting

-Car - set volume to 4, turn on bluetooth

-Quiet(Work) - set volume to silent, dont change bluetooth setting

Events

-Arrive home - set profile to Normal

-Arrive work - set profile to Quiet(Work)

This would mean that you manually turn on car mode. When you get near work, the Quiet(Work) is activited, but you'd manually have to disable bluetooth. Likewise, when you get home, the volume with turn back up, but you'd have to manually disable Bluetooth. It would be a bad idea to have the Normal/Quiet profiles disable Bluetooth, because you may not be out of your car when you enter your workplace's cell.

The other option is build some complex thing with lots of conditions, negating conditions and stuff, but then you'd just have Tasker :D

Thoughts?
[Android Apps and Games] missparker76:
For the moment I have :

- Enter Home : Wifi (on) - Bluetooth (Off) - Profile (Normal)

- Leave Home : Wifi (off) - Bluetooth (On) - Profile (Loud) => my car profile

- Enter Work : Bluetooth (off) - Profile (Quiet)

- Leave Work : Bluetooth (on) - Profile (Loud) => my car profile

So I have my car profile automatically launched when I leave home or work.

If I want a 2nd profile (if I go walking) when I leave home or work I cannot set that up because it is the same locations.

So what I was suggesting was being able to create a manual profile that would not take into account the Location or the Time. This way I could have a manual profile that I would activate when I Leave Home / Leave Work by foot with: Wifi (off) - Profile (Loud). And when I get home or work the automatic Enter Home or Enter Work profile would take over.

It would have been great to have everything gathered in the same application ;)
[Android Apps and Games] Sian:
Hi

May I know whether there is a feature to turn on quiet mode based on appointment in calendar, e.g. meeting?
[Android Apps and Games] tdusen:
Installed and running. Only bug I've seen so far is the Notification bar llama color selector. The default for black icons was unchecked so that the llama should be white. The initial llama was black. I had to check/uncheck black icons to get a white llama displayed.

Now a design question. Why have audio profiles separate from other actions?

IMO, profiles should control everything you can change and the events only need to know when to switch profiles. If you did that, it would be useful to have a way to copy an existing profile as a starting point.
[Android Apps and Games] tdusen:
Well, I'm sorry to say I can't use llama. The App works great. My problem is that Cells are just too big. I learned the cells for home last night. Then set up an event to change the ringer volume when I left home. I was 10 miles away when I finally broke out of my home cells. Then, of course, my profile switched.
[Android Apps and Games] Kebab3000:
10 miles seems unusually large. I live in London, and there's a different cell 5 minutes down the road. Whereabouts do you live (approximately)? Is it a built up area?

Llama gets it's info from the CdmaCellLocation class. I'm using getBaseStationId at the moment. I can output some more info about the CDMA cell for debugging purposes to see what other values change when the cells change. Would you be willing to run that for me once I've implemented it?
[Android Apps and Games] tdusen:
I'm in Virginia about 30 miles west of Washington DC. Yeah, I was surprised it was so large.

Sure, I'll try it, I'm happy to help.
[Android Apps and Games] sachinchavan.in:
Gr8.

LG Optimus One P500 -India

Installed 15 mins back and already loved it.

More of a programmer oriented(loved it).

Has

If elseif elseif andalso

If its Monday to saturday AndAlso time is 6Pm to 8PM AndAlso near shop Remind about milk

Mising

OrElse

If its Monday to saturday AndAlso time is 6Pm to 8PM AndAlso near shop Remind about milk

OrElse

If its Sunday AndAlso time is 6am to 8PM AndAlso near shop Remind about milk

Just to confuse myself.

I know this can be achived by adding two diffrent events.
[Android Apps and Games] sachinchavan.in:
Need option to clear Cell history

Need option to clear Cell history from Cells Tab.
[Android Apps and Games] sachinchavan.in:
Any Plan on Adding GPS/WIFI hotspot

Any Plan on Adding GPS/WIFI hotspot.
[Android Apps and Games] sachinchavan.in:
In cells tab need option to filter or sort cells by area. This will allow to select non added towers easily.
[Android Apps and Games] Kebab3000:
The problem with that is when you select 'Leave on foot' profile, it will also eventually trigger the Leave Home/Work profile and turn on bluetooth... unless I implement some kind of negated 'last profile' condition

No such feature, and sorry to say it's unlikely I'll add it. I'm sure there are other apps that do that though.

That's probably a silly typo. Imagine it says 'White icons' :) As for the profiles, Llama started out in Nokia-land which lets you specify profiles for the ringer/vibrate settings. I copied that approach to start with. I think it makes sense for ringing/vibrating settings to be grouped by profile. I'm not sure whether to proceed with adding Bluetooth settings as part of a profile.
[Android Apps and Games] Kebab3000:
If you sort them, then you'd lose the time information that lets you see where you probably were. Most of the time you will see the same 2 cells alternating, so you only need to add both cells to an area once, and the recent cells list will be filled with the area's name.

GPS needs some hacky root stuff to work without user interaction. I guess WIFI hotspot would be the same? If you can point me in the direction of some code that does it I can try putting it in.

Maybe :)

Yea, I know. It's unlikely that I'll add that. The UI would need to be able to reorder the conditions and have precedence rules and brackets. Maybe if I get bored one weekend.
[Android Apps and Games] missparker76:
Yep, not wrong :D And if an "Automatic/Manual switch" was added? This way when you decide to activate a manual profile you're sure that the automatic profile won't launch... ?
[Android Apps and Games] sachinchavan.in:
Don't think GPS need some root stuff.

You can refer geo-reminder for the same. Specifically this.

Using location is same as using mobile tower. Just hook up and tell the locationservice to inform time based/movement based.

i.e. Ask locationservice to tell me every 15 mins about location or tel me every 5 miles. So no polling and hogging battery.

Well the app in its current state is awesome, it really dont require anything new, still whats harm in adding :).
[Android Apps and Games] sachinchavan.in:
While adding new event following got added.

Quick Reminder|0|:|e|Home|n|photo|1|
New Event|0|:|e|Home|y|0|

As you can see the second line has 1 parameter less than the first line.

When try to open the Events tab following error was given

--------2011/01/15 07:44:31------------------------------------
java.lang.RuntimeException: Unable to resume activity {com.kebab.LlamaDroid/com.kebab.LlamaDroid.EventsActivity}: java.lang.ArrayIndexOutOfBoundsException
at android.app.ActivityThread.performResumeActivity(ActivityThread.java:3128)
at android.app.LocalActivityManager.moveToState(LocalActivityManager.java:138)
at android.app.LocalActivityManager.startActivity(LocalActivityManager.java:339)
at android.widget.TabHost$IntentContentStrategy.getContentView(TabHost.java:673)
at android.widget.TabHost.setCurrentTab(TabHost.java:345)
at android.widget.TabHost$2.onTabSelectionChanged(TabHost.java:138)
at android.widget.TabWidget$TabClickListener.onClick(TabWidget.java:453)
at android.view.View.performClick(View.java:2408)
at android.view.View$PerformClick.run(View.java:8816)
at android.os.Handler.handleCallback(Handler.java:587)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:123)
at android.app.ActivityThread.main(ActivityThread.java:4627)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:521)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:878)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:636)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.ArrayIndexOutOfBoundsException
at java.util.ArrayList.get(ArrayList.java:313)
at com.kebab.LlamaDroid.EventConditions.DayOfTheWeekCondition.AppendConditionDescription(DayOfTheWeekCondition.java:54)
at com.kebab.LlamaDroid.Event.AppendConditionDescription(Event.java:152)
at com.kebab.LlamaDroid.EventsActivity.RefreshList(EventsActivity.java:111)
at com.kebab.LlamaDroid.EventsActivity.onResume(EventsActivity.java:36)
at android.app.Instrumentation.callActivityOnResume(Instrumentation.java:1149)
at android.app.Activity.performResume(Activity.java:3823)
at android.app.ActivityThread.performResumeActivity(ActivityThread.java:3118)
... 17 more

I removed the offending line and imported back it is working fine.

Thanks again for the great app. Jan end is coming near, please update the new apk.

I have some thoughts on releasing the application in market ad/donation/paid.

I will put my thoughts soon.

You might be wondering why this nub is interested so much.

This is because this was the same app Idea I had started working on.

I wanted to create the same app as yours. But you were fast enough.
[Android Apps and Games] Kebab3000:
Thanks for the report. Each event/condition can have a varying number of parameters. It would have been caused the the 'Day of the Week' condition not having any days selected. I've fixed it for the next build that I upload. In the mean time, select a day of the week :cool:

Cheers for the interest :)
[Android Apps and Games] pprakash:
Have been using it for 3 days now on my XT502. Works perfect.

Request:

Not sure if this might be possible,if an option to trigger an app based on the event would be great.

For example Having car mode installed if it can trigger it when leaving home and disable it when back home.
[Android Apps and Games] sachinchavan.in:
Kebab3000 :Where are you dear,

Waiting for Jan end update.
[Android Apps and Games] Kebab3000:
Yep, that's a possibility. Bear in mind that phone cells are large, so you won't enter car mode until you've driven for 1-2 minutes.

I'm still around. Real-life stuff is more important than llama for the moment. It'll probably be on the market before then end of Jan :)
[Android Apps and Games] pprakash:
This is just an example. May be it opens up lot of opportunity for others too ;)
[Android Apps and Games] benjymous:
I had a thought about another couple of options that would be handy:

In the "Toggle Wifi" option, add a "Wifi off if not connected" option - so if I'm actually using the wifi, but the cell changes (e.g. mobile hotspot), it will leave the wifi on

A global "dampening" setting - wait until you've been in a cell for X seconds before switching profile - I've found that sometimes my phone loses signal for a second, and locks on to a really weak cell tower instead, then flips back to the strong signal a few seconds later. Making it wait 30 seconds before changing profile would smooth that out
[Android Apps and Games] missparker76:
But it would reduce the efficacy of the application. What I like in that application is that the profile changes quickly. Personally I wouldn't like the profile to take longer to switch.

If you add the weak cell to your area, it will keep it from switching the profile. Each time that my phone finds a new cell in my areas I add it and voilà (I now have 18 cells for my home)!
[Android Apps and Games] Kebab3000:
There's a new version in the first post with some cool stuff in it. :cool:

Yep, I can now have it run the Clock application and disable the keylock when it's charging in it's dock. This fixes the HTC Desire Z's sucky lack of a proper dock mode. :D

Maybe, I'll have to see if android has an easy distinction between 'WiFi connected', 'WiFi in use' and 'WiFi not connected'

Again maybe. The 'preferred' way is as missparker76 said... keep adding cells that are found in your home.
[Android Apps and Games] Anon87:
Does this work on HTC desire?

Sent from Soft-Rooted HTC Desire using Tapatalk
[Android Apps and Games] Kebab3000:
Hopefully :) Try it and see
[Android Apps and Games] benjymous:
But that's exactly the problem, you see - the weak cell is in my home set. It's all fine, until I'm about 5 miles from home, when it'll pick that cell up for a fraction of a second, switching me in and out of the home profile. This has the side effect of turning wifi off again as it thinks I've just left home, which is a pain when I'm using a mobile hotspot (bus with wifi)
[Android Apps and Games] sachinchavan.in:
So add that cell to your Home profile. Then even if it switches to that cell it will not move out of home profile
[Android Apps and Games] benjymous:
Yes, it *is* in my home profile, but it also shows up 5 miles way from my home (when I'm on the bus to work)

This has the effect of turning off the wifi (that I'm using) when I leave the cell again.
[Android Apps and Games] Kebab3000:
Try the new version. You can set it so that Wifi isn't disabled if it's connected to a wifi network
[Android Apps and Games] benjymous:
Brilliant! Thanks!
[Android Apps and Games] Kebab3000:
Hey all.

It's finally in the Market and it's Free :) There's a donate button in the app, which links to another app in the Market that doesn't do anything except for provide a way for you to give me money.

Since some thieving douchebag stole my package name, you'll have to Export your current settings to the SD card, install the market version, then Import your settings from the SD card. Then uninstall the original version so you don't have two copies

Cheers for the feedback!
[Android Apps and Games] missparker76:
Thanks Kebab :o

Your application is running 24/7 on my phone and I really like it so I'd like to make a donation.

But I read that you've been a victim of that famous DaVinci stealer. Is it safe donating now or will it go in DaVinci's pocket (I would hate that!!!) ?
[Android Apps and Games] Kebab3000:
Cheers :) DaVinci's one isn't on the market at the mo. Make sure you get the one by KebabApps
[Android Apps and Games] benjymous:
Updated, reviewed and donated :-)