Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,813,752 Members 39,728 Now Online
XDA Developers Android and Mobile Development Forum

[App] BTmono - v1.2 - ICS Fixes - Yum

Tip us?
 
bedoig
Old
(Last edited by bedoig; 20th December 2011 at 11:07 PM.)
#1  
bedoig's Avatar
Senior Member - OP
Thanks Meter 117
Posts: 671
Join Date: Aug 2006
Default [App] BTmono - v1.2 - ICS Fixes - Yum

My first Android application! BTmono



Description:

Simple app to stream audio to your bluetooth mono headset.

Released as donationware, so if you like it show your appreciation

Requires Android 2.2 or higher. Tested on stock HTC Evo 4G ROM (2.2) and CM7 RC1.

Notes:
- Make sure your headset is connected BEFORE clicking 'On'
- To use with Skype you must enable BTmono AFTER starting a Skype call.
- To reduce static, set the 'Media Volume' slider to max and reduce the 'Bluetooth In-Call Volume' via your phone/headset.
- This version contains a workaround for a bug in Android 2.2 which causes a system crash under certain circumstances. If you are on 2.2, do NOT disable Bluetooth while the stream is running or your phone WILL reboot (sorry - tell your phone manufacturer to move to 2.2.1+). The bug has been fixed as of Android 2.2.1.

Features:
- Widget!!
- Automatically enable Bluetooth on app launch (user can still choose not to allow this). Make sure your headset is actually CONNECTED before hitting 'On.'
- In-app 'Media Volume' control. Adjust the 'Bluetooth In-Call Volume' using the physical buttons on your phone or headset.
- Ongoing Status Bar notification while the program is running.
- Skype support (if enabled after call is started)

To-do:
- Possible - map headset button to 'next track'
- Other features?

Attached Files
File Type: apk BTmono_v1.1.1 - Donate.apk - [Click for QR Code] (199.9 KB, 9718 views)
The Following 20 Users Say Thank You to bedoig For This Useful Post: [ Click to Expand ]
 
bedoig
Old
(Last edited by bedoig; 16th December 2011 at 09:09 PM.)
#2  
bedoig's Avatar
Senior Member - OP
Thanks Meter 117
Posts: 671
Join Date: Aug 2006
Changelog:

v1.2
- fix crash on ICS
- fix status bar icons on Android 3.0+
- utilize new bluetooth "in-communication" mode for Android 3.0+. *Should* integrate better with VOIP apps, etc.
- automatically detect if user is on Gingerbread or greater - no need to select the Android 2.2.1+ setting in preferences. If you are on 2.2.1 you still need to select this for a cleaner shutdown when you press Off. There was no API level change between 2.2 and 2.2.1 so I can't (easily) do it for you automatically.


v1.1.1
- choose Android's color

v1.1
- Auto reconnect after phone call

v1.0
- Widget!
- Rewrite to eliminate disconnects (hopefully)
- Option for better shutdown on 2.2.1+

v0.3.1
- user prefs - Auto-On

v0.3
- small UI change - Android says hi

v0.2
- added in-app 'Media Volume' control
- added bluetooth check on startup
- added ongoing activity notification

v0.1 - initial release
 
Ceger
Old
#3  
Senior Member
Thanks Meter 11
Posts: 497
Join Date: Nov 2007
Sweet. How does music sound when going through this? Also, are you saying there is no way to alter the media vlume when this is running?

Ceger
 
fatapia
Old
#4  
Member
Thanks Meter 5
Posts: 52
Join Date: Apr 2010
Quote:
Originally Posted by bedoig View Post
My first Android application! BTmono



Description:

Simple app to stream audio to your bluetooth mono headset.

Released as donationware, so if you like it show your appreciation

Requires Android 2.2 or higher. Tested on stock HTC Evo 4G ROM (2.2) and CM7 nightlies.

