@@ -0,0 +1,781 @@
+package com.bignerdranch.android.beatbox;%0A%0Aimport android.content.Context;%0Aimport android.content.res.AssetManager;%0Aimport android.util.Log;%0A%0Aimport java.io.IOException;%0A%0Apublic class BeatBox %7B%0A    private static final String TAG = %22BeatBox%22;%0A    private static final String SOUNDS_FOLDER = %22sample_sounds%22;%0A%0A    private AssetManager mAssetsManager;%0A%0A    public BeatBox(Context context) %7B%0A        mAssetsManager = context.getAssets();%0A        loadSounds();%0A    %7D%0A%0A    private void loadSounds() %7B%0A        String%5B%5D soundNames;%0A        try %7B%0A            soundNames = mAssetsManager.list(SOUNDS_FOLDER);%0A            Log.i(TAG, %22Found %22 + soundNames.length + %22 sounds%22);%0A        %7D%0A        catch (IOException ioe) %7B%0A            Log.e(TAG, %22Couldn't list assets%22, ioe);%0A        %7D%0A    %7D%0A%7D%0A

Create class BeatBox to manager the assets