Monday, April 30, 2012

Re: [android-developers] public variables

ok..i have other question...i make code

if (AppSettings.playSounds)
{;   //////////play is a  another class which i what to start music what i input in play-class

import android.content.Context;
import android.os.Bundle;
import android.view.View;

public class play extends Activity{
    public static Context context;
    public static MediaPlayer mp=MediaPlayer.create(context, R.drawable.klik);


and shows an error..I can not recognize errorfrom logcat...What iam doing wrong?

You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to
To unsubscribe from this group, send email to
For more options, visit this group at

No comments:

Post a Comment