• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Adding second screen to android app comes up blank

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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!
 
Ranch Hand
Posts: 252
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic