Android app help!!!

Discussion in 'Android App Developers' started by smithmanny, Jul 31, 2011.

  1. smithmanny

    smithmanny New Member

    Joined:
    Jul 28, 2010
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Atlanta, GA
    Ratings:
    +0
    I am trying to make my image button clickable and send it to another screen so it can display info. Can someone help me with the code?!
    Here is my code:
     
  2. naDroid.com

    naDroid.com Member

    Joined:
    Feb 16, 2011
    Messages:
    31
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Canton, OH
    Ratings:
    +0
    Error?

    What error are you getting in Logcat? Did you add Activity2 to your manifest?
     
  3. smithmanny

    smithmanny New Member

    Joined:
    Jul 28, 2010
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Atlanta, GA
    Ratings:
    +0
    Ya i added activity2 to my manifest the error i'm getting is
    "home cannot be resolved to a type"
     
  4. naDroid.com

    naDroid.com Member

    Joined:
    Feb 16, 2011
    Messages:
    31
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Canton, OH
    Ratings:
    +0
    Should be easy

    Change "home.this" to "this".
    All you should need for context is the keyword "this".