How to Submit patches?

by vikram » Thu, 08 Jul 2010 02:34:12 GMT


Sponsored Links
 Hi i want to send few patches for issues reported,
what is the procedure to send patches for any issues ?
For example i want to provide fix for issue: 9584

Thanks
Vikram

--



How to Submit patches?

by Mark Murphy » Thu, 08 Jul 2010 02:59:34 GMT


Other Threads

1. Can't get access to email accounts

Hi all - I am trying to simply get a count of registered email
accounts.  But it keeps coming back 0, even though I have setup 2
accounts.  The Log entry below indeed shows I'm getting back an
accountUuids string of null.   Here's the code I'm using (anyone see
an obvious problem?):


     int numAccounts;
       Preferences prefs;


        prefs = Preferences.getPreferences(ctx);
        accounts = prefs.getAccounts();


        numAccounts = accounts.length;
        Toast.makeText(ctx, "da num accts = " + numAccounts,
Toast.LENGTH_SHORT).show();
..........

public class Preferences {
    private static Preferences preferences;

    SharedPreferences mSharedPreferences;

    private Preferences(Context context) {
        mSharedPreferences = context.getSharedPreferences
("AndroidMail.Main", Context.MODE_PRIVATE);
    }


    public static synchronized Preferences getPreferences(Context
context) {
        if (preferences == null) {
            preferences = new Preferences(context);
        }
        return preferences;
    }

    /**
     * Returns an array of the accounts on the system. If no accounts
are
     * registered the method returns an empty array.
     *
     * @return
     */
    public Account[] getAccounts() {
        String accountUuids = mSharedPreferences.getString
("accountUuids", null);

         Log.i("westal", "prefs uuids = " + accountUuids);

        if (accountUuids == null || accountUuids.length() == 0) {
            return new Account[] {};
        }
        String[] uuids = accountUuids.split(",");
        Account[] accounts = new Account[uuids.length];
        for (int i = 0, length = uuids.length; i < length; i++) {
            accounts[i] = new Account(this, uuids[i]);
        }
        return accounts;
    }

-- 

2. midi to pcm convertors?

any tips as to the midi to pcm convertors? I have been looking for one
and found none. I understand the the AudioTrack takes pcm format only?
Is it the case?

-- 

3. Camera - Icon image resource for 'take picture' button?

4. Andoird x86 eclair build error with unrecognized command line option "-Wno-psabi"

5. onKeyUp in 2.0

6. How can my view access mScrollX and mScrollY in computeScroll method?

7. AudioTrack::start called from thread