Hello World Emulator Issue

by Structure » Tue, 11 Aug 2009 08:50:19 GMT


Sponsored Links
 I'm starting out in Android developing but I can't seem to even get
the very first Hello World tutorial to run. I've followed the
instructions at  http://developer.android.com/guide/tutorials/hello-world.html. 
When I run the application from within eclipse the emulator starts up
fine and eventually I get to the home screen but my application
doesn't start.
There's no errors in the output:
[2009-08-10 17:41:07 - Hello] Android Launch!
[2009-08-10 17:41:07 - Hello] adb is running normally.
[2009-08-10 17:41:07 - Hello] Performing
com.android.helloandroid.HelloAndroid activity launch
[2009-08-10 17:41:07 - Hello] Automatic Target Mode: launching new
emulator with compatible AVD 'my_avd'
[2009-08-10 17:41:07 - Hello] Launching a new emulator with Virtual
Device 'my_avd'

I did a search for this issue and it seems to have come up a few times
but there were no resolutions.
I'm on Vista 32bit. Any help would be appreciated.

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



Hello World Emulator Issue

by Roman » Tue, 11 Aug 2009 11:37:19 GMT


 Use the TaskManager on Windows to find out whether another emulator
process is running. If so kill the process and restart the emulator.

--
Roman Baumgaertner
Sr. SW Engineer-OSDC
T  Mobile stick together
The views, opinions and statements in this email are those of the
author solely in their individual capacity, and do not necessarily
represent those of T-Mobile USA, Inc.



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


Sponsored Links


Hello World Emulator Issue

by Structure » Tue, 11 Aug 2009 11:48:15 GMT


 Still no luck. There's no extra emulator process running. I restarted
my computer to make absolutely sure and still no go.
Any other ideas?




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



Hello World Emulator Issue

by Structure » Thu, 13 Aug 2009 09:05:35 GMT


 So, no resolution this time either?





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



Hello World Emulator Issue

by Roman ( T-Mobile USA) » Thu, 13 Aug 2009 10:58:21 GMT


 an you see whether your application is uploaded to the emulator? You
should see something like this

[2009-08-12 19:53:12 - Test3] Waiting for HOME
('android.process.acore') to be launched...
[2009-08-12 19:53:13 - Emulator] 2009-08-12 19:53:13.704 emulator
[22750:10b] Warning once: This application, or a library it uses, is
using NSQuickDrawView, which has been deprecated. Apps should cease
use of QuickDraw and move to Quartz.
[2009-08-12 19:54:19 - Test3] HOME is up on device 'emulator-5554'
[2009-08-12 19:54:19 - Test3] Uploading Test3.apk onto device
'emulator-5554'
[2009-08-12 19:54:19 - Test3] Installing Test3.apk...
[2009-08-12 19:54:30 - Test3] Success!
[2009-08-12 19:54:30 - Test3] Starting activity com.test.test on
device
[2009-08-12 19:54:32 - Test3] ActivityManager: Starting: Intent { comp=
{com.test/com.test.test} }

If not let me know what you can see in your console window.

If you are able to successfully start the emulator you could try to
use adb install to install your application manually. Any luck with
this?

--
Roman Baumgaertner
Sr. SW Engineer-OSDC
T Mobile stick together
The views, opinions and statements in this email are those of the
author solely in their individual capacity, and do not necessarily
represent those of T-Mobile USA, Inc.

On Aug 12, 6:05pm, Structure <stmb...@gmail.com> wrote:
--~--~---------~--~----~------------~-------~--~----~



Hello World Emulator Issue

by Christian Grasser » Sun, 13 Sep 2009 05:02:05 GMT


 I have the same problem!
