Unable to run Hello world app in Eclipse

by Mani » Fri, 20 May 2011 09:30:40 GMT


Sponsored Links
 Hi,

I am using Eclipse 3.6. I have downloaded the android sdk 3.0 and
integrated it with eclipse. I have also configured ADT in eclipse.
When i run the HelloWorld file using AVD manager. The AVD manager gets
started but It is very very slow and the text which i have sysout is
not getting displayed even after 1hr. Please help me in resolving this
issue.

-- 



Other Threads

1. Applying round corners to image in a image view

found the answer if anyone interested

http://www.ruibm.com/?p=184

  public static Bitmap getRoundedCornerBitmap(Bitmap bitmap) {
    Bitmap output = Bitmap.createBitmap(bitmap.getWidth(),
        bitmap.getHeight(), Config.ARGB_8888);
    Canvas canvas = new Canvas(output);

    final int color = 0xff424242;
    final Paint paint = new Paint();
    final Rect rect = new Rect(0, 0, bitmap.getWidth(), bitmap.getHeight());
    final RectF rectF = new RectF(rect);
    final float roundPx = 12;

    paint.setAntiAlias(true);
    canvas.drawARGB(0, 0, 0, 0);
    paint.setColor(color);
    canvas.drawRoundRect(rectF, roundPx, roundPx, paint);

    paint.setXfermode(new PorterDuffXfermode(Mode.SRC_IN));
    canvas.drawBitmap(bitmap, rect, rect, paint);

    return output;
  }







-- 

2. Download a file from a URL extremely slow, am I doing it right?



I wouldn't expect it to. But, since I'm not an Eclipse user and don't
set that flag, I'm certainly not an expert on the subject. :-)

Some other things to consider:

-- You're on WiFi, right?

-- Does the Browser application behave similarly sluggishly?

-- Have you tried this in an emulator image?

-- 
Mark Murphy (a Commons Guy)
 http://www.***.com/  |  http://www.***.com/ 

Android Training in NYC: 10-11 April 2010:  http://www.***.com/ 

-- 

3. Sprint 4G Evo phone

4. Download a file from a URL extremely slow, am I doing it right?

5. Apps not shown in 2.1 Market

6. Being legally harassed, by a large iPhone developer

7. Is this the limitation of Intent.ACTION_SEND