[Q] Phone mic on multiple apps at the same time ? - Nexus 6P Q&A, Help & Troubleshooting

Is there a way to use the mic in multiple apps at the same time , for example i have Smart Lights that use 2 different apps and i want to use ¨Music Flow¨to light-up the room on music but the mic is working on only one app.
Untill i change all the lights to the same manufacturer i want to light-up the whole room not just a side
Same if i want to recod something and use google assistant at the same time .
I´ve searched on google but i found only threads from 2012,2014...and they are saying something about kernel limitation and security reasons . Can i bypass those security limitations ?

Related

List of functions NOT working on HD2 Froyo+Sense

Hi, I am newbie here but spent a lot of time testing the builds that developers have offered us. Big thanks to all the developers who are truly making HD2 more sexy and top toy in the market even though it has been there for almost a year (which merely happens to other phones, dare I say this?)
Currently using Froyo (mattc, RC1.2) on HD2 with exceller dualboot loader (V1.02), working very stable and smooth. Asides the points which have been listed in their posts, I found the following not functioning properly (or just happened to m2??)
1. Every time it reboots, the bluetooth automatically turns on (reported by other users). The HTC bluetooth toggle works funny when I tap it to turn it off- becomes gray but seems refuses to turn off...
2. Can not use google voice search- "process com.google.android voicesearch has stopped unexpectedly-force close". Found some solution in Android Software Development in the forum (just search "voice search"), but I suppose it is only for nand android thus not the solution for our case?
3. The voice in Google navigation is funny, quite robot-ish, any way to change it?
4. My winxp-64bit cannot recognize it as USB storage. Charging with USB cable to PC is fine, but it does not pop-out for selection of functionality, even I manually change it to USB storage. (solved: using different USB port followed by uninstalling the driver in PC device manager, also I installed JRT Auto Mount software listed in market, which might help as well))
5...
Hope this thread is useful, and list your findings here so that our lovely developer can make HD2 perfect.
oxhaotong said:
3. The voice in Google navigation is funny, quite robot-ish, any way to change it?
Click to expand...
Click to collapse
This is totally normal. It is a Text-To-Speech-Technology
Advantage: Everything is spoken - Streetnames, Cities, Autobahn-Numbers etc.
Disadvantage: It sounds like an robot.
no internet .. no my location update.... stock 1.66 greek rom... 2.12.50.2.2 radio....
if you have no internet connection you should check your provider APN and the option you subscribed, I need to change the APN name each time I re install a android rom but it works !!!

[Q] How to trigger Google now? How to turn off beep?