Notes:
- Turn on bluetooth and set media volume to desired level before running the app (will do this automatically in future releases if there is demand for it).
- This version contains a workaround for a bug in Android 2.2 which causes a system crash under certain circumstances. The bug has been fixed as of Android 2.2.1, so future releases will include an Android version check and alternate (better) shutdown method for 2.2.1+.


To-do:
- Check if Bluetooth is enabled at app launch (and enable it if it's not).
- Widget. Thanks pure_energy1 @ XDA for reminding me.
- possible (if requested) - disable bluetooth when you turn off streaming.
- possible (if requested) - set media volume to predefined level before enabling bluetooth stream.
- Version check and different shutdown for 2.2.1+
- Other features?

I've been looking for something like this, thank you!
 
bedoig
Old
#5  
bedoig's Avatar
Senior Member - OP
Thanks Meter 117
Posts: 671
Join Date: Aug 2006
Quote:
Originally Posted by Ceger View Post
Sweet. How does music sound when going through this? Also, are you saying there is no way to alter the media vlume when this is running?

Ceger
Sound quality blows, but that's just the way it is. It's mainly just for people who have an old mono headset laying around and want to listen to podcasts, etc.

Unfortunately, there is no way to change 'Media' volume while it's running. You can adjust 'Bluetooth In-Call' volume, but if your media volume is muted you won't hear anything.
 
karl999999
Old
#6  
Senior Member
Thanks Meter 54
Posts: 267
Join Date: Oct 2010
Default please don't

Turn on bluetooth and set media volume to desired level before running the app (will do this automatically in future releases if there is demand for it).

please dont do this! applications that alter volumes are really bad. user does not know about it , and then in a quiet room later you will suddenly be balsted with some sounds, when u turn off BT.
also another app could be running at the same time, and you have no way of knowing what the user wants.
 
karl999999
Old
#7  
Senior Member
Thanks Meter 54
Posts: 267
Join Date: Oct 2010
Default skype

As for the microphone, I hadn't really considered that. I was thinking of this as purely a means of getting audio from the phone to the BT headset. Does Skype not work with a BT headset using the standard headset profile?


i hope u can also do mic.
no skype unfortunately (on my galaxy s) does always use the phones speaker and cant use the headset :(
so i was waiting for an app like that for a long time.
 
karl999999
Old
#8  
Senior Member
Thanks Meter 54
Posts: 267
Join Date: Oct 2010
another question:
why must the sound quality be bad?

just because its mono? or because of BT? i dont understand
 
bedoig
Old
#9  
bedoig's Avatar
Senior Member - OP
Thanks Meter 117
Posts: 671
Join Date: Aug 2006
Quote:
Originally Posted by karl999999 View Post
please dont do this! applications that alter volumes are really bad. user does not know about it , and then in a quiet room later you will suddenly be balsted with some sounds, when u turn off BT.
also another app could be running at the same time, and you have no way of knowing what the user wants.
Point taken. I could save the unadjusted level and restore it to that when disabling though.

Quote:
Originally Posted by karl999999 View Post
i hope u can also do mic.
no skype unfortunately (on my galaxy s) does always use the phones speaker and cant use the headset :(
so i was waiting for an app like that for a long time.
I'll look into the mic. I figured Skype would work with a headset by default.

Quote:
Originally Posted by karl999999 View Post
another question:
why must the sound quality be bad?

just because its mono? or because of BT? i dont understand
The telephony/headset profile uses low quality audio. OK for calls, sucks for music. If you need high quality audio you'll need to get an A2DP headset.
 
karl999999
Old
#10  
Senior Member
Thanks Meter 54
Posts: 267
Join Date: Oct 2010
Point taken. I could save the unadjusted level and restore it to that when disabling though.

i hope this will be a configurable option [yes/no]
because if another program is running also (mutlitasking) then setting the level back to what it was before , may also be wrong and confuse the user.
if the user has meanwhile changed the volume in another program.

Tags
audio, bluetooth, btmono, headset, mono
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes