Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
warri
Old
(Last edited by warri; 15th September 2010 at 03:34 PM.)
#1  
warri's Avatar
Senior Member - OP
Thanks Meter 31
Posts: 949
Join Date: Jan 2009
Location: Jupiter

 
DONATE TO ME
Default [PROJECT] Headphone Controls - HandsFree

I would like to start working on a way to change the function of the push button received from the headphones. Mainly for when your driving, but this would also be helpful when you need to work with your hands, but still would like to use your phone!

I would love to make an app, but i have no exp in doing this, so basically this is my REQ for a developer to work with to create,develop,test help build my idea.

A customizable app that allows you to choose to open apps, perform actions, play music, skip, pause,play etc with different clicks of the button (Like the older/newish ipod shuffle controls)

If your interested or have any material or ideas for me to start looking into gpio settings please add to the post.

My ideal click config would be:

[Current]
1 click - Depending on Phone State : Open up Music Player/play/pause/answer call/end call

[Additional - Needs to be added]
2 clicks - Next Song
3 clicks - previous song
Click and Hold - Open Voice Control Program (in my case Vlingo) Should be configurable via GUI or config file

(I'm not sure how many commands we can actually store, but if there are more then we can surely add more and more features)
Follow me on Twitter: w4rri
Hit Thanks If I was helpful

Galaxy S3 - TaskAOKP


Retired:
HTC One XL - CM10
Captivate - ICS AKOP - Glitch
HTC FUZE - ENERGY ROM -Raphael Cookie Reference
 
wpb2
Old
#2  
wpb2's Avatar
Member
Thanks Meter 0
Posts: 77
Join Date: Jul 2010
Location: New Orleans
Quote:
Originally Posted by warri View Post
I would like to start working on a way to change the function of the push button received from the headphones. Mainly for when your driving, but this would also be helpful when you need to work with your hands, but still would like to use your phone!

I would love to make an app, but i have no exp in doing this, so basically this is my REQ for a developer to work with to create,develop,test help build my idea.

A customizable app that allows you to choose to open apps, perform actions, play music, skip, pause,play etc with different clicks of the button (Like the older/newish ipod shuffle controls)

If your interested or have any material or ideas for me to start looking into gpio settings please add to the post.

My ideal click config would be:

[Current]
1 click - Depending on Phone State : Open up Music Player/play/pause/answer call/end call

[Additional - Needs to be added]
2 clicks - Next Song
3 clicks - previous song
Click and Hold - Open Voice Control Program (in my case Vlingo) Should be configurable via GUI or config file

(I'm not sure how many commands we can actually store, but if there are more then we can surely add more and more features)
How much money do you have?

I already have the answer. Get a set of the Motorola S9-HD Bluetooth headset. You can do all things you require with them (over bluetooth of course) The sound quality is AWESOME
 
fraztto
Old
#3  
Member
Thanks Meter 3
Posts: 79
Join Date: Feb 2008
Location: Valencia
well, that's not the correct answer, ths idea for an app is really nice, I dont have experience in android development either but I'd like to have this app, and I would donate, Once I saw an application like this for WM and it was awesome( Former WM user)
 
SetiroN
Old
#4  
SetiroN's Avatar
Senior Member
Thanks Meter 235
Posts: 212
Join Date: Aug 2010

 
DONATE TO ME
Quote:
Originally Posted by wpb2 View Post
How much money do you have?

I already have the answer. Get a set of the Motorola S9-HD Bluetooth headset. You can do all things you require with them (over bluetooth of course) The sound quality is AWESOME
yeah, right.

AD2P simply SUCKS quality-wise.
If you don't notice the difference, well, good for you .
but with the same kind of money you can get so much more quality you can't even compare.

The kind of fearure the OP is working on would be just awesome for who wants quality or doesn't. want to spend money for the same of it and remote controls . looking forward to it.
 
tytdfn
Old
#5  
tytdfn's Avatar
Senior Member
Thanks Meter 9
Posts: 302
Join Date: Jul 2010
Location: New York
I been trying to do something like this with Tasker but sadly i can't get it to recognize the headset click
 
warri
Old
#6  
warri's Avatar
Senior Member - OP
Thanks Meter 31
Posts: 949
Join Date: Jan 2009
Location: Jupiter

 
DONATE TO ME
Quote:
Originally Posted by tytdfn View Post
I been trying to do something like this with Tasker but sadly i can't get it to recognize the headset click
I'm going to start sifting through the Kernel and Source Code that was posted from samsung for anything related to the headset. They defiantly have a way to recognize the clicks, I just dont know how to access them to tell the phone what to do.
Follow me on Twitter: w4rri
Hit Thanks If I was helpful

Galaxy S3 - TaskAOKP


Retired:
HTC One XL - CM10
Captivate - ICS AKOP - Glitch
HTC FUZE - ENERGY ROM -Raphael Cookie Reference
 
richb500
Old
#7  
Member
Thanks Meter 13
Posts: 99
Join Date: Feb 2008
Quote:
Originally Posted by tytdfn View Post
I been trying to do something like this with Tasker but sadly i can't get it to recognize the headset click
Fingers crossed that this is on topic enough...

On my Captivate, the hardwired headset that came with it has a button in the wire. This button doesn't seem to do anything. What is it supposed to do?

Also, I have a bluetooth Jabra BT3030. None of the buttons function with the Captivate. They all worked fine on my Tilt (WM). Should all of the bluetooth buttons work with this phone? Also, when I turn on my bluetooth it pairs fine, but doesn't automatically connect. I've read about this happening with other people. I'm wondering if it's just this old bluetooth device isn't compatible with the Captivate. Any opinions?

Thanks,
Rich
 
CB650 Wolf
Old
#8  
CB650 Wolf's Avatar
Senior Member
Thanks Meter 147
Posts: 462
Join Date: Aug 2010
Location: Midlands of SC

 
DONATE TO ME
Quote:
Originally Posted by richb500 View Post
Fingers crossed that this is on topic enough...

On my Captivate, the hardwired headset that came with it has a button in the wire. This button doesn't seem to do anything. What is it supposed to do?

Also, I have a bluetooth Jabra BT3030. None of the buttons function with the Captivate. They all worked fine on my Tilt (WM). Should all of the bluetooth buttons work with this phone? Also, when I turn on my bluetooth it pairs fine, but doesn't automatically connect. I've read about this happening with other people. I'm wondering if it's just this old bluetooth device isn't compatible with the Captivate. Any opinions?

Thanks,
Rich
The button you speak of will pause and un-pause music from my experience. I'm not sure if it does anything else.
 
no driver
Old
#9  
Senior Member
Thanks Meter 10
Posts: 114
Join Date: Jun 2010
It also answers incoming calls and in at least one music player (can't remember which one, maybe DoubleTwist?) a double click skips to the next track.
Samsung Captivate: SlimBean 2.9
Samsung GSIII: Stock (for now)
 
TMC_Sherpa
Old
#10  
Senior Member
Thanks Meter 0
Posts: 119
Join Date: Jul 2010
Location: Chicago-Land
The files you are looking for are

linux-2.6.29/arch/arm/mach-s5pc110/include/mach/sec_jack.h
linux-2.6.29/arch/arm/mach-s5pc110/sec_jack.c

just don't ask me what to do with it

Sherpa

 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

report this ad
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...

XDA PORTAL POSTS

Nandroid Manager Receives Major Update

Do you find yourself obsessively jumping from ROM to ROM? And do you hate having to restore a full … more

Careers in Android: Recruiter Reveals How Resumes are Chosen – XDA Developer TV

XDA Developer TV Producer Jayce released a video a … more

HttpClient Tutorial to Upload and Download with Your App

Developers wanting to interact with the Internet need to choose a package to do the … more

Profile Flow: A Tasker Alternative

By now, we’re all quite familiar with Tasker, the personal automation app that seems to be able to … more