iPhone headphone-controller on Android? - Android Software/Hacking General [Developers Only]

Hi!
Is it possible to hack the Linux-kernel to use the iPhone headphone-controller to change song, play, pause etc? I'm guessing it's in the kernel that stuff is handled?
It's just that I like the positioning of the iPhone controller better than the one on the headphones I got from my Nexus One.

This is good to know. I used cyanmod and my atomic bass worked in the beginning EVEN with Pandora! Then stopped working for some reason and only worked with the built in music player. Now Im on Froyo and only the music player works for it.

Related

Media players & Bluetooth Controls

Has anyone noticed if bluetooth headphone buttons can control any other music players other than the HTC Player since the update?
I have tried several music apps (Mixzing, Meridian and a few others) that support a2dp control but my headphones will only control the default player. I have even removed the HTC music player completely from the phone (hoping that the button control would get reassigned to another app) but then the button just doesn't work at all.
The only clue I have comes from the "mixzing" player forum:
http://mixzing.freeforums.org/post92.html?hilit=bluetooth#p92
I got my headphones (Sony Erricson HBH-IS800) after the update was released so I don't know whether or not this is new behavior?
I'm just wondering if anyone else has any experience with this. I'm not a big fan of the default player and would like to get away from it.
I should add that I am using the "Unofficial" Modaco/Obelisk79 2.1c ROM and also the Optimization made by ruskiyab.
I'm curious too. My previous phone (Palm Pre) allowed whatever music app was playing to be controlled via BT. This included Pandora which was very convenient in the car.
atoy74 said:
I'm curious too. My previous phone (Palm Pre) allowed whatever music app was playing to be controlled via BT. This included Pandora which was very convenient in the car.
Click to expand...
Click to collapse
I can't get it to work with any other media player including Pandora.
I think I may make a nandroid backup and then flash back to pre-update stock to see if there's any difference.
Don't bother. I checked that my first day with stock ROM. Functions exactly as the custom ROM's do.
atoy74 said:
Don't bother. I checked that my first day with stock ROM. Functions exactly as the custom ROM's do.
Click to expand...
Click to collapse
Lol! Thanks for the warning. I was about to attempt it while sitting here at Jiffy Lube.
There's got to be a way to fix this. The guy who posted on the mixzing forum sounded like he was onto something with the button priority assignments for the different media players. I don't know how to change these and probably should not mess with it anyway.

A very weired problem!!

