Check your AndroidManifest.xml file for the activity tag that
corresponds to the BitmapAndroid Activity.

http://developer.android.com/guide/topics/manifest/activity-element.html

Balwinder Kaur
Open Source Development Center
·T· · ·Mobile· stick together

The views, opinions and statements in this email are those of the
author solely in their individual capacity, and do not necessarily
represent those of T-Mobile USA, Inc.

On Jul 29, 11:26 pm, deepthi <[email protected]> wrote:
> hi , I am a beginner in developing android applications . For
> starters , I want to wrote a code just to display a coloured circle
> onscreen. but the emulator says The specified activity does not
> exist .
> can anyone check this code for me and suggest changes ?
>
> package com.bitmap.android;
>
> import android.app.Activity;
> import android.os.Bundle;
> import android.widget.*;
> import android.graphics.Canvas;
> import android.graphics.Color;
> import android.graphics.Paint;
> import android.view.View;
>
> public class BitmapAndroid extends Activity {
>     /** Called when the activity is first created. */
>     @Override
>     public void onCreate(Bundle savedInstanceState) {
>         super.onCreate(savedInstanceState);
>         setContentView(R.layout.main);
>         int x = 10;
>         int y = 10;
>         int r = 4;
>         Paint mPaint = new Paint();
>         mPaint.setColor(0xFF0000);
>         Canvas mCanvas = new Canvas();
>         mCanvas.drawCircle(x,y,r,mPaint);
>
>     }
>
> }
>
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to