[CODING] Make clicking a notification perform an action in the background? - G1 Apps and Games

Hey all,
This community has done a lot for me & I'm doing some coding atm. What I am trying to do is show a notification. I know how to do that, but then how can I make it perform an action, like stop playing music (not what it actually does, just an example). I know you can use the last argument to point to an intent, but the only thing I can make that do is open the app.
Is there any way to create an intent that will just run code in the background without going to the app. Whenever I try this I get a FC before it even calls the notification.
Can anyone point me in the right direction?

Related

Possible? : call record -> voicemail app

On every single smartphone I got I was hoping this kind of application would pop up.
Is it possible, on Android, to record incoming calls?
Then it would be possible to make a voicemail application that would be usefull.
I'd remove the provider-voicemail feature, and let my phone handle the pickup-calls.
This way it is possible to view, save, store or, maybe most important, delete any voicemailmessages in a application on your phone. You could export them to your pc, mail them to yourself etc, since they are all stored on the phone.
Would be a killer app and, for business users, I think a dev can really make some nice money on it
Why not just use Google Voice. Seems alot easier to me, less processors any storage intensive and accomplishes just about everything you're looking for.
EDIT: Just saw you're in the Netherlands. Sorry.
Yep.
I don't think it is going to get here. Besides, GSM-calls will be around for some time, and businesswise I'd like to keep my current number.
Is it technically possible ? Look, in the end we will all be VOIP-ing. And even when going on voip based calls, the user interface and the biggest part of the program would still be usable, only the grabbing of the files would be easier
There has been threads about this already. Please use search.

[SEARCHing] Conditional Settings app

