Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Be able to change notification options from Locale or Tasker #15

Closed
GoogleCodeExporter opened this issue Dec 11, 2015 · 41 comments
Closed

Comments

@GoogleCodeExporter
Copy link

Integrate this functionality as locale plugging. 

It might be case that you are only interested on notifications when you are
at work or when you are at home and you computer is on.

By doing this you can customize more when to be notified. 

It will add a great flexibility to the program. 

Original issue reported on code.google.com by jua...@orcasitas.com on 30 Apr 2010 at 11:39

@GoogleCodeExporter
Copy link
Author

I recomend using an application called Marcopolo for this - 
http://www.symonds.id.au/marcopolo/ . I will take a 
look at how the two can be integrated, though.

Original comment by rdamazio@gmail.com on 30 Apr 2010 at 2:34

  • Changed state: Accepted

@GoogleCodeExporter
Copy link
Author

That's from the mac point of view. I was thinking more from the android point 
of view.
I will take a look to that app.

If you want to take a look to the locale development examples here you have the 
URL.

** http://www.twofortyfouram.com/developer.html

Locale will allow you to do things like:

** Disable notifications during specifics meetings (based on calendar)

which can be interesting if you give presentations and don't want to remember to
disable it every time. :)

Thanks for the quick response.

Original comment by jua...@orcasitas.com on 30 Apr 2010 at 2:46

@GoogleCodeExporter
Copy link
Author

Issue 42 has been merged into this issue.

Original comment by rdamazio@gmail.com on 6 Sep 2010 at 7:58

@GoogleCodeExporter
Copy link
Author

Merging with the request for the ability to change any config on the app.

Original comment by rdamazio@gmail.com on 6 Sep 2010 at 7:59

  • Changed title: *Be able to change notification options as a locale plugging. *
  • Added labels: Component-Logic, OpSys-Android, Priority-Medium

@GoogleCodeExporter
Copy link
Author

Issue 45 has been merged into this issue.

Original comment by rdamazio@gmail.com on 8 Sep 2010 at 6:05

@GoogleCodeExporter
Copy link
Author

Issue 49 has been merged into this issue.

Original comment by rdamazio@gmail.com on 8 Sep 2010 at 10:29

@GoogleCodeExporter
Copy link
Author

Issue 54 has been merged into this issue.

Original comment by rdamazio@gmail.com on 9 Sep 2010 at 1:46

@GoogleCodeExporter
Copy link
Author

Issue 60 has been merged into this issue.

Original comment by rdamazio@gmail.com on 9 Sep 2010 at 12:39

@GoogleCodeExporter
Copy link
Author

Issue 61 has been merged into this issue.

Original comment by rdamazio@gmail.com on 9 Sep 2010 at 12:41

@GoogleCodeExporter
Copy link
Author

Likewise, being able to enable/disable the handset portion based on Locale 
conditions would be great, for example when I'm not home or at the office turn 
off the Notifier, since I'd likely not be on a wifi network anyway.  That would 
free up some ram to use for other apps, which is key.  Then, when I return to 
my home or office, have Locale turn it back on automatically.  I was thinking 
of doing this with the Locale Shortcut plugin, but I'd have to use a Locale 
Task Killer plugin to disable it when away from my computers, which is not 
preferable.  Thanks!

Original comment by pjhol...@gmail.com on 9 Sep 2010 at 3:47

@GoogleCodeExporter
Copy link
Author

About freeing up ram for other apps - Android does that automatically, it will 
even kill the notifier service if i needs the memory. There's also issue 40 
which I filed to have the service restart if it was killed this way (it 
currently stays dead).
I'll definitely include support for turning the service on/off from locale 
though.

Original comment by rdamazio@gmail.com on 9 Sep 2010 at 5:30

@GoogleCodeExporter
Copy link
Author

Ok, given the amount of requests for multiple IPs, I think I'll implement both 
things separately.

Original comment by rdamazio@gmail.com on 9 Sep 2010 at 5:53

@GoogleCodeExporter
Copy link
Author

Original comment by rdamazio@gmail.com on 9 Sep 2010 at 5:53

  • Changed title: Be able to change notification options from Locale or Tasker

@GoogleCodeExporter
Copy link
Author

Btw, I just realized both of these apps are paid. I try to keep the notifier a 
zero-monentary-cost development - anyone willing to donate those?

Original comment by rdamazio@gmail.com on 23 Sep 2010 at 5:04

@GoogleCodeExporter
Copy link
Author

Not a problem.
How do u prefer to get a donation? Do u have paypal acc? 

Original comment by BbI...@gmail.com on 24 Sep 2010 at 10:53

@GoogleCodeExporter
Copy link
Author

I would gladly pay for Tasker for you.  It's seriously the coolest app I've 
installed to date.  It's like a scripting language for your phone that has 
hooks into all these states and events.  Fill out the contact form @ 
http://sysadminsjourney.com/contact or post a donate link and I'll get you 
hooked up.

