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
configured."
Any suggestions?
Thanks!

--~--~---------~--~----~------------~-------~--~----~



Hello world problems

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


 Hi
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?

Thanks!

--~--~---------~--~----~------------~-------~--~----~


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
application.....

Thanks!!!

--~--~---------~--~----~------------~-------~--~----~



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.

Bye






-- 
Frntz Miccoli
+336.70.92.76.16
[EMAIL PROTECTED]

--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. Android Camera Picture Taking Problem

dear experts,


using following code to use camera to take photo and then display it
in imageview to another activity.

now problem i am facing is
this code behaves differently in different firmwares and phones

for example
1) it works fine on HTC hero with 2.1
2) it gives null pointer exception on Galaxy S with 2.1 (while getting
bm = (Bitmap)data.getExtras().get("data")
3) it opens camera in nexus one but after taking picture when i press
ok button camera is not closed and it does not return to my
application
4) same case with emulator after taking picture pressing ok button
does not return to activity result.


string  _path = Environment.getExternalStorageDirectory() + "/images/
make_machine_example.png";
Uri selectedImage;

    protected void startCameraActivity()
            {

                File file = new File( _path );
                Uri outputFileUri = Uri.fromFile( file );

                Intent intent = new
Intent(android.provider.MediaStore.ACTION_IMAGE_CAPTURE );
                intent.putExtra( MediaStore.EXTRA_OUTPUT,
outputFileUri );

                startActivityForResult( intent,0);

            }

            @Override
            protected void onActivityResult(int requestCode, int
resultCode, Intent data)
            {


                switch( resultCode )
                {
                    case 0:
                        Log.i( "MakeMachine", "User cancelled" );
                        break;
                    case -1:
                        bm = (Bitmap)data.getExtras().get("data")
                        onPhotoTaken();
                        break;
                }
            }

protected void onPhotoTaken()
            {



                 Bitmap bitmap =bm;


Intent myIntent = new Intent(ActivityA.this, DisplayTakenPhoto.class);
            myIntent.putExtra("ImageBitmap",bitmap);
            startActivity(myIntent);

            }

what mistake am i doing in this?
any help would be appreciated

-- 

2. Always getting java.lang.VerifyError on 1.6 but fine on 2.1 and 2.2

Hi,

I have an app that runs perfect on 2.2 and 2.2 but always getting
VerifyError on 1.6 while startup, I don't think that my app cannot run under
1.6 because I don't call any APIs that don't support 1.6.

I'm really confused, does anybody has the same issue? How do you solve this
problem?

Thanks,

Alex

-- 

3. Comment calculer les puissances sur Google ?

4. Possible Solution for ADB Device Off-line

5. Develop Android Community in Vietnam

6. Tracing service method calls?

7. transparent overlay on Surface View not working for APIs 4+?