Android app help!!!

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

  1. smithmanny
    Offline

    smithmanny New Member

    Joined:
    Jul 28, 2010
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Atlanta, GA
    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
    Offline

    naDroid.com New Member

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

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

    smithmanny New Member

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

    naDroid.com New Member

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

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