Erm, is it possible to monitor the notifications, for example:
A notifications is created from Facebook saying someone likes your photo,
then the "monitoring app" will get it and trigger an event, such as an alarm.
Click to expand...
Click to collapse
I mean that I want to retrieve the notifications data such as the title, content, at the time it's created, will it be possible?
sstangerine said:
Erm, is it possible to monitor the notifications, for example:
I mean that I want to retrieve the notifications data such as the title, content, at the time it's created, will it be possible?
Click to expand...
Click to collapse
If i'm not mistaken, this ability is not yet available and may soon become available with the release of version 4.3 of the android SDK.
Gold1e said:
If i'm not mistaken, this ability is not yet available and may soon become available with the release of version 4.3 of the android SDK.
Click to expand...
Click to collapse
aww... I was looking forward for a big hit with that kind of app.. anyway, thanks =)
i guess u can as many apps do that like floating notifications
but nyways google is adding this feature in 4.3 expected release this week
Sent from my GT-S5302 using Tapatalk 2
sak-venom1997 said:
i guess u can as many apps do that like floating notifications
Click to expand...
Click to collapse
what do you means about floating notifications?
sstangerine said:
what do you means about floating notifications?
Click to expand...
Click to collapse
its an app
Sent from my GT-S5302 using Tapatalk 2
sstangerine said:
Erm, is it possible to monitor the notifications, for example:
I mean that I want to retrieve the notifications data such as the title, content, at the time it's created, will it be possible?
Click to expand...
Click to collapse
You can detect new notification by using the Accessibility service. Try to search the keyword "AccessibilityEvent.TYPE_NOTIFICATION_STATE_CHANGED" and you should be able to find many discussions.
To read the title of notifications, use event.getText() when detecting an accessibilityEvent.
To read the content of the notifications, try to detect the situation where notification bar is pulled down (window's view changed event), then the event.getText() will give you the content of all notifications.
Ichigo said:
http://developer.android.com/about/versions/jelly-bean.html
According to this page, the new API now allows access to notifications.
Click to expand...
Click to collapse
However, that just works on Android 4.3.
(@Ichigo: Wanted to write the same thing, but you were faster. )
Related
hello
on iPhone there r an app from cydia for loockscren notification
if someone talk to u on whatsapp..in lookscreen u can watch what the messege
is there any smart loockscreen like this ??
sorry for my bad english
your best bet is to tie together widget locker with minimalistic text and tasker to create such a lock screen.
https://market.android.com/details?id=com.teslacoilsw.widgetlocker
https://market.android.com/details?id=de.devmil.minimaltext
https://market.android.com/details?id=net.dinglisch.android.taskerm
ps.
why are you always harping on cydia?
killersnowman said:
your best bet is to tie together widget locker with minimalistic text and tasker to create such a lock screen.
https://market.android.com/details?id=com.teslacoilsw.widgetlocker
https://market.android.com/details?id=de.devmil.minimaltext
https://market.android.com/details?id=net.dinglisch.android.taskerm
ps.
why are you always harping on cydia?
Click to expand...
Click to collapse
i don't like widget locker..i don't now how to use tasker & minimalstic
if u have iPhone u will know cydia what's mean
-juanito- said:
i don't like widget locker..i don't now how to use tasker & minimalstic
if u have iPhone u will know cydia what's mean
Click to expand...
Click to collapse
nvm
...
This is NOT an lockscreen issue I believe.
In handsent sms, it also shows application popup, even when your phone is locked. You can reply in the box, then it pops you back to the lockscreen. It is an application issue.
But like what #2 said, you can achieve that effect by WL and couple of apps.
Sent from my GT-I9000 using XDA App
tt0204 said:
This is NOT an lockscreen issue I believe.
In handsent sms, it also shows application popup, even when your phone is locked. You can reply in the box, then it pops you back to the lockscreen. It is an application issue.
But like what #2 said, you can achieve that effect by WL and couple of apps.
Sent from my GT-I9000 using XDA App
Click to expand...
Click to collapse
what r u talking about ?
i mean if someone talk to me on whatsapp and i turn on my phone..i want on loockscreen show me this..[whatsapp icon] michael: hello..
that's what i mean
2nd post. Or use miui and slot of the custom locked have a feature similar.
This guy are sick.
Mylenthes said:
2nd post. Or use miui and slot of the custom locked have a feature similar.
This guy are sick.
Click to expand...
Click to collapse
if i will widget locker ..i don't see any widget for whatsapp
i search it but i can found it
-juanito- said:
if i will widget locker ..i don't see any widget for whatsapp
i search it but i can found it
Click to expand...
Click to collapse
Thats why i said you use tasker to get the data from whatsapp and then use Minimalistic text to display it
From something awesome
killersnowman said:
Thats why i said you use tasker to get the data from whatsapp and then use Minimalistic text to display it
From something awesome
Click to expand...
Click to collapse
OMG that's awsome !!! but i don't now how to use tasker
can u tech me what i do with tasker ??
get the trial of tasker here http://tasker.dinglisch.net/download.html
then follow this tutorial that will teach you how to use variables and pass them to minimalistic text
http://forum.xda-developers.com/showthread.php?t=1110775
the grammar in this thread makes me want to beat people up. .-.
Sent from my MIUI SCH-i500
sageDieu said:
the grammar in this thread makes me want to beat people up. .-.
Sent from my MIUI SCH-i500
Click to expand...
Click to collapse
yep.. i dont even know what a loocksrceen is...
killersnowman said:
get the trial of tasker here http://tasker.dinglisch.net/download.html
then follow this tutorial that will teach you how to use variables and pass them to minimalistic text
http://forum.xda-developers.com/showthread.php?t=1110775
Click to expand...
Click to collapse
i tried that but that's not for whatsapp
please can u tech me the tutorial but for whatsapp ?
-juanito- said:
i tried that but that's not for whatsapp
please can u tech me the tutorial but for whatsapp ?
Click to expand...
Click to collapse
no i dont even know what whatsapp is. you are trying to do something very specific so dont expect there to just be a tut for you to follow. try some stuff, learn the basics of tasker and then apply them to what you want to do.
killersnowman said:
no i dont even know what whatsapp is. you are trying to do something very specific so dont expect there to just be a tut for you to follow. try some stuff, learn the basics of tasker and then apply them to what you want to do.
Click to expand...
Click to collapse
Whatsapp is a crossplatform messaging system similar to kik, pingchat, etc... it's something that would be hard to make a tasker thing for.
Sent from my MIUI SCH-i500
The symptom is, each time I switch on my tablet, I receive a notification in lower right corner promoting something like lucky draw, game, etc. If I click on the notification, it automatically starts downloading apk. The apk is always named like yyyymmddxxxxxxxxxxx.apk. I never run those apks, I guess they are not friendly. How can I check which app I installed is doing this?
olivex said:
The symptom is, each time I switch on my tablet, I receive a notification in lower right corner promoting something like lucky draw, game, etc. If I click on the notification, it automatically starts downloading apk. The apk is always named like yyyymmddxxxxxxxxxxx.apk. I never run those apks, I guess they are not friendly. How can I check which app I installed is doing this?
Click to expand...
Click to collapse
First check what you have installed recently. Could be one of those apps give spam notifications. I saw something similar on my bro-in-law phone and that was because he installed some kind of "enhancement" program to make his phone run more efficient (it didn't help bytheway).
Also, since you didn't say what OS you're running, 4.0+ has the option to disable notifications when you go to settings>applications>app name. If you find its an app you need, then that might help.
If you thinks its beyond this, then install lookout or norton from the market.
It's not malware, they're called push notification ads. Just download "Ad Blocker" (root required) from the market and it will tell you which app(s) is doing this. You can also choose to delete it from within the app.
Pretty handy.
-*Sent from my T-Mobile GS3*-
nakedninja42 said:
First check what you have installed recently. Could be one of those apps give spam notifications. I saw something similar on my bro-in-law phone and that was because he installed some kind of "enhancement" program to make his phone run more efficient (it didn't help bytheway).
Also, since you didn't say what OS you're running, 4.0+ has the option to disable notifications when you go to settings>applications>app name. If you find its an app you need, then that might help.
If you thinks its beyond this, then install lookout or norton from the market.
Click to expand...
Click to collapse
Yes it is 4.0.4. l'll check in settings and reply.
OTAw said:
It's not malware, they're called push notification ads. Just download "Ad Blocker" (root required) from the market and it will tell you which app(s) is doing this. You can also choose to delete it from within the app.
Pretty handy.
-*Sent from my T-Mobile GS3*-
Click to expand...
Click to collapse
yes it just push notification ad. The problem is I don't know which app is doing this, and do not want to root my device. Is there another way to identify ?
olivex said:
yes it just push notification ad. The problem is I don't know which app is doing this, and do not want to root my device. Is there another way to identify ?
Click to expand...
Click to collapse
Try installing "Air Push Detector" from the market.
my tablet is using 4.0.4 but i cannot find the setting you mentioned. in settings-application-application name, there is no notification setting.
i tried but there is no app found. i still get notification ad.
olivex said:
i tried but there is no app found. i still get notification ad.
Click to expand...
Click to collapse
Can you upload a screenshot of this notification ad for us? Maybe even a list of your downloaded apps?
--> dominating your screen from my t-mobile gs3, powered by: FreeGS3 R7 "Resurrection"
OTAw said:
Can you upload a screenshot of this notification ad for us? Maybe even a list of your downloaded apps?
--> dominating your screen from my t-mobile gs3, powered by: FreeGS3 R7 "Resurrection"
Click to expand...
Click to collapse
I don't have it now, I will load it when I get it next time.
However I have the list of apps I installed because I sent it to the author of push detector. How can I send it to you? I just don't want to post it here.
I have another finding, which seems odd to me: I set the home page of chrome to be blank, and I double checked that, but each time I open the browser it always opens a search page with a lot of informations (looks like a portal but I don't like it). How can I know which app replaces my home page with such rubish?
Is it possible the 3G provider does this kind of things? (notification ads and home replacement)?
olivex said:
I don't have it now, I will load it when I get it next time.
However I have the list of apps I installed because I sent it to the author of push detector. How can I send it to you? I just don't want to post it here.
I have another finding, which seems odd to me: I set the home page of chrome to be blank, and I double checked that, but each time I open the browser it always opens a search page with a lot of informations (looks like a portal but I don't like it). How can I know which app replaces my home page with such rubish?
Is it possible the 3G provider does this kind of things? (notification ads and home replacement)?
Click to expand...
Click to collapse
No, your network provider would have nothing to do with push notification ads or homepage replacement. And as for setting your homepage in Google chrome, are you talking about the desktop version? Because I don't believe you can make that selection on the mobile version, unless I'm missing something?
BTW, you can send that list to me in a PM if you'd like.
--> dominating your screen from my t-mobile gs3, powered by: FreeGS3 R7 "Resurrection"
Try this app, it will tell you every app that has a shady ad network and you can delete it. A friend of mine had an app that was creating a ton of shortcuts all over her home screens.
https://play.google.com/store/apps/details?id=com.lookout.addetector&hl=en
OTAw said:
No, your network provider would have nothing to do with push notification ads or homepage replacement. And as for setting your homepage in Google chrome, are you talking about the desktop version? Because I don't believe you can make that selection on the mobile version, unless I'm missing something?
BTW, you can send that list to me in a PM if you'd like.
--> dominating your screen from my t-mobile gs3, powered by: FreeGS3 R7 "Resurrection"
Click to expand...
Click to collapse
In Chrome settings you can set your home page. But it seems it's the 3G provider that replaces the home page for me.
I will send you the app list. Thanks.
mrsbelpit said:
Try this app, it will tell you every app that has a shady ad network and you can delete it. A friend of mine had an app that was creating a ton of shortcuts all over her home screens.
https://play.google.com/store/apps/details?id=com.lookout.addetector&hl=en
Click to expand...
Click to collapse
Thanks. I will try it and post result here.
mrsbelpit said:
Try this app, it will tell you every app that has a shady ad network and you can delete it. A friend of mine had an app that was creating a ton of shortcuts all over her home screens.
https://play.google.com/store/apps/details?id=com.lookout.addetector&hl=en
Click to expand...
Click to collapse
I tried it but it also couldnt find the notification ad. It did find apps that have bi-app ads but they are numerous.
olivex said:
The symptom is, each time I switch on my tablet, I receive a notification in lower right corner promoting something like lucky draw, game, etc. If I click on the notification, it automatically starts downloading apk. The apk is always named like yyyymmddxxxxxxxxxxx.apk. I never run those apks, I guess they are not friendly. How can I check which app I installed is doing this?
Click to expand...
Click to collapse
Rooted?
why don't you backup with Titanium Backup then backup everything
then Flash Stock ROM using ODIN
Sent from my GT-P7500 using xda premium
abihakim said:
Rooted?
why don't you backup with Titanium Backup then backup everything
then Flash Stock ROM using ODIN
Sent from my GT-P7500 using xda premium
Click to expand...
Click to collapse
No it's not rooted.
After attending a talk about how to market our applications in better ways I just published a library I developed to ask users to users a rating on the Play Store.
It is extremely simple. It keeps track of the first time the application has been used and a counter of the number of times the application has been launched.
You can configure when you want to ask the user to rate your application both in term of number of launches and days from the installation.
When the conditions are met, the library creates a dialog with a button to open the Play Store page of the application, a button to postpone the alert and a button to dismiss it and never get asked again.
You can get the library from GitHub.
Feedbacks and recommendation about how I could improve it are very welcome.
mariosangiorgio said:
After attending a talk about how to market our applications in better ways I just published a library I developed to ask users to users a rating on the Play Store.
It is extremely simple. It keeps track of the first time the application has been used and a counter of the number of times the application has been launched.
You can configure when you want to ask the user to rate your application both in term of number of launches and days from the installation.
When the conditions are met, the library creates a dialog with a button to open the Play Store page of the application, a button to postpone the alert and a button to dismiss it and never get asked again.
You can get the library from GitHub.
Feedbacks and recommendation about how I could improve it are very welcome.
Click to expand...
Click to collapse
I will try it, thanks a lot.
Cyclingforfun said:
I will try it, thanks a lot.
Click to expand...
Click to collapse
Great. Let me know what you think about the library.
I hope you won't have any issue but in case you have problems let me know and we will try to sort them out.
Sent from my GT-I9505 using Tapatalk
Hi,
Here the German Translation: dropbox.com/s/jeoqbshoigft840/values-de.zip
- Jan
Screenshot?
bigjan said:
Hi,
Here the German Translation: dropbox.com/s/jeoqbshoigft840/values-de.zip
- Jan
Click to expand...
Click to collapse
Thank you! I'm traveling without my computer and I cannot push your translation to the repository immediately. If you like you can fork the project on github and create a pull request, otherwise I'll integrate your translation as soon as I get back home
Sent from my GT-I9505 using Tapatalk
Looks great! Got a little confused trying to set up in Eclipse, any suggestions? Thanks for your work!
:good:
pangolin.rollin said:
Looks great! Got a little confused trying to set up in Eclipse, any suggestions? Thanks for your work!
:good:
Click to expand...
Click to collapse
Step 1ownload the libraries.
Step 2:-Then copy the .lib file to the android libraries folder in the project tree for the app you are designing.
Step 3:- Happy coding!
There doesnt seem to be a libs folder. I imported the Javas and followed the directions but don't know how to configure the gradle modules cause I'm using eclipse not studio.
Sent from my SPH-L710 using xda app-developers app
Hello, while this is a good idea to ask for a rating, don't harass the user with it, and don't ask it too soon, leave the user some time to poke around
Regards
pangolin.rollin said:
There doesnt seem to be a libs folder. I imported the Javas and followed the directions but don't know how to configure the gradle modules cause I'm using eclipse not studio.
Sent from my SPH-L710 using xda app-developers app
Click to expand...
Click to collapse
I am going to make a compiled version of the library next week as soon as I get back home
Sent from my GT-I9505 using Tapatalk
Magissia said:
Hello, while this is a good idea to ask for a rating, don't harass the user with it, and don't ask it too soon, leave the user some time to poke around
Regards
Click to expand...
Click to collapse
Thanks for pointing it out. It is extremely important and the parameters regulating when the application should ask for a rating should be set with care.
I decided to try to make it the less annoying possible by showing the message only once (if not explicitly deferred by the user) when both the conditions on the number of launches and on the time from the first launch are met.
Do you have any idea about how I could make the message even less annoying?
Sent from my GT-I9505 using Tapatalk
mariosangiorgio said:
Thanks for pointing it out. It is extremely important and the parameters regulating when the application should ask for a rating should be set with care.
I decided to try to make it the less annoying possible by showing the message only once (if not explicitly deferred by the user) when both the conditions on the number of launches and on the time from the first launch are met.
Do you have any idea about how I could make the message even less annoying?
Sent from my GT-I9505 using Tapatalk
Click to expand...
Click to collapse
I guess a good way would be to be to add a little shiny icon, if the user is curious (s)he will tap on this little icon, and that's the moment to display the pop up kindly asking for the review. This nice little icon taking little space somewhere on the screen would appear after a period of use to leave some time to poke around.
It will have the advantage of playing with end user's curiosity, and not aggressively show a pop-up, since the user will trigger it from it's own action.
Application's developer will be able to use something that fit the current interface or game as icon, not throwing the immersion to trash in a brutal way.
Backup plan in case the user isn't curious would be to still show the pop-up the hard way after some more time.
Some usage example could be adding the icon to the levels list in a game, or adding the icon somewhere in the toolbar for a file manager, text editor. Placing it next to a connect button for a social/messaging application.
Regards
Magissia said:
I guess a good way would be to be to add a little shiny icon, if the user is curious (s)he will tap on this little icon, and that's the moment to display the pop up kindly asking for the review. This nice little icon taking little space somewhere on the screen would appear after a period of use to leave some time to poke around.
It will have the advantage of playing with end user's curiosity, and not aggressively show a pop-up, since the user will trigger it from it's own action.
Application's developer will be able to use something that fit the current interface or game as icon, not throwing the immersion to trash in a brutal way.
Backup plan in case the user isn't curious would be to still show the pop-up the hard way after some more time.
Some usage example could be adding the icon to the levels list in a game, or adding the icon somewhere in the toolbar for a file manager, text editor. Placing it next to a connect button for a social/messaging application.
Regards
Click to expand...
Click to collapse
Thanks for your comments. I'm going to support custom ways to show the alert to the user. The library will still contain the alert message but developers will be able to show whatever they want (possibly something less invasive) when the conditions are met
Sent from my GT-I9505 using Tapatalk
What is that you are doing to make sure the dialog will never be displayed twice ?
SagiLo said:
What is that you are doing to make sure the dialog will never be displayed twice ?
Click to expand...
Click to collapse
The library stores its data in a file and when the dialog is marked as processed it sets a flag which disables further notifications.
Actually a user may see the dialog twice on different devices. We could avoid that with the synchronisation of the data file but I don't know if ot is worth the effort
Sent from my GT-I9505 using Tapatalk
mariosangiorgio said:
The library stores its data in a file and when the dialog is marked as processed it sets a flag which disables further notifications.
Actually a user may see the dialog twice on different devices. We could avoid that with the synchronisation of the data file but I don't know if ot is worth the effort
Sent from my GT-I9505 using Tapatalk
Click to expand...
Click to collapse
In a file means its not shared preferences right?
So if the user clears the app data, the file content will live ?
SagiLo said:
In a file means its not shared preferences right?
So if the user clears the app data, the file content will live ?
Click to expand...
Click to collapse
Unfortunately I used shared preferences
I was not thinking at the scenario where the user first uninstalls and then reinstalls an application
Sent from my GT-I9505 using Tapatalk
mariosangiorgio said:
Unfortunately I used shared preferences
I was not thinking at the scenario where the user first uninstalls and then reinstalls an application
Sent from my GT-I9505 using Tapatalk
Click to expand...
Click to collapse
Ok... we can try creating some sub mechanism for that,
I.E. checking a file in external sdcard (requires pernission).
Or getting data from the internet whether the user has already rated or not.
Hello, using Internet or a file somewhere can be a good idea if the application itself already use on of those permissions, but it's not legit for an app to ask for Internet or file access just for this, security wise, we should only give the strict minimum permissions the application need to work.
Regards
I want to get my hangouts notifications as an alert so that when I shake my wrist to check the time, I actually see them unlike where I used to need to pull the status bar down. No icons show up in my status bar unlike in standard android.
Sent from my XT1053 using xda app-developers app
shusain93 said:
I want to get my hangouts notifications as an alert so that when I shake my wrist to check the time, I actually see them unlike where I used to need to pull the status bar down. No icons show up in my status bar unlike in standard android.
Sent from my XT1053 using xda app-developers app
Click to expand...
Click to collapse
The only thing I can think of off the top of my head that will do what you are asking is Augmented Smartwatch pro: https://play.google.com/store/apps/details?id=com.alk.k9
You can configure pop-ups for all notification types with this app.
Before I buy this, do I need to have this on my phone? I'm using my watch standalone on wifi. Could I have it be connected to its self with the app?
Sent from my XT1053 using xda app-developers app
shusain93 said:
Before I buy this, do I need to have this on my phone? I'm using my watch standalone on wifi. Could I have it be connected to its self with the app?
Sent from my XT1053 using xda app-developers app
Click to expand...
Click to collapse
No, this app pairs to the phone. I don't know of any standalone options for hangouts popups. Perhaps there is an app on the market? Unfortunately, I do not use hangouts............I just like popups for text messages which I get through Tablet Talk paired to my phone (only works for calls/mms/sms).
Artimis said:
No, this app pairs to the phone. I don't know of any standalone options for hangouts popups. Perhaps there is an app on the market? Unfortunately, I do not use hangouts............I just like popups for text messages which I get through Tablet Talk paired to my phone (only works for calls/mms/sms).
Click to expand...
Click to collapse
It's not specifically Hangouts, I just want every notification to show as an alert like in Augmented Smartwatch, but stand alone.
shusain93 said:
It's not specifically Hangouts, I just want every notification to show as an alert like in Augmented Smartwatch, but stand alone.
Click to expand...
Click to collapse
Give this a whirl and let us know if it works:
https://play.google.com/store/apps/details?id=com.nlucas.popupnotificationslite
Not works, Force close...
Artimis said:
Give this a whirl and let us know if it works:
https://play.google.com/store/apps/details?id=com.nlucas.popupnotificationslite
Click to expand...
Click to collapse
on DpRom not works....
In some chatting apps, friend A sends a message saying aaa, at the same time friend B sends a message saying bbb.
On notification bar, it displays "2 messages from xxx" but NOT "message aaa from A" AND "message bbb from B",
That is, the messages are merged together and I can't read each contents of messages in a quick view.....
So, is it possible not to merge messages in galaxy s4 (android)? like iOS?
Nope you cant control that. The app chooses. If you're talking about txting then theres several alternative txting apps you could get in the play store
faiyo said:
Nope you cant control that. The app chooses. If you're talking about txting then theres several alternative txting apps you could get in the play store
Click to expand...
Click to collapse
no it's not the text, i mean some apps like whatsapp or similiar chatting apps.
maversxu said:
no it's not the text, i mean some apps like whatsapp or similiar chatting apps.
Click to expand...
Click to collapse
yeah, that's a "no can do" but still you are able to expand notifications. Like swiping down... Try that so it changes from "5 messages on 3 conversations" to:
aaa: hi
aaa: !
bbb: hey
ccc: lol
ccc: crazy
Zoddex said:
yeah, that's a "no can do" but still you are able to expand notifications. Like swiping down... Try that so it changes from "5 messages on 3 conversations" to:
aaa: hi
aaa: !
bbb: hey
ccc: lol
ccc: crazy
Click to expand...
Click to collapse
Does the app you are using change? The app which i'm using does not change when swiping down......
what's the app that changes? If it does change, then it's the problem of app, right?
that means the android supports this features.....
it seems android cannot make this happen.....?:crying:
maversxu said:
it seems android cannot make this happen.....?:crying:
Click to expand...
Click to collapse
Works for me... Msg me.. I'll send you a video
Sent from my GT-I9500 using xda app-developers app
anyone may help~~? thanks in advance!!