public class BitmapActivity extends Activity {
    /** Called when the activity is first created. */
    
        @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
    }
}

private static class Chess extends View
{
        public Chess(Context context)
        {
                super(context);
        }
        
        @Override
        protected void onDraw(Canvas canvas)
        {
                Paint mPaint = new Paint(Paint.ANTI_ALIAS_FLAG);
            Typeface mType = Typeface.createFromAsset(getResources().getAssets(), \"fonts/chess1.ttf\");
            
            mPaint.setTextSize(16);
            mPaint.setTypeface(mType);
            
            canvas.drawText(\"QQQQ\", 20, 20, mPaint);
        }
}

1.  Chess 는 Illegal modifier for the class \'Chess\', only public, abstract & final are permitted

2. Context는 Context can\'t be resolved to a type 

이렇게 뜨는데 대충 1번은 chess 클래스는 퍼블릭이나 가상화나 파이널로만 해야 허락 된다 이런 소리 가꼬

2 번은 나도 감을 못잡겠다;; 도와줘.. 에러 ;; ㅠㅠ 

-----------------------

그리고 저거 보면 대충 내가 뭐에 대해서 지식이 없는지 감이 올꺼 아녀 ex ( 병신새끼가 context 개념도 없네 이러면서 ㅇㅇ )

그것좀 말해줘 검색 해보게 고마워 봐줘서 ㅇㅇ