I have avoided Google now for the previous two iterations of phone... but I'm giving it a shot on the S4!
There are two outstanding Google Now questions that I can't seem to find a clear answer to by Googling (there's a joke in there somewhere).
1) How do I actually trigger Google now? I've tried saying Google, that doesn't work. The best I've been able to do is map the double home button to launch voice input, but that's s poor solution. If I have to use button presses to trigger it, then I may as well just do whatever I was trying to do in the first place with my fingers. IE, it's no time time savings to double press the home button and then say a command, vs just clicking on the app icon I'm trying to launch (probably a time penalty in fact).
What am I missing? Why isn't my Google Now listening to me in the background? Am I just using the wrong trigger word?
2) The beep that follows voice recognition is incredibly loud, substantially louder than the speech response that Google feeds back. How do I disable the beep entirely? It's redundant and disruptive. The best solution online seems to be to mute notifications in general. That's a non starter.
You trigger it by starting the Google app and following the instructions. It's the google app, not the google+ app or the google settings app.
After that it just kind of runs. starts out slow at first but more cards appear over time, but you can pull it up anytime by running the google app.
acruxksa said:
You trigger it by starting the Google app and following the instructions. It's the google app, not the google+ app or the google settings app.
After that it just kind of runs. starts out slow at first but more cards appear over time, but you can pull it up anytime by running the google app.
Click to expand...
Click to collapse
Yes.... I realize how to run the app.... and how to follow its instructions
How do I trigger it, that's my question/query/frustration. As mentioned, it works fine if I double-tap the home button to launch the Google Now app manually. It also works fine if I go into my apps and find the Google Now icon, and then launch it that way, or if I use a shortcut, widget, etc to open up the app.
What I can't figure out, is how to actually trigger it during regular use. Short of going in and manually launching Google Now, I can't get it to trigger - I can't get it to listen to me. I've tried saying "Google", "Android, "Ok Android", "Ok Google", etc, and almost every other ridiculous phrase I can think of. Nothing triggers it short of manually launching the app by hand.
Once I set it up, it comes up every time I tap on the google search bar. However, normally I don't mess with it, it just automatically sends me notification cards when it thinks I need them.
For instance right now it's showing me a notification card for the last Sharks Kings game, my upcoming flight and several cards for things I've researched a lot lately like the S4, Voodoo Sound, Vsonic GR02 headphones, Fiio E07K etc. Also has my stocks and the local weather. I didn't "do" anything to get the cards, they just appear in my notification bar or whenever I tap the search bar.
acruxksa said:
Once I set it up, it comes up every time I tap on the google search bar. However, normally I don't mess with it, it just automatically sends me notification cards when it thinks I need them.
Click to expand...
Click to collapse
That's fine - once setup, it comes up every time I tap the Google search bar too. That's not my issue.
My problem is that I cannot get it to trigger by my voice. Unless I manually launch the app first each and every time I want it to do something, it does not respond to my voice. It responds to my voice just fine if I manually I launch the app first, but that's the only time I can get it to work. At all other times, I may as well be speaking to my shoe
Hold menu button for couple seconds.
Easy answer. You can't you have to launch it first.
Sent from my SAMSUNG-SGH-I337 using Tapatalk 2
ripper4209 said:
Easy answer. You can't you have to launch it first.
Sent from my SAMSUNG-SGH-I337 using Tapatalk 2
Click to expand...
Click to collapse
That can't be...? What use would a hands-free system be if you have to use your hands and navigate into an app before it will take hands-free voice commands?
Isn't the whole deal with this voice stuff that you can just talk to it?
In my experience, the hotword detection only works after you've manually triggered the app. It only relieves you from physically tapping the microphone icon.
Sent from my SAMSUNG-SGH-I337 using xda premium
get a bt headset and activate it that way..It can't be 100% hands free; it would have to be on all the time, and then you would complain about how much battery it was eating...
On my Google Now, saying "Google" does work. As long as the actual App has already been activated and is standing by that is.
On my "S Voice", saying, "Hi Galaxy" works, but it is customizable for other triggering phrases.
You are correct about Google Now only responding the first time though. If you want it to voice activate again you have to use the back key to get back to the original screen or completely re-launch it. It just seems that is the way it is.
Wow - this is significantly less impressive than I had envisioned. I was under the mistaken impression that Google Now (and Siri on the iPhone) just responded to their trigger words whenever uttered.
This strikes me as somewhat limited in usefulness until they get these apps to listen constantly. If I need to know the weather, why use my hands to launch Google Now, then ask for the weather, and then wait for it, if I could instead just use my hands to launch my weather app directly?
I must be missing all the excitement - or maybe Siri / Google Now are meant for people who can't figure out their phones?
On the issue of that annoying confirmation sound, I'm halfway there. The APK is in data/apps, and it's called "com.google.android.googlequicksearchbox-1.apk". Inside that apk there is a folder called "res", and inside that there's another folder called "raw". In that folder you'll find the WAV files for each sound.
Unfortunately, that's where my efforts die. I can't seem to open the wav files on a PC (even in audio editing software). I can't just delete them either, or Google Now crashes. I similarly can't just replace them with less annoying wav files from my PC - that crashes Google Now also. I'll see what I can do about finding a way to just upon them for the purpose of lowering their volume (or blanking them) and report back with my results (if any).
rhd-android said:
Wow - this is significantly less impressive than I had envisioned. I was under the mistaken impression that Google Now (and Siri on the iPhone) just responded to their trigger words whenever uttered.
This strikes me as somewhat limited in usefulness until they get these apps to listen constantly. If I need to know the weather, why use my hands to launch Google Now, then ask for the weather, and then wait for it, if I could instead just use my hands to launch my weather app directly?
I must be missing all the excitement - or maybe Siri / Google Now are meant for people who can't figure out their phones?
On the issue of that annoying confirmation sound, I'm halfway there. The APK is in data/apps, and it's called "com.google.android.googlequicksearchbox-1.apk". Inside that apk there is a folder called "res", and inside that there's another folder called "raw". In that folder you'll find the WAV files for each sound.
Unfortunately, that's where my efforts die. I can't seem to open the wav files on a PC (even in audio editing software). I can't just delete them either, or Google Now crashes. I similarly can't just replace them with less annoying wav files from my PC - that crashes Google Now also. I'll see what I can do about finding a way to just upon them for the purpose of lowering their volume (or blanking them) and report back with my results (if any).
Click to expand...
Click to collapse
Don't you think some people DON'T want it on all the time? It could mistakenly trigger it and possibly do an unwanted action. It is fine in it's current implementation. I would think in the future as voice recognition and battery technology improves we might see an always on Google now or siri but right now it would/could cause more problems than create convenience.
Sent from my GT-N7100
A new version of Chrome (for desktop) is coming out that supposedly will do this, but it's just not feasible on a mobile device. At least not yet. Do you really want your phone's mic on 24/7 feeding audio to the processor, constantly running voice recognition on every sound it hears? Imagine how horrible the battery life would be. Not to mention the privacy concerns of that (and legal issues, I can see something like this breaking wiretap laws in several states).
Even Google Glass requires you to either touch it or activate it through a head motion so it starts listening. The same with Siri on iOS. The point is you only have to do one thing to start issuing a variety of commands. You can do it without looking at the phone.
rhd-android said:
Wow - this is significantly less impressive than I had envisioned. I was under the mistaken impression that Google Now (and Siri on the iPhone) just responded to their trigger words whenever uttered.
This strikes me as somewhat limited in usefulness until they get these apps to listen constantly. If I need to know the weather, why use my hands to launch Google Now, then ask for the weather, and then wait for it, if I could instead just use my hands to launch my weather app directly?
Click to expand...
Click to collapse
As mentioned, think logically about what you are asking for. If your phone's microphone was always on, listening to and parsing every single noise it hears 24/7 to detect the word Google, think about what the battery implications. Every sound it hears it must analyze, all day long. Then, consider any time it thinks it hears Google, it will immediately turn on and listen for more input and then try to respond to that. It's just not feasible to expect this without killing your battery and also dealing with the many false positives that might constantly be making your phone do stuff you didn't intend.
Having said that, you are missing the key part of Google Now which sort of addresses your issues with it. Google Now doesn't listen 24/7 for you to speak to it, it analyzes data such as your search history, location, Google now settings, gmail, calendar, and so on, to proactively give you information before you even ask for it. That's the appeal and the main idea of Now. You still get the searching, the voice commands, etc, but you also get an "assistant" that doesn't need you to constantly tell it what you want. (In theory of course)
jsmith8858 said:
As mentioned, think logically about what you are asking for. If your phone's microphone was always on, listening to and parsing every single noise it hears 24/7 to detect the word Google, think about what the battery implications. Every sound it hears it must analyze, all day long. Then, consider any time it thinks it hears Google, it will immediately turn on and listen for more input and then try to respond to that. It's just not feasible to expect this without killing your battery and also dealing with the many false positives that might constantly be making your phone do stuff you didn't intend.
Click to expand...
Click to collapse
Yep - and that's where I thought the tech was at. I thought we had overcome these problems. I thought we were able to accomplish the above.
I played with it a bunch yesterday, and there was nothing that I could do faster with voice (given that I had to use hands to trigger the app first) than I could do with just hands alone. I tested a lot of common tasks, and launching the app + giving a voice command and waiting for the response action was always slower (not even factoring in voice errors - that's assuming 100% accuracy).
The ability to constantly listen is fundamental to voice commands being useful on a smartphone (in my mind). I just jumped the gun and thought we were there already (adverts certainly make it seem like we are). Until we hit that point, until we have a system that is responsive like KIT, or HAL, or LCARS, I think voice commands are impractical. It needs constant listening. Interestingly, it looks like the industry agrees:
http://www.technologyreview.com/new...d-respond-to-your-voice-even-when-its-asleep/
http://www.techradar.com/news/compu...mm-processor-will-always-be-listening-1132647
^ that tech largely addresses jsmith8858's concerns.
rhd-android said:
Yep - and that's where I thought the tech was at. I thought we had overcome these problems. I thought we were able to accomplish the above.
I played with it a bunch yesterday, and there was nothing that I could do faster with voice (given that I had to use hands to trigger the app first) than I could do with just hands alone. I tested a lot of common tasks, and launching the app + giving a voice command and waiting for the response action was always slower (not even factoring in voice errors - that's assuming 100% accuracy).
The ability to constantly listen is fundamental to voice commands being useful on a smartphone (in my mind). I just jumped the gun and thought we were there already (adverts certainly make it seem like we are). Until we hit that point, until we have a system that is responsive like KIT, or HAL, or LCARS, I think voice commands are impractical. It needs constant listening. Interestingly, it looks like the industry agrees:
http://www.technologyreview.com/new...d-respond-to-your-voice-even-when-its-asleep/
http://www.techradar.com/news/compu...mm-processor-will-always-be-listening-1132647
^ that tech largely addresses jsmith8858's concerns.
Click to expand...
Click to collapse
It's not there yet. It is still very handy when you're multitasking and the best example is driving. Sure I would love to not have to tap my phone a couple if times, but it is still worlds better than losing focus taking my phone out if dock, making those couple taps and typing out my message or commands. Not to mention keeping a CPU and microphone running at all times keeping your phone awake at the same time and it is just not viable. I don't think apple could pull it off either as it would just keep iOS running and running when the phone is not in use. Then there's the privacy factor. I don't think this will be viable for at least another couple of years.
Sent from my GT-N7100
Siri also doesn't respond by keyword launch. S-voice seems like the only one that does and it's definitely less than stellar. As jsmith8858 said above, it's a proactive assistant. Google Now is there for you to give you information it believes you might need before you ask for it. I.e. If i google a place on google maps on my desktop, When i look at google now on my phone a moment later, it has the pop up of directions and estimated time (that i can bring up in maps or navigation by tapping) of where it was when I just searched.
There are third party apps you can use with custom roms that you can bind double-tap home button to initiate voice search, or you can add voice search as a shortcut on your lock screen as well.
I was watching TV and someone on TV said Google, and it triggered the app so I'm pretty sure that there is a way to do it without using your hands, especially because of how many times they said there was a way during one of those recent Key notes regarding it
KILLplay said:
I was watching TV and someone on TV said Google, and it triggered the app so I'm pretty sure that there is a way to do it without using your hands, especially because of how many times they said there was a way during one of those recent Key notes regarding it
Click to expand...
Click to collapse
As far as I know, the only phone that triggers Google now by saying "Ok Google now" is the new moto X, but it has a processor dedicated to ear what you are saying.
I don't know if this ability cam be ported to our s4 and what will be the price to pay about battery consumption.
Enviado desde mi SGH-I337 usando Tapatalk 2

Playing music in background during a call

Hi, I am trying to play music in background while making a call. So I mean that while speaking I need ability to play music in background using buzzer(main speaker) ,so the another person on the line could hear the music from the speaker. I have been studying Android API , but didn't find anything, that allows me to do this. I have tried services, but this also doesn't work.
I have found similar questions but there is no any solutions. Also I don't need ability to hear person on the other end of line, so I don't need to use earpiece(speaker). I need to use only microphone and buzzer(ringer).
Is there any way to do this using default API . Or there is no such feature at all available on Android Platform. Maybe there is any way to do this using native interface and system calls or something else. or at worst to modify ROM or Android OS or Kernel.
I don't need really solution(it would be great of course) in code , I need just direction where to start. Maybe there is easy way to do this , so I don't want to reinvent the wheel.
I would be grateful for any answers and suggestions about this question.

[Q] Suggestion or even help for me on my phone ?

Hello, to all.
I think i opened the topic in the right section if not moderators feel free to move it to the correct place.
My phone is : Samsung S4 i9505 LTE 16GB
I want to find out a good rom ,custom for me and i want suggestions.
The only thing that i care,is taking photos, and browsing a lot on the internet (facebook,instagram etc.) and i care about the battery life.
Now with the stock rom i use only this :
Phone
Messages
Contacts
Instagram
Maps (Google)
Messenger
Play Store
Camera
Clock
e-mail (gmail)
WPA Finder
Viber
Zedge
Youtube
Voice Recorder
S Memo
As you can understand i use only few apps and the rest of them i have disabled them.
What rom should be "good" for me you think ? Light one i believe...
Stick with stock

Updated phone dialer app

Hey guys first time poster here.
Ive been trying to search around but cant find any real solutions.
I find the stock phone dialer app terrible as you cant have favourites and just the overall appearance of it aswell is a little plain.
I downloaded the app dialer and I like the look and functionality of it but when i press to call someone it goes to the stock dialer but it takes about 15 seconds to get there.
Someone please help!
The standard dialers you find on play store do not implement HFP-CLIENT.
To my knowledge, there are three hfp-client dialers available;
1) The binary only one that the thing ships with,
2) The new one added to AOSP8 here: https://android.googlesource.com/platform/packages/apps/Car/Dialer/
3) The qualcomm test application available on codeaurora.
There are problems with all of them for this application.
Specifically, as you note, option (1) is absolutely terrible.
A common problem with option (2) and (3) is that they don't interface with the chinese audio control hacks, which means that when you switch to a call, the audio won't come through.
An additional problem with option (2) is that it doesn't compile with less than Android 7.0 -- even though it actually specifies a minimum of 6.0, it depends on something with a minimum of 7.0.
An additional problem with option (3) is that it is a test application through and through, it doesn't implement the necessary background service to pop up a notification you can click on to answer a call. The application has to actually be *open* to do anything.
But aside from those problems with (2) and (3), the *good* thing about them, is that they are open source, which means that anybody who wants to adjust them so that they do work, can do so.
If I was going to pick somewhere to start with this, it would be with option (2). It is a dialer meant for end users, and would take a lot less work to adjust it to (a) compile, and (b) implement the needed audio hacks. Although technically, I do have option (3) working, as I mentioned, it has to actually be open in the foreground to do anything, and it doesn't implement the audio hacks.
Hi,
Apologies for the noob question but what do you do with the code in option 2 to install it on the headunit?
Thanks!
luciusfox said:
The standard dialers you find on play store do not implement HFP-CLIENT.
To my knowledge, there are three hfp-client dialers available;
1) The binary only one that the thing ships with,
2) The new one added to AOSP8 here: https://android.googlesource.com/platform/packages/apps/Car/Dialer/
3) The qualcomm test application available on codeaurora.
There are problems with all of them for this application.
Specifically, as you note, option (1) is absolutely terrible.
A common problem with option (2) and (3) is that they don't interface with the chinese audio control hacks, which means that when you switch to a call, the audio won't come through.
An additional problem with option (2) is that it doesn't compile with less than Android 7.0 -- even though it actually specifies a minimum of 6.0, it depends on something with a minimum of 7.0.
An additional problem with option (3) is that it is a test application through and through, it doesn't implement the necessary background service to pop up a notification you can click on to answer a call. The application has to actually be *open* to do anything.
But aside from those problems with (2) and (3), the *good* thing about them, is that they are open source, which means that anybody who wants to adjust them so that they do work, can do so.
If I was going to pick somewhere to start with this, it would be with option (2). It is a dialer meant for end users, and would take a lot less work to adjust it to (a) compile, and (b) implement the needed audio hacks. Although technically, I do have option (3) working, as I mentioned, it has to actually be open in the foreground to do anything, and it doesn't implement the audio hacks.
Click to expand...
Click to collapse
I just bought a Seicane unit. The model is listed as sp9853i in the settings screen. I haven't been able to find a lot of information anywhere about this unit. I have been trying to get a different HFP-enabled phone dialer, but no luck so far.
I did try installing FCC Launcher, which lists dialing through BT as a feature. However, it looks like the Seicane sp9853i provides the actual bluetooth functionality in the actual launcher. When I start FCC launcher, BT disconnects. Also, the BT properties are not available under Android settings, which is not terribly surprising, since it's a head unit, not a phone.

Categories

Resources