Why is this activity not starting?
<p>I am new to android development. I have an activity which is not even getting to its <code>onCreate()</code> function. I am using some 'Log.d's to check flow of control, and no Log.d inside the <code>onCreate</code> is getting executed at runtime. What am I doing wrong? The starting part of the class is below:</p>

<pre><code> public class MainActivityap extends Activity
    implements IMediaPlayerServiceClient {
    private StatefulMediaPlayer mMediaPlayer;

    private StreamStation mSelectedStream = new StreamStation("","http://nbc.com/154.mp3");
    private MediaPlayerService mService;
    private boolean mBound;

    private ProgressDialog mProgressDialog;

    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        Log.d("msg", "msg0");
        super.onCreate(savedInstanceState);
        Log.d("msg", "msg1");
        setContentView(R.layout.main);
        Log.d("msg", "msg2");
        bindToService();
        Log.d("msg", "msg3");
        mProgressDialog = new ProgressDialog(this);
        Log.d("msg", "msg4");
        initializeButtons();
        setupStationPicker();
    }.....
</code></pre>
