andocromn
-
754 votesunder review ·
AdminCarter
(Admin, two forty four a.m.) responded
The original request here was for a logical NOT operator, although it doesn’t make sense to create a logical NOT operator in Locale. Most of the time, NOT isn’t the right way of thinking about a Condition. For example, NOT 9 am to 5 pm could be redefined as 5pm to 9am. NOT at work would simply be the Default situation. For the other conditions built-in to Locale, thinking about the problem in a different way usually means that NOT isn’t needed. If a Condition truly needs NOT logic, then that should probably be put into the individual Condition’s UI itself rather than as part of the Edit Situation screen in Locale.
Although this request is for a NOT operator, I believe the underlying request here is a way of detecting the transition between situations. The strongest use case would be detecting when you’ve left a particular Location. While Locale… more
andocromn
gave this 2 votes
·
-
290 votes
AdminCarter
(Admin, two forty four a.m.) responded
Android 2.0 finally adds APIs that would allow apps like Locale to implement a “Bluetooth Condition.” If this were implemented, it would only be available on Android 2.0 phones.
Update: There are some Android bugs that will prevent this from being implemented for the time being. Specifically, we’ve found that Bluetooth will periodically crap out until the phone is rebooted.
andocromn
gave this 2 votes
·
-
2 votesdeclined ·
AdminCarter
(Admin, two forty four a.m.) responded
Locale beta did this, where locations were reusable between situations. In the end, it made the UI too complicated and made locations behave inconsistently from all other conditions. Consistency is very important to the UI and I don’t think making named conditions for every condition type would be good natural extension.
andocromn
shared this idea and gave it 2 votes
·
-
258 votes
andocromn
gave this 1 vote
·
-
474 votesplanned ·
AdminCarter
(Admin, two forty four a.m.) responded
Good news!
Android 4.0 finally grants apps official access the built-in calendar, so we’re planning to support this with a new Calendar condition. This new Calendar condition will be Android 4.0+ only.
As a general design principle, Locale only has features that Android officially supports (for the developers out there, we only use public APIs). This ensures that Locale works reliably across different versions of Android and different Android devices. For those without Android 4.0 (or those looking to live on the edge), there are some third-party plug-ins that implement Calendar condition functionality. These plug-ins are using undocumented Android APIs, and may therefore not work on all devices or may break when new versions of Android are released. Anyway, here are links to these plug-ins on the Android Market:
https://market.android.com/details?id=org.acm.steidinger.calendar.localePlugin
https://market.android.com/details?id=com.DroidMunkey.LocaleCalendarConditions
andocromn
gave this 1 vote
·
-
4 votes
AdminCarter
(Admin, two forty four a.m.) responded
It’s always interesting to hear the usage scenarios people have for Locale!
Locale’s UI doesn’t handle your particular use case very well, as Locale’s UI was optimized for the most common usage scenario. Consider a recent study http://www.nature.com/nature/journal/v453/n7196/abs/nature06958.html where researchers followed the movements of 100,000 mobile phone users based on cellular tower positioning and discovered that people devote most of their time to just a few locations. Nearly 3/4 of the study’s subjects stayed within a 20-mile radius over a 6-month period. There was a significant degree of periodicity in these movements, such as going between home and work on a daily basis. Simply put, the majority of users are interested in a few locations that are relatively close together.
In terms of improving the Locale UI for your use-case, let’s look at the options:
a. Locale doesn’t know anything about what the user is typing in; it simply hands… more
andocromn
gave this 1 vote
·
it sucks that it will only work in 2.0, my motorola backflip is only 1.5. is there anyway to detect if a device is connected? if my car radio is in on / in range / connected to my phone, is the perfect way to tell if i’m driving in my car.