New mailing list for Android Audio Developers

by Olivier Guilyardi » Mon, 17 Jan 2011 16:32:19 GMT

Sponsored Links
 Hi everyone!

I am glad to announce the creation of the andraudio mailing list, dedicated to
audio development on Android, at:

More info and subscribing: 

This list is meant to be a place to discuss about audio development, in the
context of music and sound applications, but also games and other apps which use
audio on Android.

Discussions and questions about both Java and native APIs are welcome.

In addition to application-level topics, we are interested in discussing about
Android audio system internals, for educational purposes, as well as finding new
ways to work with sound on Android.

So please come and join us if audio development on Android interests you.



Re: New mailing list for Android Audio Developers

by Martin Jernberg » Sun, 23 Jan 2011 07:36:28 GMT

 joined that mailinglist, as me thinks this is fun :)


Sponsored Links

Other Threads

1. Retreiving Preferences

I am using a CountDownTimer which is set by a alarm_delay_keys value:

public void arming() {
        // changing system_state textview
        tvSystemState = (TextView) findViewById(;
        // starting countdown
        settings = getPrefs();
        seconds = Integer.parseInt(settings.getString("alarm_delay_keys",
        alarmDelay = seconds * 1000;
        CountDown counter = new CountDown(alarmDelay,1000);

public SharedPreferences getPrefs() {
//      PreferenceManager pm = pa.getPreferenceManager();
//      settings = pm.getSharedPreferences();
//      settings = this.getPreferences(0);
//      settings = PreferenceManager.getDefaultSharedPreferences(this);
        settings = PreferenceManager.getDefaultSharedPreferences
        return settings;

public class CountDown extends CountDownTimer {
        private TextView tvCountDown = (TextView) findViewById
        private TextView tvSystemState = (TextView) findViewById

        public CountDown(long millisInFuture, long countDownInterval) {
                super(millisInFuture, countDownInterval);

        public void onFinish() {

        public void onTick(long millisUntilFinished) {
                tvCountDown.setText(millisUntilFinished/1000 + " seconds until


Here's a snippet of the res/values/arrays.xml:

        <string-array name="alarm_delay_keys">
                <item>15 seconds</item>
                <item>30 seconds</item>
                <item>1 minute</item>
                <item>5 minutes</item>
                <item>15 minutes</item>
        <string-array name="alarm_delay_values">

and the snippet from res/xml/preferences.xml:

                        android:title="Alarm Delay"
                        android:summary="Click to change the alarm delay"
                        android:dialogTitle="Choose your alarm delay\n(default 
is 1

If I change the value in the options menu, the radio gets set to the
correct value. The timer works, but keeps using the default value of
30 no matter what I set the value to in the options menu.

I assume this means I am not retreiving the preferences, since the
default value is set at:
        seconds = Integer.parseInt(settings.getString("alarm_delay_keys",

As you can see above, I tried several variations for calling
PreferenceManager, but these did not make a difference.


2. Communication over USB with Program on Computer

Goal: Send Data from the phone to the computer (and the other way)
using only the USB cable. We need this to synchronize data between the
a program on the android phone and a program on the computer. Over
Wifi is not an option. It has to work over the USB cable.

We need this for a university project and would be glad if anyone
could enlighten us on this matter.

Thank you already for the help.

Patrick Boos


3. build android-msm-2.6.27 and met an error

4. possible leak in orientation change?

5. Virtual keyboard obscures EditText

6. ArrayAdapter.add() within a TimerTask

7. problem sending email programaticaly, find to and subject fields empty.