Issue tracker and errors in pages

by Andrea D'Amore » Fri, 20 May 2011 03:44:21 GMT


Sponsored Links
 Hello,
the Android project's issue tracker on Google Code [1] says it's only
for user bugs, is this group the right place to request corrections
for errors on AOSP's website pages?


Regards

--
Andrea


[1]  http://code.google.com/p/android/issues/entry 


-- 
.



Other Threads

1. Status bar expanded dialog and Search dialog will not cover entire screen in 1.6r1?

Status bar expanded dialog and Search dialog will not cover the entire
screen if we are running the emulator with 480x800 skin with default
dpi (160)?. But other applications runs in full screen.

But running with skin WVGA800 (or HVGA or WVGA854) displays both
status bar expanded and search dialog correctly. Am I missing
somethings here? or is it the expected behavior?. How can I make it
cover entire screen?

// Thanks
// TG

-- 
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: 

2. play video encounter PV SW DECODER IS USED FOR MPEG4

I wrote a media player for playing video, but it encounter an error of
PV SW DECODER IS USED FOR MPEG4 when I try to play back a 3gp format
video, anyone knows what is it? How to solve this problem? I paste my
code below:

package com.test;


import android.app.Activity;
import android.content.Intent;
import android.content.res.AssetFileDescriptor;
import android.media.AudioManager;
import android.media.MediaPlayer;
import android.os.Bundle;
import android.util.Log;
import android.view.SurfaceHolder;
import android.view.SurfaceView;

public class MediaVideoTest extends Activity implements
MediaPlayer.OnPreparedListener,MediaPlayer.OnCompletionListener,SurfaceHolder.Callback
{

        private static final String TAG = "MediaVideoTest";
        private MediaPlayer player;
        private SurfaceHolder holder;
        private SurfaceView surfaceView;
        private int mWidth,mHeight;


        @Override
        protected void onCreate(Bundle savedInstanceState) {

                super.onCreate(savedInstanceState);
                setContentView(R.layout.video_view);
                surfaceView = (SurfaceView) findViewById(R.id.surfaceView);
                holder = surfaceView.getHolder();
        holder.addCallback(this);
        holder.setType(SurfaceHolder.SURFACE_TYPE_PUSH_BUFFERS);

        }

        private void playVideo() {

                try {
                        AssetFileDescriptor asd = 
getResources().openRawResourceFd
(R.raw.chainsaw);

                        //create media player
                        player = new MediaPlayer();
                        
player.setDataSource(asd.getFileDescriptor(),asd.getStartOffset
(),asd.getLength());
                        player.setDisplay(holder);
                        player.prepare();
                        player.setOnPreparedListener(this);
                        player.setOnCompletionListener(this);
            player.setAudioStreamType(AudioManager.STREAM_MUSIC);

                } catch (Exception e) {
            Log.e(TAG, "error: " + e.getMessage(), e);
                }
        }

        @Override
        public void onPrepared(MediaPlayer mp) {
        Log.d(TAG, "onPrepared called");
                mWidth = player.getVideoWidth();
                mHeight = player.getVideoHeight();
                Log.d(TAG, "width : " + mWidth + " height : " + mHeight);

                if(mWidth != 0 && mHeight != 0){
                        holder.setFixedSize(mWidth, mHeight);
                        player.start();
                }
        }

        @Override
        public void surfaceChanged(SurfaceHolder holder, int format, int
width,int height) {
        Log.d(TAG, "surfaceChanged width : " + width + " height : " +
height);
        }

        @Override
        public void surfaceCreated(SurfaceHolder holder) {
        Log.d(TAG, "surfaceCreated() is called");
                playVideo();
        }

        @Override
        public void surfaceDestroyed(SurfaceHolder holder) {
        Log.d(TAG, "surfaceDestroy() is called");
        }

        @Override
        protected void onDestroy() {
                super.onDestroy();
                if(player != null){
                        player.release();
                        player = null;
                }
        }

        @Override
        public void onCompletion(MediaPlayer mp) {

                if(player != null){
                        player.release();
                        player = null;
                }

                //close this activity;
                finish();

                //go back to the main menu
                Intent intent = new Intent(this,MediaTest.class);
                startActivity(intent);

        }
}

-- 

3. building 1.6 for a cdma device

4. Layar agak buram

5. How to move homescreen focus to specific widget?

6. The application android has stopped unexpectedly

7. Droid / Android 2.0 OpenGL Configuration Issue