Hi,
I was looking on the market but couldn't find anything like it.
I am looking for an app that can setup different things under different circumstances. Exaple would be: disable calls to the phone when satnav is on, or even better play an mp3 (or text-to-speech) to the caller with message (i'm driving now, will call back) or sending a text to a caller.
Also change settings based on time/place ur in etc.
Any app that can setup chain of events if/when -> then would be good.
Wouldn't be cool when you're driving and your android would answer the phone for you with a prerecorded robotic message saying that you're driving and will call back later?
Does an app like that even exist?
I read something about an app that can change phone settings depending on your location, but i don't remember it's name.
Any help would be great,
Thanks in advance.
bump, anyone?
Maybe someone is willing to create such application?
Locale is probably the app you read about. It wont do everything you want but it should do some.
Even though Locale cant do all of those things, they do offer a plug in system. Having had a quick look at their documentation, it should be fairly simple to create one.
Thanks for the responses, i will look into it, if I'll get anywhere with the plugin I'll post it here.
Cheers.

Work arounds and fixes?

Hopefully this is a place where we can list shortcomings and get advice on work arounds/fixes.
Here are my two biggest gripes:
1. Is there really no notification queue that can be referenced? There is no way to view received text messages after the initial notification is dismissed? No way to look at a call log and launch a call?
2. Is there really no way to launch an app other than by voice or scrolling all the way down to "start". Seems cumbersome.
1. While i agree that that would have been nice, it was very transparent that that was the way it was. Did you watch the release and explanation of the operating system? It would be awesome if a big mac came with bacon of course but when i order it i know before hand that it doesnt have bacon.
2. ^same

[Q] OK pebble now!

I'm not an experienced programmer. Or in that way inclined but would I'd like to develop or would want helping. An app that would activate the google now voice search from a pebble application.
1. Activate pebble and access the OK pebble now app.
2. Would activate the google now voice search on your phone.
2.5 speak your request through your headset (if wearing a headset) (hands free).
3. Speak your request through the microphone through your phone.
4. Does the request in your pocket. Shows task complete on the pebble.
5. Show message sent to recipient.
Thanks in advance. if an experienced pebble developer decided to take on the project. i'm willing to pay them £10 through paypal once the job is finished. all i want to see is the project complete.
Vibrate on task complete.
I tried my hand at the application and couldn't do it.
UI is very simplistic.
I've just found an application that has functionality like what I'm asking for. Its called tasker and it works in conjunction with pebble tasker. So commands and apps can be open from the watch and to be opened up on the phone itself without even touching your phone. But its so long winded.
There's so many more options that you can do with the tasker/pebbletasker but I just want a google now voice search launcher.
No with the pebble receiving an update that allows you to have shortcuts to the apps that you assign them buttons too. This is a perfect opportunity to have a google now voice search launcher or a siri launcher so it covers both platforms.
Don't forget, I am willing to pay someone that will develop this idea. I will be creating images that I would like the UI to be.
Sent from my LG-D802 using XDA Free mobile app
Update With Proposed UI design
Here's pictures that i've designed that i would like for some to develop this app.
as you can see it's very minimalistic and it's very simple.
Somebody make me an offer and i will pay them to develop this app, it will be benefical for those working at an office and those working in retail that would like to reply back to family/friends whilst working.
$12 USD really isn't worth the time for any real development. We need people interested in this and create a bounty.
Kickstarter URL
https://www.kickstarter.com/projects/417577635/ok-pebble-now?
Here's the link for the kick starter project, I've set up for this particular application.
https://www.kickstarter.com/projects/417577635/ok-pebble-now?
Did you ever get any traction on this? I just got my first pebble and this is the first thing I went looking for. I downloaded tasker and bought pebble tasker but I seem to lack the patience to figure out how to make that work. I agree that a shortcut would be perfect so I could operate google now in my pocket. All I use it for is to set reminders and save voice to text notes in evernote but it's a pain in the rear to get myphone out every time. I tried an app that listens for okgoogle even while the screen is off, but it triggered intermittently for no reason and other times would refuse to work at all. This would be the ideal solution. Count me in for $20.
kfreels said:
Did you ever get any traction on this? I just got my first pebble and this is the first thing I went looking for. I downloaded tasker and bought pebble tasker but I seem to lack the patience to figure out how to make that work. I agree that a shortcut would be perfect so I could operate google now in my pocket. All I use it for is to set reminders and save voice to text notes in evernote but it's a pain in the rear to get myphone out every time. I tried an app that listens for okgoogle even while the screen is off, but it triggered intermittently for no reason and other times would refuse to work at all. This would be the ideal solution. Count me in for $20.
Click to expand...
Click to collapse
Sadly i didn't get anywhere with this application. I would have easily loved something like this and like yourself i couldn't be bothered to go through the tasker app and setting it up. Just a install an install and go app i wanted.
If you know any developers out there that are willing to give this a shot.
When you say 'Count me in for $20', do you mean you are a developer that will be willing to develop this application?
techguy276 said:
Sadly i didn't get anywhere with this application. I would have easily loved something like this and like yourself i couldn't be bothered to go through the tasker app and setting it up. Just a install an install and go app i wanted.
If you know any developers out there that are willing to give this a shot.
When you say 'Count me in for $20', do you mean you are a developer that will be willing to develop this application?
Click to expand...
Click to collapse
Sadly, no. I can't develop anything but film. But I'll put $20 in for the developer who puts it together.
There is someone who created a nice dashboard app that lets me find my phone if lost, control wifi, lock the screen, and a number of other things. I think I'll email that developer and see if they can just add that. I really want this and I want it to work. And with the new Pebble coming out soon I think I'll be picking one of those up as well so I'm committed to the platform. This is the one thing I feel I'm missing.
Not really what you are after, but I very easily set up a Tasker task to wake up my phone (but keep it locked) so I could give it "OK Google" commands. This way I can send texts or navigate home without taking my phone out. Pebble Tasker makes it only a click away.
imaginaryenemy said:
Not really what you are after, but I very easily set up a Tasker task to wake up my phone (but keep it locked) so I could give it "OK Google" commands. This way I can send texts or navigate home without taking my phone out. Pebble Tasker makes it only a click away.
Click to expand...
Click to collapse
I did this as well, but now, every time I launch PebbleTasker on my phone, Voice Search begins opening repeatedly and I can't even get to it to try to add additional tasks. Have you run into this? Did I do something wrong? Al I did was create a profile, then a task to launch the VoiceSearch App. It came up on my pebble fine and works flawlessly. It wasn't until I went to add somethign else to the PebbleTasker that I ran into this. Since then I've deleted the task from PebbleTasker and it still does it. Very odd. Any ideas?
I didn't do mine this way because your phone needs to be awake for the Voice Search app to open. However, I just set it up to see if I had the same issue as you, and I didn't. Everything worried as it should. I don't know why it isn't working for you.
My task is just to wake up my phone, then I give my "OK Google" voice command.
imaginaryenemy said:
I didn't do mine this way because your phone needs to be awake for the Voice Search app to open. However, I just set it up to see if I had the same issue as you, and I didn't. Everything worried as it should. I don't know why it isn't working for you.
My task is just to wake up my phone, then I give my "OK Google" voice command.
Click to expand...
Click to collapse
OK. I'm setup a little different. I installed the Xposed mod which lets me do this without a task to wake the phone. I simply set a task to launch VoiceSearch, and when I press the button on pebble tasker, the app launches without even lighting up the screen.
Here's the link to it. forum.xda-developers.com/xposed/modules/mod-secure-google-search-t2606688
I think there's something else going on here though. It was working fine Sunday. I'm having general issues with Google now it seems. Reminders aren't getting set to notes and instead are getting sent to alarms. Even if I say "remind me to get cheese the next time I'm at walmart", it tries to set an alarm then it stops because it's waiting for me to set a time. I installed Keep thinking that might fix it...no joy. I cleared the cache and all data, uninstalled google app and the launcher, restarted to clear the cache partition, rebooted in safe mode, went back to regular mode and still get the same problems. Kind of stumped right now. I can't delete older cards and if I go directly into reminders and try to push the plus sign button to add a reminder, it correctly identifies my words and they go on the screen and it just stops there. it's not locked up or anything. It just won't go any further. So something is really wrong with google. just dont' have a clue what it could be at the moment.
Yeah, it sounds like like the Pebble task is the least of your worries. I read here that someone else was having a similar reminders issue. I have no idea if he is rooted or not, so I don't know if it is Xposed related. Good luck.
imaginaryenemy said:
Yeah, it sounds like like the Pebble task is the least of your worries. I read here that someone else was having a similar reminders issue. I have no idea if he is rooted or not, so I don't know if it is Xposed related. Good luck.
Click to expand...
Click to collapse
The plot thickens. I have a Nexus 7 mounted on my refrigerator basically for Google now and the way I can just say "make a note" and it will save a note in evernote for me. It's stock and with the latest auto update is running 4.4.4. A power cord is connected perpetually. I haven't touched the thing physically in MONTHS. But apparently in the last 3-4 days it has developed the same problem with reminders not working. It gets stuck just like my phone does when I'm manually trying to make a reminder. It's like the entire reminder function was removed and my phone just grabbed onto alarms as a last resort rather than not do anything at all. I've googled it and haven't found anyone else with the issue (or they haven't noticed yet). but to have it on two different devices at the same time - one of which I haven't even touched indicates that there's a conflict with an update and probably a common app between the two devices.......now to figure out what it might be.......
kfreels said:
The plot thickens. I have a Nexus 7 mounted on my refrigerator basically for Google now and the way I can just say "make a note" and it will save a note in evernote for me. It's stock and with the latest auto update is running 4.4.4. A power cord is connected perpetually. I haven't touched the thing physically in MONTHS. But apparently in the last 3-4 days it has developed the same problem with reminders not working. It gets stuck just like my phone does when I'm manually trying to make a reminder. It's like the entire reminder function was removed and my phone just grabbed onto alarms as a last resort rather than not do anything at all. I've googled it and haven't found anyone else with the issue (or they haven't noticed yet). but to have it on two different devices at the same time - one of which I haven't even touched indicates that there's a conflict with an update and probably a common app between the two devices.......now to figure out what it might be.......
Click to expand...
Click to collapse
As far as I know, a lot of voice-initiated command will become available with Pebble-core's connection to Alexa
Currently, the pebble is also capable of doing such with 'snowy' commands. See mydogsnowy.com
I have no stake in that product whatsoever, and in fact I struggling a bit with its voice-recognition ... I'm dutch, so perhaps my english is not adequate for the recognition. So... your mileage may vary, but from what I've tested and seen described it's really promising
kfreels said:
I did this as well, but now, every time I launch PebbleTasker on my phone, Voice Search begins opening repeatedly and I can't even get to it to try to add additional tasks. Have you run into this? Did I do something wrong? Al I did was create a profile, then a task to launch the VoiceSearch App. It came up on my pebble fine and works flawlessly. It wasn't until I went to add somethign else to the PebbleTasker that I ran into this. Since then I've deleted the task from PebbleTasker and it still does it. Very odd. Any ideas?
Click to expand...
Click to collapse
where to buy such a gadget

Notification as trigger - without autonotification

Hi
I'm new to this so please bear with me. I have a eufy smart doorbell and am trying use tasker to click the notification received when the bell is pressed.
I have managed to do this on my phone with autonotification, however still trying to get it to work on my android tv box.The problem is that the box doesn't allow me to enable notification intercept.
So I am looking for either
(a) a way to allow notification interception. Possibly by rooting but have no experience of this or if it would work
(b) use something else as the trigger without intercepting the notification. Only thing I can think of is when a certain tone is played i.e the tone for the doorbell is played. I went through all the event options and didn't see anything like this so don't know if it is even possible.
If anyone has any other ideas as to how to trigger the task it would be great, or how to enable autonotification.
Thanks
Imran

Categories

Resources