Thanks Sunit. I got it. I was doing setTag() instead of setText(). On Thu, Nov 6, 2008 at 7:29 PM, Sunit Katkar <[EMAIL PROTECTED]> wrote:
> Seems to be nothing wrong... > The Hello Word application just prints Hello on the top. So I think your > application is running. Try changing the string to something else like "Hi > There" and try. > > > > On Thu, Nov 6, 2008 at 4:19 PM, Vishal Srivastava <[EMAIL PROTECTED]>wrote: > >> Hi Sunit, >> Yes, I waited for a long time. This is what comes up >> 1. android... (at launch) >> 2. Animated ANDROID and android logo >> 3. Screen with following - Android, charging, Current Time, Screen >> Locked(Press Menu to Unlock) >> 4. On click of "Menu" - "Process com.android.phone is not responding". 2 >> buttons with "Force Close" and "Wait" >> 5. On click of "Wait" - Blank Black Screen, with icons like bluetoth and >> time and "Hello" displayed on top >> >> Starting: Intent { comp={com.test/com.test.HelloWorld} } comes on the >> console. >> Below is the entire console content. >> >> Thanks in advance. I cannot wait to do stuff with this. But my problem is >> a total show stopper. Any help is appreciated. >> >> [2008-11-06 19:16:58 - AndroidTest] ------------------------------ >> [2008-11-06 19:16:58 - AndroidTest] Android Launch! >> [2008-11-06 19:16:58 - AndroidTest] adb is running normally. >> [2008-11-06 19:16:58 - AndroidTest] No activity specified! Getting the >> launcher activity. >> [2008-11-06 19:16:58 - AndroidTest] Launching: com.test.HelloWorld >> [2008-11-06 19:16:58 - AndroidTest] Automatic Target Mode: launching new >> emulator. >> [2008-11-06 19:16:58 - AndroidTest] Launching a new emulator. >> [2008-11-06 19:16:59 - AndroidTest] New emulator found: emulator-5554 >> [2008-11-06 19:16:59 - AndroidTest] Waiting for HOME >> ('android.process.acore') to be launched... >> [2008-11-06 19:17:21 - AndroidTest] HOME is up on device 'emulator-5554' >> [2008-11-06 19:17:21 - AndroidTest] Uploading AndroidTest.apk onto device >> 'emulator-5554' >> [2008-11-06 19:17:22 - AndroidTest] Installing AndroidTest.apk... >> [2008-11-06 19:17:32 - AndroidTest] Application already exists. Attempting >> to re-install instead... >> [2008-11-06 19:17:35 - AndroidTest] Success! >> [2008-11-06 19:17:36 - AndroidTest] Starting activity com.test.HelloWorld >> on device >> [2008-11-06 19:17:39 - AndroidTest] ActivityManager: Starting: Intent { >> comp={com.test/com.test.HelloWorld} } >> >> Regards, >> Vishal >> >> >> On Wed, Nov 5, 2008 at 11:50 PM, Sunit Katkar <[EMAIL PROTECTED]>wrote: >> >>> Did you wait quite some time before you could see your app? >>> The reason I ask you this is because when you start the emulator for the >>> first time in your session from Eclipse, it takes quite some time for the >>> emulator to finish loading up and starting your application. >>> >>> Look in your Eclipse console, it should say 'Starting intent com.ex... ' >>> >>> - Sunit Katkar >>> http://www.vidyut.com/sunit/android/ - Android OS Tutorials >>> >>> >>> On Wed, Nov 5, 2008 at 7:13 PM, Vishal <[EMAIL PROTECTED]> wrote: >>> >>>> >>>> Hi, I am totally new to android. I followed the instructions on google >>>> and had the application running. However, when I started with "Hello >>>> world", my changes would not reflect on the emulator. When the >>>> emulator comes up, it just shows "Android". Below is the simple code >>>> that I am trying to run. >>>> >>>> public void onCreate(Bundle savedInstanceState) { >>>> super.onCreate(savedInstanceState); >>>> TextView tv = new TextView(this); >>>> tv.setTag("Hello World"); >>>> setContentView(tv); >>>> /**setContentView(R.layout.main);**/ >>>> } >>>> >>>> >>>> >>> >>> >>> -- >>> - Sunit Katkar >>> >>> >>> >>> >>> >> >> >> > > > -- > - Sunit Katkar > > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~----------~----~----~----~------~----~------~--~---