Hello world problems

by amitshetty » Thu, 26 Jun 2008 23:54:06 GMT

Sponsored Links
 I am embarrassed to be posting this here, but I cant figure it out...
Am trying Android for the first time. Installed Eclipse 3.4.0,
installed the plugins, unzipped the sdk and followed instructions to
create the hello world app. Ran the Android app. The emulator fires
up, but nothing on the screen other than the message "Android" in the
middle of the phone screen. I could swear I see a dos window pop up
for a split second, but I couldn't read it...
I tried going to the DDMS view, and "Reset adb", but that results in
the message "ADB failed to re-start make sure the plugin is propelry
Any suggestions?


Hello world problems

by Alfredo Gonzalez » Fri, 27 Jun 2008 03:41:51 GMT

I have tried to create my first hello world with Android but when it
initiates the emulator comes a text that said Android and then a red
light from one side to another and not run my application .... that
may be?



Sponsored Links

Hello world problems

by Alfredo Gonzalez » Fri, 27 Jun 2008 03:41:55 GMT

 The same problem...when i ran the emulator shows a console window with
the text "ping sent out" after the emulator don't run the



Hello world problems

by Fr盲ntz Miccoli » Fri, 27 Jun 2008 03:42:06 GMT

 First you should post into the android beginners group, you are in the
developpers one. Then have you parameters your plugin by registering the sdk
files in Eclipse/Window/preferences/android.


Frntz Miccoli


Other Threads

1. 2D shooting game problem

Hello everybody,

I've been playing with the LunarLander example and tried to make my own
thing out of it...

On the right bottom screen, I've got a tank that is not moving and his
turret that's moving up and down. It's supposed to shoot missiles at
different angles.

I've got a tank, turret and a bullet and they are a Bitmap image.

private Bitmap tank;
private Bitmap turret;
private Bitmap bullet;

Turret only rotates from angle 0 to angle 75, and I did that with the

I managed to get the turret moving but now I'm finding it hard to shoot

*doDraw method*
private void doDraw(Canvas canvas) {

         canvas.drawBitmap(backgroundImage, 0, 0, null);

         canvas.drawBitmap(tank, x_tank, y_tank, new Paint());

//Rotating the turret
         canvas.rotate((float) mHeading, (float) x_turret + mTurretWidth,

         canvas.drawBitmap(turret, x_turret, y_turret, new Paint());

??? what should I write here for the bullet to be seen shooting out of that


*Update method*
private void updateGame() {

            long now = System.currentTimeMillis();

            if (mLastTime > now)
            double elapsed = (now - mLastTime) / 1000.0;

            if (dUp) // UP key
             mHeading += 1 * (PHYS_SLEW_SEC * elapsed);

            if (mHeading >= 75) mHeading = 75;

            if (dDown) // DOWN key
              mHeading += (-1) * (PHYS_SLEW_SEC * elapsed);
         if (mHeading < 0) mHeading = 0;

f (dSpace){

         // Fire bullet SPACE key
                        ??? what should I write here for the bullet to be
seen shooting out of that turret
                         ??? When is the method doDraw being called??


LastTime = now;


Thank you so much guys,




2. AlarmManager with alarm icon

I'm setting wake up alarms for a custom app using
AlarmManager.set(....). This correctly registers an "alarm" and the
app is launched at the desired time. It doesn't however give a visual
alarm indicator in the notification bar (RIGHT hand side, next to the
time). How do I set this?

I have seen 3rd party alarm apps which trigger this icon to display.
They also cause a toast along the lines of "Alarm scheduled for x
hours from now", which may be part of the process. Obviously it's
quite easy to generate that toast manually, but I'm wondering if that
is integrated too?



3. Class not found when unmarshalling

4. Android Accelerometer Alert

5. Accessing /udisk

6. Priority of application/services in use of wifi

7. DevicePolicyManager and wipeData()