Hey guys,
I just got my Captivate yesterday and today I discovered a very weird and annoying problem. Everyday at work I download a podcast from a radio talk-show. It works fine on my iPod and my old SE Xperia X10 but on my new Samsung something is going wrong. For some reason when the hosts are talking the quality of the sound in the right earbud is horrible you can barely understand them, but here comes the funny part, when they play music everything is fine there is non a difference between L and R. If anyone can explain what the heck is going one I would be glad do listen. I've tried a different media players and different headphones but no luck.
Here is the website with the podcasts:
cronica.primatv.ro/podcast/
(add the http part because I cannot post link - I'm a new user)
Probably you wont understand what are they talking about. But if somebody with another Samsung Captivate can do a test I would be glad to hear what the results are.
Can't help with that problem but I can with another.....it's spelled weird.
Oh...c'on man... English is my third language
Check the Effects in the settings for the default music player. Also, there is a 5.1 surround icon in the top left when playing music/audio. Tap that to disable 5.1
this might help
If the sound is fine on the left earbud with the podcast, my guess would be it has something to do with the one being a mono broadcast and the other being stereo.
does the podcast have multiple audio streams? There are a few that require you to select one or the other, otherwise you get both at the sametime. Depending on how the podcast is recorded, one audio stream may only go to the left or right channel, while the other is stereo.
Hey guys, thx all for the input. I played around with the setting and still no luck. About the mp3 file, I opened it in a wave editor and is absolutely fine both channels are fine. The file is stereo @ 96kbps. This is very odd!!!
Have you tried playing it through the phones speaker, How does it sound then? Besides that u may be SOL
Yeah I can verify the problem. Right channel plays fine on my PC but parts of it are choppy on the phone. The music seems fine, just the spoken dialogue is broken.
Is it Just That pod cast or others as well?
Sent from my SAMSUNG-SGH-I897 using XDA App

How to Play Variable Speed Audiobooks 1.5X- 2.0X? - I need help finding an app.

So I am liking my Samsung Galaxy II more and more every day but one thing that drives me nuts is the inability to find a suitable app that willy play audiobooks at variable speeds.
I finally found a program that works for most podcasts. "Pocket Casts" with Presto player for viarable speed control.
There is on program call Xspeedplayer that works for playing audiobook files but there is no way to jump to different parts of the audiotrack. Say for example I listed to the book for 1hr going to and from home then read a little bit on my kindle well there is no way to jump ahead to where my reading left off.
So if anyone knows of a good audio player that works for audiobooks that allows for variable speed I would love to hear about it.
TIA
Hopefully if enough people star this Android issue Google will add it as a feature to Android :laugh:
There is Nova Player which is mentioned in that thread which looks reasonably promising,
alternately Audio Speed Changer.
Or perhaps SFT AudioPlayer might work but not sure how good playback is?
p4nts said:
Hopefully if enough people star this Android issue Google will add it as a feature to Android :laugh:
There is Nova Player which is mentioned in that thread which looks reasonably promising,
alternately Audio Speed Changer.
Or perhaps SFT AudioPlayer might work but not sure how good playback is?
Click to expand...
Click to collapse
I have been very happy with Presto Sound Library Open Beta - https://play.google.com/store/apps/details?id=com.aocate.presto&hl=en
which works well with Akimbo Audiobook Player - https://play.google.com/store/apps/details?id=com.akimbo.abp
and Pocket Casts - https://play.google.com/store/apps/details?id=au.com.shiftyjelly.pocketcasts
So there is a solution but it will cost you over $10 I agree it should be included free with the OS like iPhone etc.
shortbus1234 said:
I have been very happy with Presto Sound Library Open Beta - https://play.google.com/store/apps/details?id=com.aocate.presto&hl=en
which works well with Akimbo Audiobook Player - https://play.google.com/store/apps/details?id=com.akimbo.abp
and Pocket Casts - https://play.google.com/store/apps/details?id=au.com.shiftyjelly.pocketcasts
So there is a solution but it will cost you over $10 I agree it should be included free with the OS like iPhone etc.
Click to expand...
Click to collapse
@shortbus - I have Presto but disappointed that the app hasn't been updated in a while, as there is bug where if I get a phone call while listening to Pocket Casts / Presto, it doesn't gracefully hand over the audio to the phone app, and have to force-close it after the phone call ended. Running Android 4.1.2 Jellybean on a GNex. Curious if you have the same issue - cheers.
kitecarl said:
@shortbus - I have Presto but disappointed that the app hasn't been updated in a while, as there is bug where if I get a phone call while listening to Pocket Casts / Presto, it doesn't gracefully hand over the audio to the phone app, and have to force-close it after the phone call ended. Running Android 4.1.2 Jellybean on a GNex. Curious if you have the same issue - cheers.
Click to expand...
Click to collapse
No problems here from like what you describe. I have had the program freeze on my but I am not sure if that is Presto or the Pocket casts program. I am running Jedi Mind Trick.
http://forum.xda-developers.com/showthread.php?t=1818305
But it has worked on all different builds and other programs.
Hope you figure out why it is happening.

[Q] MaxxAudio, possible to use system-wide?

One of the features I was most excited about the incremental OTA bringing was the new MaxxAudio audiofx. It works very well, I'd say on par with Viper4Android (albeit with less options), but there is a big caveat, it only works with certain apps like Google Play music, Apollo, and Spotify (when it wants to). It does not work with apps like n7 Music Player, Netflix, or YouTube. My question is, is there a way to get it to work for all system audio?
If nothing else then at least for the n7 player.
Yeah i have the same problem with pocket casts
Damn, I'm glad I found this topic... I thought that my hearing was off... So, just to report, not working with n7.
I don't really get it, we have a new audio drivers and EQ that simply don't work? What the hell...

Question Universal Music Widgets

For those of us who want to run a more standard Android launcher (Nova, oem launchers, etc), what are you guys doing re: music player controls?
I've noticed that car launchers like Agama and Vivid have pretty cool music controls integrated in- whether it is my Bluetooth connection to a phone, Spotify, Amazon Music, YT Music, etc., it displays whatever track information it has (sometimes art too) and universal play/pause/next/prev buttons. I like that.
My Atoto S8 Ultra (uis7862 based unit) comes with a pretty standard launcher. There is a music widget that seems to control just the built in local music player, which I don't like and therefore don't use. It got me thinking, are there any universal widgets that can work the same way the Vivid/Agama/etc launchers handle it?
I found and tried the following so far:
Music Widgets for Car Devices
This seemed promising on paper. I can't get it to switch between sources however, it gets stuck on the last one used even if I clear all open apps. For example, if I had Spotify open, and the next time I drive I want to listen to Amazon Music, it still shows Spotify controls and track information. I have to go into settings for the widget and press OK, only then will it update.
Also, I think I had the Bluetooth track control the very first time I installed it (I was playing music over BT to test it), but ever since I used it with anything else (Spotify, Amazon, etc) it refuses to ever go back to BT control.
Material Music Widget
I like the aesthetics of this one, seems much nicer than the first one. BUT, the trial version only allows you to connect it to a single app player so I can't confirm if it does what I want correctly. I also can't seem to get it to recognize the BT player, I'd imagine if it wasn't designed to be a car player widget it wouldn't be aware of that as an option.
What else should I try? What do you guys use?
I use Poweramp without any widget. The interface allows you to swipe left, right, up and down on the album cover. Very easy and intuitive. I like keeping it open to see the album cover. I have navigation, Waze on the left 2/3 of the screen and Poweramp on the right 1/3. I think it's 2/3 and 1/3 or it could be 3/4 and 1/4...not sure. I usually use the steering wheel controls to switch to the next song and play/pause. I have another button to change source, but I usually don't. I usually listen to the music on my USB stick using Poweramp.
mastrv said:
I use Poweramp without any widget. The interface allows you to swipe left, right, up and down on the album cover. Very easy and intuitive. I like keeping it open to see the album cover. I have navigation, Waze on the left 2/3 of the screen and Poweramp on the right 1/3. I think it's 2/3 and 1/3 or it could be 3/4 and 1/4...not sure. I usually use the steering wheel controls to switch to the next song and play/pause. I have another button to change source, but I usually don't. I usually listen to the music on my USB stick using Poweramp.
Click to expand...
Click to collapse
That doesn't help me though.
I have multiple drivers of my car between my wife and daughter, we use a mix of sources between Spotify, Amazon Music, AA/Bluetooth (because my daughter has her own spotify account she wants to use), etc.
It's annoying to have so many interfaces, I feel like there could/should be one set of "now playing" info on the display, with one universal set of controls for pause/play/next etc.
Agama and other launchers do this correctly, but their UI is too busy and too far from stock for me. I like the stock Android UI better, with the recognizable and colorful icons, but finding a widget like this seems harder than expected.
I am finding the folks at 4PDA made something called Music Proxy which sort of takes over the FYT standard audio player and uses that widget. However, Atoto's built in player widget is kind of ugly, huge, and doesn't even support album art (unlike other launchers that have this built in), I was hoping for a better option.
Suggesting a totally different app (Poweramp) isn't a solution for me personally, although I appreciate the reply.
Still searching for music widget that can go forward and rewind the tracks
Ubiquity ?
surfer63 said:
Ubiquity ?
Click to expand...
Click to collapse
Does that work on our modern Android OS?
dishe2 said:
Does that work on our modern Android OS?
Click to expand...
Click to collapse
No idea. I know they used it on the FYT Android 6 Sofia's. I never used it. I had to dig down deep in my memory and then search Google Play Store to find it back.
I guess you simply have to try.
surfer63 said:
No idea. I know they used it on the FYT Android 6 Sofia's. I never used it. I had to dig down deep in my memory and then search Google Play Store to find it back.
I guess you simply have to try.
Click to expand...
Click to collapse
I wanted to as soon you wrote it, but it says not compatible with my version of Android.
I could try forcing it via side load but I feel like it might just not work since it says designed for KitKat.
Its a shame because we know it's possible for a widget to do what we are asking but no one has done it.
Meanwhile, thanks to suggestions elsewhere here, I found the music widget updater for Teyes and the music proxy app from 4pda that goes along with it.
It's VERY CLOSE to what I want. It turns the standard FYT music player into a "now playing" universal widget, supports pretty much any media including Bluetooth, and gives play/pause/prev/next controls to whatever is currently playing.
The only problem is that the Atoto oem widget is ugly and still doesn't support album art the way the ones I found above do.
It also doesn't go forward or back in the track like the other suggestion, but I know that isn't compatible with Bluetooth streaming anyway (avrcp support is weak, even in the Bluetooth player screen).
I wish I had more experience with app development so I could try making it myself.
Do you have link?
WidgetUpdater for Teyes (Demo) - Apps on Google Play
Display title, artist and cover of the track in Teyes widgets
play.google.com
FYI, thanks to a post in another thread, @surfer63 pointed out that Ubiquity widget DOES work if you just sideload the apk, despite the Play Store saying incompatible. I installed mine from here and it seems to work:
https://m.apkpure.com/ubiquity-music-widget/com.jackthakar.musicwidget
The problem is, it STILL doesn't do what I wanted apparently: Give universal controls for all audio playing, including Bluetooth.
It's pretty much the same as the apps listed in the first post - as in, a good universal widget for apps (Spotify, Amazon Music, Youtube, etc). But it still does not recognize Bluetooth audio streaming. For that source of audio, you need to use the Bluetooth app on the radio to see and control what's playing. This is what I'm trying to avoid having to do.
The launchers like Vivid, Agama, etc, can all seem to integrate this into one player control. Even the WidgetUpdater for Teyes app linked above this post seems to get it, but relies on a very poorly designed stock launcher widget that doesn't look right on Atoto's launcher (text is aligned oddly). It's totally possible to get this working, but I wonder what I'm doing wrong.
Is it possible that Ubiquity works with other FYT units and their Bluetooth controls? I know my Atoto has a funny Bluetooth system compared to other FYT radios.
UPDATE:
Vivid Launcher. If you've tried it before and found it buggy, try it again now. It does it perfectly.
A long time ago and it was terrible re: compatibility with FYT (it was made for a different radio type). Tried to do too much customization and fell short, being buggy and freezing a lot.
I just tried it again because I remember their music widget was pretty spot on, and I have to say it seems like they really fixed it up to be more compatible, and the audio controls are now EVERYTHING I WANTED IT TO BE!
It will even automatically switch to Bluetooth audio as a source if you start playing something off your phone, pausing the head unit's playback elsewhere. Before this, if I was playing Spotify locally, I couldn't hear voice notes on my phone unless I switch over to the BT app. With the new Vivid launcher, it will automatically pause Spotify and switch to BT as a source when it detects something is playing there. I can then hit play on spotify again and continue.
And no matter what audio source is active, their music screen acts as a universal widget with controls and titles and even album art if there is any. I'm just so excited to have found this I had to share.
dishe2 said:
UPDATE:
Vivid Launcher. If you've tried it before and found it buggy, try it again now. It does it perfectly.
A long time ago and it was terrible re: compatibility with FYT (it was made for a different radio type). Tried to do too much customization and fell short, being buggy and freezing a lot.
I just tried it again because I remember their music widget was pretty spot on, and I have to say it seems like they really fixed it up to be more compatible, and the audio controls are now EVERYTHING I WANTED IT TO BE!
It will even automatically switch to Bluetooth audio as a source if you start playing something off your phone, pausing the head unit's playback elsewhere. Before this, if I was playing Spotify locally, I couldn't hear voice notes on my phone unless I switch over to the BT app. With the new Vivid launcher, it will automatically pause Spotify and switch to BT as a source when it detects something is playing there. I can then hit play on spotify again and continue.
And no matter what audio source is active, their music screen acts as a universal widget with controls and titles and even album art if there is any. I'm just so excited to have found this I had to share.
Click to expand...
Click to collapse
What kind of phone do you have and what version of Vivid launcher?
I have special version working well with NavRadio+ and when I use my phone that player sometimes changes into BT playing even if there's no music, but for example sound of typing.
I have a Oneplus 10 Pro, and I dunno - whatever version of Vivid is on the play store about 3 days ago!
I just installed the Vivid launcher on my wife's A6 pf (8581a) and none of the bluetooth or phone functions exist, so I guess they turn on / off features when it recognizes certain hardware?
I noticed that mine lags a couple of seconds before switching to bluetooth, so a notification like turning on my phone or getting a message doesn't switch, but anything that plays for 2+ seconds did. So a voice note would cut off the first couple of seconds, but at least I can replay if I need to and still don't need to change the headunit over.
Maybe your kb has too much constant noise so it clicks over?

Categories

Resources