Event when you close app in the active app list - Windows Phone 8 Q&A, Help & Troubleshooting

Hello,
If I close my app with the back-button, the event "Application_Closing" is raised and the code is executing.
When I close my app in the list with active apps, no event is raised...
I really need an event for this.
Does anyone know a solution?
Thanks in advance?

if its not too late,
the system do not throws any event in this situation, you should explore onNavigatingFrom & onNavigatingTo events

Related

[APP REQUEST] Auto delete SMS/Message by age

I'm looking for an app that deletes sms message after a set period of time. Does anyone know of an app that will do this as an automated task as I'm yet to find one on the market that works?
Ideally i want a minimalist app with the sole purpose to delete any sms older than a week to keep my inbox tidy, cheers.
Could this be done via an xposed module on the default sony messaging app, and would someone be willing to make it?
SMS Organizer by trailblaze
My friend made this app that does exactly this, i.e. delete SMS after a set amount of time specified by the user. It matches SMS by keyword/contact name , which is also given by the user, and deletes them either immediately or after some delay as given by the user.
Search for "SMS Organizer by trailblaze" in google play

Android Notification for GCM

Hi guys,
I have a really annoying problem with Android notifications in case of Google Cloud Messaging. I searched many forums and tutorial pages but never got the "correct" answer or hint how to do this correctly.
Scenario:
- My app communicates with a php script file on a webserver.
- This server can notify my app via the Google-API that news are available online.
- For this, a Broadcast Receiver is implemented in my app.
- The notification via Google does reach my mobile device.
- In case of my app being minimized, a Android notification is created, so that the user gets the icon and the statusbar.
- When the user clicks on the notification, the app should be resumed and (as perfect solution) should switch to a specific activity.
- Actual behavior: The typical "the App has crashed" message appears. When I close it, my app is resumed at the point where it was minimized. If I debug, I recognize that a second instance of my app is created where the required variables are not set and therefore it crashes. Nevertheless, my old instance is still present and resumed afterwards... How can I fix this? What is the correct code to create a notification in a Broadcast Receiver (I am still confused with the context/intent/pending intent things)?
I hope you can help me
Greetz

Tasker and INTENT actions

Hello all,
Suppose I want to dismiss a notification popping up from an app Notifier. Automating the dismiss can be achieved through using the input tap command in Tasker, and also using the same feature in Autoinput.
But I want to dismiss it by sending an INTENT through Tasker. How do I know which intent to send? Please help.
Many thanks.
Nobody answered it, so I answer it myself, I used Notification listener and dismissed the notification from any app I chose
If you want you can just disable the notification of any chosen app from settings/application manager
vickylahkarbytes said:
Nobody answered it, so I answer it myself, I used Notification listener and dismissed the notification from any app I chose
Click to expand...
Click to collapse
I am monitoring my garage door to see whether it's open or closed. The garage door sends me emails of it's state. I'm using Tasker K-9 plugin to receive notifications and use Tasker to create my own custom notifications. Everything works fine, except for one problem. Whenever the phone is locked and there is a change in state, the notification doesn't update unless I unlock the phone.
How can I resolve this?
Thanks.
You can try an alternative.
Install notification listener app from playstore.
Event will be notification listener app listening to the email app(K9mail or Gmail etc)
Task will be whenever I get an email from your *door*(? lol), then you get an alert (notify, voice etc etc) but do fill up the "If" command like if %nltext~*door*,
For ex:
I have subscribed to this thread via my Gmail and I want an alert to pop up when I get an email from XDA.
what I do is this.
Event : plugin > notification listener app> select Gmail.
Task :
a1: If > %nltext~*XDA*
a2: alert > notify.
This is independent of the phone state locked or not
vickylahkarbytes said:
You can try an alternative.
Install notification listener app from playstore.
Event will be notification listener app listening to the email app(K9mail or Gmail etc)
Task will be whenever I get an email from your *door*(? lol), then you get an alert (notify, voice etc etc) but do fill up the "If" command like if %nltext~*door*,
For ex:
I have subscribed to this thread via my Gmail and I want an alert to pop up when I get an email from XDA.
what I do is this.
Event : plugin > notification listener app> select Gmail.
Task :
a1: If > %nltext~*XDA*
a2: alert > notify.
This is independent of the phone state locked or not
Click to expand...
Click to collapse
Thanks.
I figured out what I was doing wrong. I needed to clear/cancel previous notification before creating the new one.

[Project] Send scheduled Whatsapp messages via Tasker

