This looks perfectly normal and correct to me. The application is
already up-to-date on the device, and you already have the activity
running, so it just brings it to the front.

If you kill the task, using some task manager app, or rebooting your
phone, or just wait for Android to get rid of the task, and then try
it, it will then create a completely new activity.

But what I usually do is even simpler -- I insert a space somewhere in
a source file, save it, delete the space, and save again. Now it
doesn't see the version on the phone as up-to-date, and it will
redeploy, and then, necessarily, start a fresh activity.

While sometimes I wish the debugger would automatically restart the
task, that's not what happens when the user invokes your program in
this circumstance, so I don't think it would be a good idea as a
default action for a debugger. But it does occasionally confuse me, if
I'm expecting a breakpoint in an onCreate(Bundle) method to trigger.

On Jan 26, 7:16 pm, apregister08 <apregiste...@gmail.com> wrote:
> I am not sure what's happening but whenever I try to run the project,
> I get the following in the console:
>
> [2010-01-26 22:13:37 - TestProject1.0]------------------------------
> [2010-01-26 22:13:37 - TestProject1.0]Android Launch!
> [2010-01-26 22:13:37 - TestProject1.0]adb is running normally.
> [2010-01-26 22:13:37 - TestProject1.0]Performing com.testproject.Home
> activity launch
> [2010-01-26 22:13:39 - TestProject1.0]Application already deployed. No
> need to reinstall.
> [2010-01-26 22:13:39 - TestProject1.0]Starting activity
> com.greekrow.Home on device
> [2010-01-26 22:13:40 - TestProject1.0]ActivityManager: Starting:
> Intent { cmp=com.testproject/.Home }
> [2010-01-26 22:13:40 - TestProject1.0]ActivityManager: Warning:
> Activity not started, its current task has been brought to the front

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to