Skip to content
Jim Roal edited this page Nov 22, 2018 · 11 revisions

#Tips and Tricks.

<wiki:toc max_depth="1" />

= Introduction =

This Wiki covers a few tips and tricks for using A2DP Volume effectively. It also covers how to use the app to fix problems with Android and Bluetooth device compatibility issues.

= App crashes =

With the introduction of Android Marshmallow (6.0) app permissions are handled differently. You can now deny each permission for an app in the Android settings, apps, and then the app of interest. A2DP Volume will crash if permissions are not granted. Make sure all permissions for A2DP Volume are granted in Android app settings. I will work on a better way to handle this. Check this by going to [Android settings] -> [Apps] -> [A2DP Volume] -> [Permissions] and you should see the screen below. Make sure all are selected as shown below.

This app only uses these permissions to support the features of the app. This app does not send any info out of your device.

= Volume does not always adjust =

Some devices will connect, disconnect, reconnect a couple times. This causes A2DP Volume to engage several times very fast. In the confusion an adjusted volume can be captured as last used. I recommend not using the "Automatically remember last used media volume on disconnect" feature in the edit device screen. Note: Android 9 and up has the per device volume control in the OS so it has been removed from A2DP Volume on Android 9 and up devices.

If the problem persists, try increasing the delay time between device connecting and volume adjusting up. I find 12s or so to give consistent results but it really depends on your mobile device and the Bluetooth device. Results vary.

Another issue is a volume warning message on some devices. My Motorola devices do this. One time after boot when you try to adjust media volume up an audio warning message blocks the adjustment until you acknowledge it. Very annoying. I have not found a way around this other than to not reboot. Luckily my MAXX goes for months without needing a reboot. You might also try this: http://www.dvorak.org/blog/2014/06/09/how-to-disable-android-high-volume-warning-nannyware/

= Change notification configuration to your liking =

In app version 2.12.10.1 and up when used on Android 8 and up the configuration of the notifications are handled in the OS so the "use notification icon" setting no longer does anything. Instead of that setting, just use the configuration provided by the OS to manage the notifications as you want. When A2DP Volume has an active notification, slide slowly to the right until the gear icon is shown. Then click on that gear to configure the notifications.

= My music won't start playing when commanded from Bluetooth device =

I ran into this issue myself. I use 2 different music players: Google Play and Amazon. Amazon does not know what to do if you have not played something since boot. It just sits there. Very frustrating when using the car system. The Amazon player is actually a bit crappy but I like using their cloud and I like purchasing from them. Google Play creates an "instant mix" if you command play from a Bluetooth device but have not yet selected anything to play. This is much nicer. The way I fixed this issue it I have A2DP Volume auto start Google Play Music. I don't have it start a play list but rather just have it start. It won't start playing by itself but since it is now in the foreground it sits ready to play your last play list or instant mix when you command play from the Bluetooth device. You can of course also commend a play list to start but I just don't like to use that functionality since it will always start it from the beginning.

= My music stutters when playing over Bluetooth =

This is a known issue in Android that this app corrects. Use the "disable WiFi on connect" feature in A2DP Volume. This is a check box in the edit device screen. Short click the device in the main screen of A2DP Volume to see the edit device screen. Make sure the disable WiFi on connect box is checked. Scroll to the bottom and click save.

= My Bluetooth music device won't connect when I connect to my car hands free =

A2DP Volume has a feature to auto connect another Bluetooth device when the first device connects. This can be used in several ways.

  • When you use a home dock, car dock, or audio jack you can force connect a Bluetooth device. The common use case is for car dock. When you dock your mobile device in a car dock you want to also connect an A2DP receiver. Use A2DP Volume to respond to car dock (see preferences). This will add it to the device list. Now edit the car dock device and use the also connect Bluetooth device to connect to your receiver.
  • You have a Bluetooth device that supports hands free and A2DP but it does not automatically connect to A2DP. This has been an issue with some devices. In this case use A2DP volume to also connect back to the same device. When the hands free profile connects, it will force connect A2DP.

= A2DP Volume does not always work = This can happen for several reasons.

  • If you allow automatic upgrading the app will not restart after the upgrade. You can fix this by disabling automatic upgrading in Android Market. Android Market will still notify you that upgrades are available.
  • If your device is running low on RAM it will close background apps to free up space. To help reduce the likelihood of this, use the notify in foreground feature in A2DP Volume. This will place the icon on the notification bar in Android and keep the app as a foreground app. Some don't like the icon so I made this configurable but if you choose to not use the icon, you risk the app being killed on you.
  • If you do not auto start A2DP Volume it won't be running when you forget to manually start it. Always use the start at boot feature to prevent this problem. Make sure you always install to the internal memory and NOT the SD card.
  • If you leave the preferences menu open in A2DP Volume. When you open the preferences menu it stops the background service. This is done because the service will need to load the new preferences once you are done editing them. Anytime you edit the preferences, also use the back key to save them and restart the service. Don't navigate away from the preferences screen without using the back key.

= {{{FileNotFound}}} error and no location capture = This happens if the device name contains characters that are not legal in file names. For instance: "/", "", or ":". Rename the device eliminating all of these characters. Issue 100 was launched to fix this. This was fixed in 2.7.4 and up. The illegal names are now renamed automatically.

= A2DP Volume does not start at boot =

  • Make sure you have the "start at boot" checked in the preferences.
  • Make sure you install to the device memory and NOT the SD card. The SD card is often not mounted until after boot. Apps on the SD card cannot auto start because of this. I could do like most and just force you to install to local memory but I prefer to give the users freedoms.
  • If the app is upgraded, it will not restart by itself. The next time you boot the device it will work fine.

= Can I use this app to stream music? =

Bluetooth has many protocols and profiles, the most common profile in cars being HFP (hands free). Many cars have only HFP and not A2DP. My 2010 Mercedes is that way for instance. HFP is only used for voice calls, although with some tricks you can push other streams. See more details of the various profiles here: https://en.wikipedia.org/wiki/List_of_Bluetooth_profiles

My app does not actually interact with the Bluetooth streams at all so no, it does not convert a music stream into and HFP stream (which is only mono by the way). There are apps that do this I believe but you won't like the result. Instead get an A2DP Bluetooth device and ad it to your car. There are many type available that connect to AUX ports, MMI ports, CD Changer connections, etc. You can use your cars HFP with another A2DP device at the same time (for different functions of course). My app is made for this scenario as it is common. My app will see the HFP device connect and then you can configure my app to force connect the A2DP device when this happens.