Anyone here use the android emulator?

Caporegime
Joined
12 Mar 2004
Posts
29,962
Location
England
Does anyone find googles android emulator incredibly slow? I've found it easier just to buy an Android phone and run the application I'm developing on that.
 
Yes just started, very slow indeed to start. What's the best way to test apps with this? Run the emulator and then choose run in Eclipse every time you make a change, or close the emulator every time?
 
Assuming that you can get it to run without it going into an endless startup loop, ie once in a blue moon, you're just supposed to run the application from eclipse when you make changes.

I think I'm just going to give up with this and use the dev phone instead.
 
Does anyone know why I only get audio playback here? I'm not used to dealing with all this xml nonsense in java.

Code:
package video.VideoRater;

import android.app.Activity;
import android.view.SurfaceView;
import android.widget.*;
import android.media.MediaPlayer;
import android.os.Bundle;

public class VideoRater extends Activity {

    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        SurfaceView sf = new SurfaceView(this);
        setContentView(sf);
        
        MediaPlayer mp = MediaPlayer.create(getApplicationContext(), R.raw.video1);
        mp.start();
    }
}
 
Last edited:
I've reworked it and now it just says "video can't be played". Programming in assembly language is easier than trying to develop for this pos.
 
I'd look at using the VideoView control, rather than using a SurfaceView, and attaching the MediaPlayer - that worked out better for me, I could only get Audio with the MediaPlayer - but when I used the VideoView, it played first time,
 
Back
Top Bottom