I remember getting goofed up with this.
Notice the "Lock" icon. You need to drag it to the right hand side to "unlock" the phone. If coded correctly, you will see your app there
The android emulator screenshot you provided. At the bottom you can see two icons. One is the "lock". The second is the "volume". Slide the lock icon to the right using your mouse to unlock the phone
As Maneesh told drag it to the right hand side to "unlock" the phone. After unlocking phone you can see the output. Or you can press Menu button to unlock the phone.
And what you had posted is not Logcat output it is consol output. To see console output click on DDMS which is located at top right of eclipse.
Life is easy because we write the source code.....
Ok. Do one thing on the top right side of eclipse there is icon of "open perspective" (to the just left of Java) Click on that. Then select DDMS. Then If device contain your emulator name then click on that (just one click) If focus come on that then again look at Logcat you will get Logcat output.
To go to the .java files then click on Java (again top right of eclipse )
Life is easy because we write the source code.....
Using logcat output you can trace flow of your application by inserting System.out.println (""); statement.
Try inserting some statement in onCreate () method and in some other method. so you know that first onCreate statement execute first when you run your application. You can also use it for checking variables value at runtime.
Life is easy because we write the source code.....
Hey, sticks and stones baby. And maybe a wee mention of my stuff:
The Low Tech Laboratory Movie Kickstarter is LIVE NOW!