...And so the fun begins...

ScotDiddle

Member
May 22, 2012
10
0
0
Hello, You'se Guys and Gals,

Mr Diddle here. I'm trying to extend the functionally of my "Hello Android" app by adding :

Code:
tv.setText("<br> \n");      
        setContentView(tv);
        
        tv.setText("Goodby, Android");      
        setContentView(tv);

However when I select "Run as/Android Application in Eclipse Indigo Release 2, my changes are not reflected; The rendered AVD displays the un-altered "HelloAndroid" app.

If I run a second time, the new app appears...

How to get rid of the "Ghost" of my first src file to "Go Away" on subsequent "Run/Run as..."

Thanks,

Scot L. Diddle, Richmond VA
 
Is it Live, or is it Eclipse....

Hello All. I guess I need to know what it means to be a "Project" in the eyes of Eclipse...

If my "Project Explorer" in Eclipse shows more than one "Project", say three of them, and I tell the IDE to "Run as" / "Android Project" on the third one in the list of projects, all three are loaded into the AVD and executed one after the other... (this is where my "Ghosts" are coming from). The only way that I have found to eliminate this problem is by having only one "Project" file loaded in the "Project Explorer"... This seems counter-intuitive to me.

Any suggestions about where I went wrong in defining a "New" Project.

Thanks,

Scot L. Diddle, Richmond VA
 

Members online

Forum statistics

Threads
956,017
Messages
6,966,412
Members
3,163,460
Latest member
araiksh