Emulator is starting and no Hello World is running :-(

i don't see anything like this: Waiting for HOME

My output:
[2009-09-11 13:17:10 - HelloAndroid] ------------------------------
[2009-09-11 13:17:10 - HelloAndroid] Android Launch!
[2009-09-11 13:17:10 - HelloAndroid] adb is running normally.
[2009-09-11 13:17:10 - HelloAndroid] Performing
com.example.helloandroid.HelloAndroid activity launch
[2009-09-11 13:17:10 - HelloAndroid] Automatic Target Mode: launching
new emulator with compatible AVD 'my_avd'
[2009-09-11 13:17:10 - HelloAndroid] Launching a new emulator with
Virtual Device 'my_avd'

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



Hello World Emulator Issue

by infero » Tue, 15 Sep 2009 01:45:48 GMT


 Hi Christian,

I had the same problem. I searched every menu item to see if I had to
show/enable another window or what ever. I finaly found out that my
mobile phone was connected through the USB cable and the application
ran there - instead of in the emulator....

HTH

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



Hello World Emulator Issue

by Ankit » Mon, 26 Oct 2009 16:13:41 GMT


 [2009-10-25 22:03:45 - HelloAndroid]Android Launch!
[2009-10-25 22:03:45 - HelloAndroid]adb is running normally.
[2009-10-25 22:03:45 - HelloAndroid]Performing
com.example.helloandroid.HelloAndroid activity launch
[2009-10-25 22:03:45 - HelloAndroid]Automatic Target Mode: launching
new emulator with compatible AVD 'my_avd'
[2009-10-25 22:03:45 - HelloAndroid]Launching a new emulator with
Virtual Device 'my_avd'
[2009-10-25 22:03:45 - HelloAndroid]New emulator found: emulator-5554
[2009-10-25 22:03:45 - HelloAndroid]Waiting for HOME
('android.process.acore') to be launched...


me facing the same problem. If there is no solution to this, I would
have no choice but to drop the idea of learning android platform... I
am using Win 7 RC, eclipse 3.5.1 and android sdk v1.6_r1

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



Hello World Emulator Issue

by eric man » Thu, 29 Oct 2009 14:43:09 GMT


 I guess you all that started this post have already found the problem!
Im writing this for some other ppl that might want to check the same
issue!\

The problem is that you should wait at least 2 to 5 min till you get
to see you appi running, even that the emulator start right away!

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



Other Threads

1. android background application

Hello. i need to make an application that runs a thread on the
background of andorid (it will be used as a worker thread in a
distributed system).
What i actualy want to do is make a little app that has a start,stop
and hide button.
the start button will start the worker thread and the stop button will
stop it. The hide button will put the window in the background
(showing the main menu,something like minimising a window in a pc) so
that the app's thread will continue running in the background in case
a client sends data to be processed. The thread will stop By selecting
and executing the app again from the main menu and pressing the stop
button.

What i actually need is a demo of a "hide"-"minimize" function for my
app.

thanks in advance!
--~--~---------~--~----~------------~-------~--~----~

2. Please help me in defining the style of my custom widget in my theme.

Hi,

I have tried everything thing I can thing of in defining the style of
my widget in my theme. But I still can't get it to work. I have posted
my questions to various forum/newgroup, I can't get my problem
resolved.  I appreciate if someone can help me.


I am tying to define the style of MyWidget in my theme.

I create a widget myself called 'MyWidget' and I want to define the
style of MyWidget in my theme.


And I have added this in my manifest file:

 <application android:label="@string/app_name" android:theme="@style/MyTheme">

This in my themes.xml file:
<resources>
 <style name="MyTheme">
  <item name="buttonStyleMyWidget">@style/MyWidget</item>
  </style>
</resources>

and this in my styles.xml file:

<?xml version="1.0" encoding="utf-8"?>
<resources>
    <style name="MyWidget">
      <item name="android:background">@drawable/btn_mywidget_bg</item>
</style>
</resources>

But android did not pick up the style of 'MyWidget' unless I
specifically put 'style='@style/MyWidget'

In other words, in my main.xml, if i specified my 'style' attribute,
my background
drawable was displayed correctly.
 <test.MyWidget android:id="@+id/mywidget" style="@style/MyWidget" />

but if I just do this:
<test.MyWidget android:id="@+id/mywidget" /> , the background drawable
is not display correctly.

Can you please tell me what am I missing?

Thank you.

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

3. Restricting number of items AutoCompleteTextView displays.

4. Programmatically get resource information

5. Margin-problem with changed layout for titlebar

6. How do I remove the default frame around each picture in Gallery?

7. Resize based on orientation.