View attachment 3780419Hello everyone,
I am going to provide a basic profile set up to send scheduled Whatsapp messages via Tasker
Apps required:
1. Whatsapp.
2. Tasker.
3. WhatsTasker.
4. Notification listener (free version)
5. Calendar Snooze.
Basic theory:
I enter an event (Vicky>Happy Birthday) as a reminder without the brackets-> when the reminder is fired by the Calendar Snoooze app-> it is detected by the Notification Listener app-> as the event conatins the variable (>) without brackets, the entire (Vicky>Happy Birthday) without brackets is split up into (Vicky) and (Happy Birthday) without brackets. The (Vicky) without brackets is the exact name in the Whatsapp contact list to whom the message (Happy Birthday) will be send to.
Ex: You want to send your pal Vicky on your Whatsapp contact a message Thanks, then your event will be Vicky>Thanks. Time settings dont matter.
Please note:
1. Calendar snooze app is optional: I use it for firing my reminder events. You can choose any other reminder app you are using provided you make the necessary changes in the Notfication listener app setting: you just have to replace Calendar snooze app with whatever app you are using to fire reminders.
2. You can play with the settings to make it optimal for your use.
3. I have added the entire project as an XML file for download as well as WhatsTasker, Notification Listener (free version) and Calnedar Snooze app as attachments. You can also download them from playstore (maybe WhatsTasker has been removed from playstore).
Thank you.
Wow, was looking for this a while now... Gonna try it out...
---------- Post added at 06:14 PM ---------- Previous post was at 05:55 PM ----------
Euhm, rar file is damaged is the message I'm getting when trying to extract...
dekarperboer said:
Wow, was looking for this a while now... Gonna try it out...
---------- Post added at 06:14 PM ---------- Previous post was at 05:55 PM ----------
Euhm, rar file is damaged is the message I'm getting when trying to extract...
Click to expand...
Click to collapse
I have uploaded the apps again if you see the post above. But please take notice that WhatsTasker doesn't work in android 4.6. However, whatsTasker works with KitKat
vickylahkarbytes said:
I have uploaded the apps again if you see the post above. But please take notice that WhatsTasker doesn't work in android 4.6. However, whatsTasker works with KitKat
Click to expand...
Click to collapse
And what about Android 6.01? Does it work over there? Or can't I use Tasker and WhatsApp to send messages?
There is a roundabout, will let u know, latest by coming Monday
dekarperboer said:
And what about Android 6.01? Does it work over there? Or can't I use Tasker and WhatsApp to send messages?
Click to expand...
Click to collapse
Ok, So here is how I will use Tasker to schedule messages without using WhatsTasker. You will need an additional app: Autoapps [https://play.google.com/store/apps/details?id=com.joaomgcd.autocontacts&hl=en]. You can fine tune it as per your needs. I have attached the project XML.
Regards
vickylahkarbytes said:
Ok, So here is how I will use Tasker to schedule messages without using WhatsTasker. You will need an additional app: Autoapps [https://play.google.com/store/apps/details?id=com.joaomgcd.autocontacts&hl=en]. You can fine tune it as per your needs. I have attached the project XML.
Regards
Click to expand...
Click to collapse
OK, thanks! Will try this weekend, let you know!
vickylahkarbytes said:
View attachment 3780419Basic theory:
I enter an event (Vicky>Happy Birthday) as a reminder without the brackets-> when the reminder is fired by the Calendar Snoooze app-> it is detected by the Notification Listener app-> as the event conatins the variable (>) without brackets, the entire (Vicky>Happy Birthday) without brackets is split up into (Vicky) and (Happy Birthday) without brackets. The (Vicky) without brackets is the exact name in the Whatsapp contact list to whom the message (Happy Birthday) will be send to.
Ex: You want to send your pal Vicky on your Whatsapp contact a message Thanks, then your event will be Vicky>Thanks. Time settings dont matter.
Please note:
1. Calendar snooze app is optional: I use it for firing my reminder events. You can choose any other reminder app you are using provided you make the necessary changes in the Notfication listener app setting: you just have to replace Calendar snooze app with whatever app you are using to fire reminders.
2. You can play with the settings to make it optimal for your use.
3. I have added the entire project as an XML file for download as well as WhatsTasker, Notification Listener (free version) and Calnedar Snooze app as attachments. You can also download them from playstore (maybe WhatsTasker has been removed from playstore).
Thank you.
Click to expand...
Click to collapse
OK, imported the project into Tasker... I also installed AutoApps and AutoContacts...
Can you tell me where I need to enter the reminders? In my Calendar App?
Thanks in advance,
Marco
ya u can add a reminder in calendar app in the format I mentioned above, and in Notification listener, u will add that particular app which will pop up the reminder
vickylahkarbytes said:
ya u can add a reminder in calendar app in the format I mentioned above, and in Notification listener, u will add that particular app which will pop up the reminder
Click to expand...
Click to collapse
OK, so this is what I did:
I created a new calendar iteam (John Doe>Happy Birthday) and set the reminder in the calendar app to 09:00 at that day...
But on that day, no message was sent... What could I be doing wrong?
I imported you XML and installed the necessary apps...
Thanks...
Please let me know
1. whether your OS is kitkat or higher?
2. You are using which calendar app to fire your event?
vickylahkarbytes said:
Please let me know
1. whether your OS is kitkat or higher?
2. You are using which calendar app to fire your event?
Click to expand...
Click to collapse
1. I'm on higher platform (Marshmallow)...
2. Entering the reminders in Google Calendar App...
vickylahkarbytes said:
Please let me know
1. whether your OS is kitkat or higher?
2. You are using which calendar app to fire your event?
Click to expand...
Click to collapse
OK, I reïnstalled the XML file and the whole process is working, but only when the phone is in active state...
As soon as the phone is inactive, then the process stops at WhatsApp and isn't sending the message..
ok, it's weird, what do you mean by inactive?
If you mean inactive is lockscreen on, then you should add a task where you add an lockscreen unlock task.

How can I stop ALL calendar notifications?

Can anyone please tell me how to stop the watch from ever showing any calendar entries? I've selected "Calendar", "Calendar Storage", and also the third party app I use, "DigyCal", under "Block Apps" in the Android Wear app, yet still calendar entries pop up on my watch. (I also don't want reminders on the phone either, and have switched off all notifications). Any thoughts would be appreciated, thanks.

Categories

Resources