Also, I think issue 117 might need merged into this one.  I found that one 
first and posted there before I saw this one.

Original comment by jus...@techadvise.com on 24 Sep 2010 at 1:12

@GoogleCodeExporter
Copy link
Author

Thanks :) Paypal works - my account is rodrigo@damazio.org .

I've been reading the locale and tasker developer docs, it looks pretty easy to 
integrate with. For my own reference:
http://www.twofortyfouram.com/developer.html
http://tasker.dinglisch.net/developers.html

What I didn't like in Locale/Taker (from the docs) is that it expects absolute 
conditions, so maybe some day I'll implement my own locale-like app which 
allows a probabilistic approach like Marcopolo does.

Original comment by rdamazio@gmail.com on 24 Sep 2010 at 8:06

@GoogleCodeExporter
Copy link
Author

Thanks, I just got Tasker and am starting to work on this.

Original comment by rdamazio@gmail.com on 26 Sep 2010 at 4:15

  • Changed state: Started

@GoogleCodeExporter
Copy link
Author

As an update, here's the plan:
* In the first version I'll allow you to just enable/disable notifications as a 
locale/tasker setting - this addresses what most users want
* Next I'll add more settings, like enabling/disabling specific types of 
notifications or changing target IP/bluetooth device
* I'll make a separate app which sends text notifications (only one setting per 
apk is supported, so it has to be separate)

Original comment by rdamazio@gmail.com on 26 Sep 2010 at 6:49

@GoogleCodeExporter
Copy link
Author

Initial support added in r298. Appears to be working, but I'm attaching an APK 
for your testing. Please let me know how it goes.

Original comment by rdamazio@gmail.com on 26 Sep 2010 at 8:49

Attachments:

@GoogleCodeExporter
Copy link
Author

Done separate plugin in r299, r300, r302 and r303.
I'm publishing the separate plugin to the Android Market now, and the settings 
plugin will go into the next release of the notifier. I'm keeping this open as 
I still need to add more settings.
Please report success/failure with the above APK.

Original comment by rdamazio@gmail.com on 27 Sep 2010 at 5:47

@GoogleCodeExporter
Copy link
Author

The AndroidNotifier-0.2.7-pre2.apk seems to be working fine in Locale.  I will 
try the new one from the market now...

Original comment by pjhol...@gmail.com on 27 Sep 2010 at 5:52

@GoogleCodeExporter
Copy link
Author

Issue 117 has been merged into this issue.

Original comment by rdamazio@gmail.com on 27 Sep 2010 at 6:31

@GoogleCodeExporter
Copy link
Author

Issue 183 has been merged into this issue.

Original comment by rdamazio@gmail.com on 28 Sep 2010 at 10:27

@GoogleCodeExporter
Copy link
Author

+1 to turning off / on Notifier service via Tasker.. 

Custom Notification (K9 Email notification) from Tasker via Notifier works 
perfect...  Thanks for adding this :)

Original comment by ozgreg on 29 Sep 2010 at 11:18

@GoogleCodeExporter
Copy link
Author

Turning notifier on/off is already done and released (it's part of the main 
notifier app).
Sending notifications requires the separate plugin, also available on the 
android market.

Original comment by rdamazio@gmail.com on 29 Sep 2010 at 1:21

@GoogleCodeExporter
Copy link
Author

I just tested it (from the market) and turning on/off the service works with 
Tasker. 

I would suggest the following though:
1. the same wording as in AN. I mean turning on "service" (AN) VS. 
"notification" (plugin). It is obvious now it being the the only thing to 
enable.
2. there are many plugins named "locale notification ..." in the market. I 
found the good one by looking in your svn changes ;) Make it more obvious by 
referencing to _your_ plugin in the main app description. Maybe even a shortcut 
in the apk that points to the market entry so users discover this more easily.

Thanks so much for this feature (too)!

I suggest closing this issue and creating new ones for new setting entries.

Original comment by peter.v...@gmail.com on 29 Sep 2010 at 2:21

@GoogleCodeExporter
Copy link
Author

About 1 - the next AN version changes the wording anyway :) I made some 
substantial changes in r317 which makes the service be auto-started in more 
situations (basically whenever there's a notification to send, even if the 
service had previously  been killed by Android), so there's no more 
enabling/disabling the the service itself, but you can enable or disable the 
notifications (and if they're disabled, the service shuts down and doesn't 
start up again).

About 2 - you're right, I'll update the docs and put a new QR code in the 
homepage.

I'll keep the same issue for new settings (there shouldn't be too many of them).

Original comment by rdamazio@gmail.com on 29 Sep 2010 at 3:14

@GoogleCodeExporter
Copy link
Author

