Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Adding second screen to android app comes up blank

 
Allison Peale
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi I am new to android and I am creating an app in which a user enters values and then clicks "save" at which point a new screen opens with the result. I am using this example I found to create the new screen and while the new screen appears it does not actually have anything in it:

http://learnandroid.blogspot.com/2008/01/opening-new-screen-in-android.html

Does anyone know if there is something wrong with this example to make the screen show up blank?

Thanks!
 
Hardik Trivedi
Ranch Hand
Posts: 252
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think error is in Intent i = new Intent(screen1.this, screen2.class);

change it in Intent i = new Intent(Screen1.this, Screen2.class);

try this.

I think there no error in tutorial.

If still you are not bale to make out.
post your code. not tutorial's link.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic