Comments (36)
See issues 7, 32 and 42 which requested basically the same.
Original comment by [email protected]
on 8 Sep 2010 at 1:22
- Changed state: WontFix
from android-notifier.
Issue 42 is not the same. Tasker can use intents from other applications, they
just need to be published. I'm talking about allowing other applications to USE
the notifier to send their own messages.
Original comment by [email protected]
on 8 Sep 2010 at 1:43
from android-notifier.
Right. Sounds quite reasonable. I'm not familiar with Tasker - what does it
expect? Can it call to a service, or just intents?
Original comment by [email protected]
on 9 Sep 2010 at 2:06
- Changed title: Allow other applications to send notifications through Android Notifier
- Changed state: Accepted
- Added labels: Component-Logic, OpSys-Android, Priority-Medium
from android-notifier.
I implemented (basic) support for 'user' notifications. Other apps can send
notifications with the following Intent:
Intent i = new Intent("org.damazio.notifier.service.UserReceiver.USER_MESSAGE");
i.putExtra("message", "Some message");
i.putExtra("title", "Some Title");
The Linux client supports it.
Diff is attached.
Original comment by [email protected]
on 10 Sep 2010 at 2:46
Attachments:
from android-notifier.
Nice! I'll integrate the android side soon.
Bill, can you look at the linux-side changes?
Leandro - do you think we should also add this to the multiplatform client?
Original comment by [email protected]
on 10 Sep 2010 at 3:32
- Changed state: Started
from android-notifier.
We'll need another notification type, it could be something generic like
"OTHER" or "THIRDPARTY"
Original comment by [email protected]
on 10 Sep 2010 at 4:22
from android-notifier.
Yup, or "APP".
Original comment by [email protected]
on 10 Sep 2010 at 5:27
from android-notifier.
Ok, I'll wait the changes to the android app before updating AND.
Original comment by [email protected]
on 10 Sep 2010 at 5:46
from android-notifier.
[deleted comment]
from android-notifier.
I added the new notification type "USER", although another name might be more
appropriate.
Original comment by [email protected]
on 11 Sep 2010 at 11:57
from android-notifier.
This has been merged in r243 and r244.
Leandro, can you implement support for this in the multi-platform client?
I'll also implement it in the Mac client.
Original comment by [email protected]
on 18 Sep 2010 at 10:43
from android-notifier.
Attached is a newer version of the Android app with support for this. Please
give it some testing.
Also notice your current desktop clients probably won't display this yet, let's
wait for Leandro's new version (for now you can either use the python client
for linux or sniff the packets to see that they're arriving).
Original comment by [email protected]
on 18 Sep 2010 at 11:30
Attachments:
from android-notifier.
Mac side added on r248.
Leandro, please add support to the multiplatform app soon as I'm releasing this
tonight.
Original comment by [email protected]
on 19 Sep 2010 at 5:04
- Changed state: Fixed
from android-notifier.
Changes committed to AND svn.
Original comment by [email protected]
on 19 Sep 2010 at 1:59
from android-notifier.
[deleted comment]
from android-notifier.
[deleted comment]
from android-notifier.
[deleted comment]
from android-notifier.
Guys, to complete my contribution, I made a wiki page explaining how to
implement USER notifications. (Though it's not that hard to figure out yourself
:-) )
Original comment by [email protected]
on 20 Sep 2010 at 1:16
Attachments:
from android-notifier.
Thanks! Posted at
http://code.google.com/p/android-notifier/wiki/ThirdPartyNotifications
Original comment by [email protected]
on 20 Sep 2010 at 7:02
from android-notifier.
Thanks for this. I am using this with tasker. Not sure if I should file a
separate issue for this or not but there seems to be a bug.
The instructions in the wiki say that only one of the extras have to be filled
while sending the intent. However, I noticed that if I don't fill both the
extras (title AND description), then the notification doesn't pop up in the
desktop client (0.4.0 on win 7) although the command is still executed (tested
by opening up notepad.exe on receiving notification).
Original comment by [email protected]
on 23 Sep 2010 at 1:53
from android-notifier.
Windows will not show a notification balloon if it does not have a description
text. It's ok to not have title.
Original comment by [email protected]
on 23 Sep 2010 at 2:13
from android-notifier.
Thanks for the clarification. That solves it :)
Original comment by [email protected]
on 23 Sep 2010 at 2:16
from android-notifier.
@rdamazio I think the wiki page should be updated with this information.
Original comment by [email protected]
on 23 Sep 2010 at 2:32
from android-notifier.
Sorry, I missed all the fun :(
Can someone (#20 ? ) clarify the config requirement for Tasker. I have
Action set as org.damazio.notifier.service.UserReceiver.USER_MESSAGE
Extra set as EXTRA_TITLE:My Test Title
Extra (2) set as EXTRA_DESCRIPTION: Some text in here
Is this correct? I'm not getting any messages, but tasker isn't complaining.
Fuzzy
Original comment by [email protected]
on 23 Sep 2010 at 7:01
from android-notifier.
@FuzzyCat: I suspect you named both extra's as "title" and "description" and
not "EXTRA_TITLE" and "EXTRA_DESCRIPTION"?!
Original comment by [email protected]
on 23 Sep 2010 at 7:03
from android-notifier.
@mrssnowfl... I have the full EXTRA_ parts ( see http://twitpic.com/2r92yq )
Original comment by [email protected]
on 23 Sep 2010 at 7:11
from android-notifier.
@FuzzyCat: I'm not sure how this would work in Tasker. If the convention is:
"<extras_name>:<value>" then your example would be (verbatim):
title:title
description:some descriptive text.
Original comment by [email protected]
on 23 Sep 2010 at 7:15
from android-notifier.
[deleted comment]
from android-notifier.
Ok,
just did a adb logcat and saw this:
W/ActivityManager( 83): Unable to start service Intent {
act=org.damazio.notifier.service.UserReceiver.USER_MESSAGE (has extras) }: not
found
Original comment by [email protected]
on 23 Sep 2010 at 7:36
from android-notifier.
Maybe I'll also need to explicitly add the receiver to the android manifest...
Original comment by [email protected]
on 23 Sep 2010 at 7:38
from android-notifier.
Did you enable it in the Settings?
Original comment by [email protected]
on 23 Sep 2010 at 7:38
from android-notifier.
I have a tick in the "Third-party apps" box in the settings.
Original comment by [email protected]
on 23 Sep 2010 at 7:40
from android-notifier.
@rdamazio
I'm happy to test it if you need me to install anything.
Original comment by [email protected]
on 23 Sep 2010 at 7:42
from android-notifier.
@rdama: I tested it with a sample application I made and it worked. Though both
applications were on my phone in unsigned apk's, I don't know if that would
make a difference.
Original comment by [email protected]
on 23 Sep 2010 at 8:07
from android-notifier.
It shouldn't. The difference is basically that as it is now, it'll only send
those notifications if the service is running ('cause that's the timespan
during which the receiver is registered). Using the xml, it would work at any
time (which I'm not sure we want anyway).
Original comment by [email protected]
on 23 Sep 2010 at 8:21
from android-notifier.
I'm not sure I understand, the remote notifier service is running when I try to
send a message (icon in notification bar too).
Original comment by [email protected]
on 23 Sep 2010 at 8:34
from android-notifier.
Related Issues (20)
- Monitor and report on CPU
- This isn't for the average every day user- you should make that clear
- Honeycomb client ? HOT 2
- Just show contact name on SMS received
- Unread calls & messages - Rainmeter Support HOT 1
- does not work at all
- Protocol mismatch between desktop client 0.5.1 and android app 0.2.8 HOT 1
- New Languages HOT 1
- Not work 64bits windows HOT 4
- No android-notifier 0.5.1.1 Linux distro-independent package
- Doesn't work in Linux when "/tmp/" directory has 'noexec' option enabled
- no worky on Ubuntu 11.04 Unity HOT 4
- Receiving Notification on another Android device like a tablet HOT 1
- Desktp app under Windows 7 no longer will run HOT 1
- not recieving notifications HOT 1
- notification error
- Android desktop program?
- Please release source for android-notifier-desktop
- Setup problem HOT 1
- RemoteNotifier is stop in bagraund
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from android-notifier.