About the plugin: When I open it, it says
"locale and AN are required to use this plugin"
and propses to install Locale. Nice! But actually (Locale || Tasker) && AN 
would be true. I have Tasker so the message can be a little confusing for 
newcomers (no hint to it right now but works great with it).

Suggestion: "This plugin is ready to use from within the 'Tasker' or 'Locale' 
apps, which are available in the Market aswell."

Original comment by peter.v...@gmail.com on 29 Sep 2010 at 9:46

@GoogleCodeExporter
Copy link
Author

Oh and if you keep this Issue for new settings wishes, here are mine:

Enabling/disabling Bluetooth and WIFI notifications (separately). At work I can 
do only BT (and USB if plugged in), at home I rather do WIFI.

Thanks :)

Original comment by peter.v...@gmail.com on 29 Sep 2010 at 9:48

@GoogleCodeExporter
Copy link
Author

My plan is to add the following options:
* Enable/disable IP and bluetooth
* Change the target bluetooth device or target IP type
* Change the custom IP address list
* Enable/disable auto-enable wifi and auto-enable bluetooth

Any others that would be useful?

I'm also considering making another locale plugin (totally independent from the 
notifier) to change wifi sleep policy, do you think that would be interesting?

For security reasons I won't make it possible to enable or disable encryption 
(any other app could trigger this if I did).

Original comment by rdamazio@gmail.com on 29 Sep 2010 at 9:56

@GoogleCodeExporter
Copy link
Author

Now that you mention, changing the IP adress could be a security issue aswell.

Maybe a whitelist inside AN for which apps can change these settings? I am not 
sure this complexity should be added to the notifier so that's probably a wrong 
idea anyway..

Probably even better to create lists (profiles?) for 
(wifi/bluetooth)+IP_address+auto_enable combinations. Like "home" is address 
.101 and wifi with encryption, at work bluetooth and device ID and auto enable 
BT.

I'd say let's try them one by one and see how useful they are in their simplest 
form and wait for other feedback before implementing time consuming things.

Original comment by peter.v...@gmail.com on 29 Sep 2010 at 10:12

@GoogleCodeExporter
Copy link
Author

If you use encryption and keep it turned on, then changing the IP address is 
not a problem - someone can get it to send the notifications to an 
eavesdropper, but they'll be encrypted with a pass phrase unknown to him. 
(think of Alice and Bob :D )

Original comment by rdamazio@gmail.com on 29 Sep 2010 at 10:30

@GoogleCodeExporter
Copy link
Author

Added IP and bluetooth method enable/disable in r346.

Original comment by rdamazio@gmail.com on 30 Sep 2010 at 4:45

@GoogleCodeExporter
Copy link
Author

Added IP target and custom IP in r348.
Added bluetooth target in r349.
Added auto-enabling of wifi and bluetooth in r350 and r351.

Anything else?

Original comment by rdamazio@gmail.com on 30 Sep 2010 at 2:21

  • Changed state: Fixed

@GoogleCodeExporter
Copy link
Author

I'm sold :) Is definitely good enough to say remote configuration _is_ 
supported. Will see what others say they are missing.

Original comment by peter.v...@gmail.com on 30 Sep 2010 at 3:39

@GoogleCodeExporter
Copy link
Author

Not sure where I should post this but here is a little patch to:
1. love Tasker more by mentioning it as being supported
2. not to use Locale's own Activity for displaying the message
3. providing link to the dependencies on the market
4. add a hint about the empty fields problem (Leandro might want to revise his 
patch in the client, this way users are told what can happen, now you can use 
it the way you want)
5. fixing a typo

Please consider renaming the plugin or at least adding Tasker to the 
description on the market. Just to be fair :)
(I'm not one of them I swear, just a user of theirs)

P.S. please be easy on the patch, it's my first android 
hack/contribution/whatever

Original comment by peter.v...@gmail.com on 1 Oct 2010 at 5:23

Attachments:

@GoogleCodeExporter
Copy link
Author

Nice, thanks a lot! And don't worry, I'll make any fixes needed on the patch.

About 4 - I'll keep the hint, but I really think clients should support empty 
fields nicely.

And btw, the market description already includes Tasker:
This is a Locale/Tasker plugin which sends notifications to be shown on your 
desktop over Wifi, 3G or bluetooth using Android Remote Notifier.

IMPORTANT: You must have both Tasker (or Locale) and Remote Notifier installed 
for this to work. Both are available from the Android Market.

Original comment by rdamazio@gmail.com on 1 Oct 2010 at 5:27

@GoogleCodeExporter
Copy link
Author

fair enough, in every point :)

Original comment by peter.v...@gmail.com on 1 Oct 2010 at 5:31

@GoogleCodeExporter
Copy link
Author

Merged in r374

Original comment by rdamazio@gmail.com on 2 Oct 2010 at 5:14

@GoogleCodeExporter
Copy link
Author

LOVE IT!

Original comment by erom...@gmail.com on 6 Nov 2010 at 8:41

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant