This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Hi, I have just start to develop android, and I just cannot start my Hello World application.
I have followed instructions about android installation, I have changed several Eclipse IDE's, but still, when I press f11 to compile, it 'does' some job int he background, activate my virtual device, but wont to behave just as it should!
Only " Android . . . " is displayed on the screen, which mean that my class isn't 'loaded', somehow.
This is sample class :
And, also main.xml file, which reflect contains xml representation of display window :
then, strings.xml :
and default.properties file :
Just as I said, I did install everything I needed (SDK, ADT plugin, etc...), but it still wont work
I appreciate any help!
It takes only a few seconds, and emulator appears, displaying - "ANDROID_" (where underscore continuously blink). Emulator doesn't respond to any button pressing.
Now I am downloading MOTODEV IDE, to try it.
Just as I said, I have downloaded several Eclipse distribution, and permute at any way I could (SDK version, different emulators,etc..) but it wond work
Joined: Sep 26, 2008
I have downloaded MOTODEV, but the behavior is the same.. I just do not understand....
sounds like a problem with the virtual device and not necessarily the application.
Have you tried creating a new one to test the app?
Joined: Sep 26, 2008
It breakthrough somehow!
Do not how, but it starts working...I was messing with various type of emulators, and it works (just need to figure out what tpe of emulator I chose, because I tried every )
Thanks for your time and patience...
I've found similar behaviour, sometimes I can load up my application, sometimes I can't
One thing I will suggest, is don't rely on F11 to run it. Its best (in my experience) to right click your project and select "Run as Android", as when I used F11 Eclipse was trying to do something else