Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

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

OP bedoig

11th February 2011, 05:35 PM   |  #1  
bedoig's Avatar
OP Senior Member
Thanks Meter: 118
 
672 posts
Join Date:Joined: Aug 2006
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, 10269 views)
Last edited by bedoig; 21st December 2011 at 12:07 AM.
The Following 21 Users Say Thank You to bedoig For This Useful Post: [ View ]
11th February 2011, 05:42 PM   |  #2  
bedoig's Avatar
OP Senior Member
Thanks Meter: 118
 
672 posts
Join Date:Joined: 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
Last edited by bedoig; 16th December 2011 at 10:09 PM.
11th February 2011, 05:50 PM   |  #3  
Senior Member
Thanks Meter: 11
 
497 posts
Join Date:Joined: 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
11th February 2011, 05:51 PM   |  #4  
Member
Thanks Meter: 5
 
55 posts
Join Date:Joined: Apr 2010
Talking
Quote:
Originally Posted by bedoig

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!
11th February 2011, 05:55 PM   |  #5  
bedoig's Avatar
OP Senior Member
Thanks Meter: 118
 
672 posts
Join Date:Joined: Aug 2006
Quote:
Originally Posted by Ceger

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.
11th February 2011, 06:10 PM   |  #6  
Senior Member
Thanks Meter: 54
 
271 posts
Join Date:Joined: Oct 2010
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.
11th February 2011, 06:11 PM   |  #7  
Senior Member
Thanks Meter: 54
 
271 posts
Join Date:Joined: Oct 2010
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.
11th February 2011, 06:13 PM   |  #8  
Senior Member
Thanks Meter: 54
 
271 posts
Join Date:Joined: Oct 2010
another question:
why must the sound quality be bad?

just because its mono? or because of BT? i dont understand
11th February 2011, 06:58 PM   |  #9  
bedoig's Avatar
OP Senior Member
Thanks Meter: 118
 
672 posts
Join Date:Joined: Aug 2006
Quote:
Originally Posted by karl999999

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

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

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.
11th February 2011, 07:22 PM   |  #10  
Senior Member
Thanks Meter: 54
 
271 posts
Join Date:Joined: 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.

Post Reply Subscribe to Thread

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

Advanced Search
Display Modes