The status of Donut and HTC hero

by johnny » Mon, 31 Aug 2009 21:12:27 GMT


Sponsored Links
 Hi,

Any one knows the status of Donut. There is already leaked HTC Hero
phone. I wonder which version that Hero phone will be based.

Regards,
Johnny Xia.
--~--~---------~--~----~------------~-------~--~----~



The status of Donut and HTC hero

by Mark Murphy » Mon, 31 Aug 2009 21:15:59 GMT


 > Any one knows the status of Donut.

There are no official dates for any Android updates at this time.


"Leaked"? It is shipping in some markets. I saw one or two in Sweden last
week.


It has Android 1.5, plus the HTC Sense proprietary UI.

-- 
Mark Murphy (a Commons Guy)
 http://commonsware.com 
Android App Developer Books:  http://commonsware.com/books.html 



--~--~---------~--~----~------------~-------~--~----~


Sponsored Links


Other Threads

1. Mediarecorder: blank screen when switching from preview to recording mode.

How could I remove the blank screen that appears when switching from
preview to recording mode?

Grabador.java


protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);

        // Hide the window title.
        requestWindowFeature(Window.FEATURE_NO_TITLE);

        // Create our Preview view and set it as the content of our
activity.
        //mPreview = new Preview(this);
        //setContentView(mPreview);
        setContentView(R.layout.main);
        mPreview=(Preview)findViewById(R.id.sfvPreview);
        //mPreview.mCamera.
        Button ivCap=(Button)findViewById(R.id.ivCapturar);
        ivCap.setOnClickListener(new View.OnClickListener(){
                @Override
                public void onClick(View v) {
                        // TODO Auto-generated method stub
                    startRecord("/sdcard/video.3gp");
                }
        });

        Button ivSalir=(Button)findViewById(R.id.ivsalir);
        ivSalir.setOnClickListener(new View.OnClickListener(){
                @Override
                public void onClick(View v) {
                        // TODO Auto-generated method stub
                        stopRecorder();
                }
        });


    }
private void startRecord(String videoFile){
                recorder.setAudioSource
(MediaRecorder.AudioSource.MIC);

                recorder.setOutputFormat(MediaRecorder.OutputFormat.THREE_GPP);
                recorder.setVideoSize(176, 144); // QCIF
                recorder.setVideoFrameRate(15);
                recorder.setVideoEncoder(MediaRecorder.VideoEncoder.H263);
                recorder.setAudioEncoder(MediaRecorder.AudioEncoder.AMR_NB);

                try {
                        recorder.setOutputFile(videFile);
                        This line release de Camera object

                        mPreview.stopCameraPreview();
                        recorder.prepare();
                        recorder.start();
                        } catch (IllegalStateException e) {
                                // TODO Auto-generated catch block
                                e.printStackTrace();
                        } catch (IOException e) {
                                // TODO Auto-generated catch block
                                e.printStackTrace();
                        }
}

Preview.java
public class Preview extends SurfaceView implements
SurfaceHolder.Callback, PreviewCallback{


        private SurfaceHolder mHolder;
    private Camera mCamera;

    Preview(Context context) {
        super(context);

        // Install a SurfaceHolder.Callback so we get notified when
the
        // underlying surface is created and destroyed.

        mHolder = getHolder();
        mHolder.addCallback(this);
        mHolder.setType(SurfaceHolder.SURFACE_TYPE_PUSH_BUFFERS);

    }

    public Preview(Context context, AttributeSet attrs) {
                super(context, attrs);
                // TODO Auto-generated constructor stub

                mHolder = getHolder();
        mHolder.addCallback(this);
        mHolder.setType(SurfaceHolder.SURFACE_TYPE_PUSH_BUFFERS);

        }

    public void surfaceCreated(SurfaceHolder holder) {
        // The Surface has been created, acquire the camera and tell
it where
        // to draw.
        mCamera = Camera.open();
        mCamera.setPreviewCallback(this);
        try {
                        mCamera.setPreviewDisplay(holder);
                } catch (IOException e) {
                        // TODO Auto-generated catch block
                        e.printStackTrace();
                }
    }

    public void surfaceDestroyed(SurfaceHolder holder) {
        // Surface will be destroyed when we return, so stop the
preview.
        // Because the CameraDevice object is not a shared resource,
it's very
        // important to release it when the activity is paused.
        stopCameraPreview();
    }

    public void stopCameraPreview(){
        if(mCamera!=null){
                mCamera.stopPreview();
                mCamera.release();
        }
        mCamera = null;
    }
I've read on the documentation that a setCamera() method exists. I'm
using it but it throws an exception saying "Camera Locked".

Any help is appreciated. Thanks in advance!!!

--~--~---------~--~----~------------~-------~--~----~

2. OPHOne JIL widgets and Android

I have a question..

It appears that OPHOne has JIL web widgets..

Since OPHone is base don andorid OS has anyone started work on
supporting JIL web widget sdk/api in Android ?

Fred Grott
http://mobilebytes.wordpress.com
--~--~---------~--~----~------------~-------~--~----~

3. Modifying the built-in Alarm Clock. No way to return to the snooze/dismiss dialog.

4. Free app with paid subscriptions for "premium" content

5. ALL DEVELOPERS PIRATED APPLICATION ALL OVER!

6. ListView: invisible dividers still take up space. Is it a bug or a feature?

7. Basic Spinner question