Results 1 to 3 of 3
  1. #1
    jo15765 is offline Member
    Join Date
    May 2012
    Posts
    42
    Rep Power
    0

    Default SUPER noob Question

    I have just downloaded the Java SDK in attempts of learning how to write android apps. I am following a tutorial here and om the Add A Text Field:
    Building a Simple User Interface | Android Developers

    when I add the line of code:
    Java Code:
    android:hint="@string/edit_message"
    I get Error: No resource found that matches the given name (at 'hint' with value '@string/edit_message')

    I copied and pasted directly from this tutorial...what did I do wrong?!

  2. #2
    kjkrum's Avatar
    kjkrum is offline Senior Member
    Join Date
    Apr 2011
    Location
    Tucson, AZ
    Posts
    1,060
    Rep Power
    6

    Default Re: SUPER noob Question

    You also need to edit res/values/strings.xml and add a value for edit_message.
    Get in the habit of using standard Java naming conventions!

  3. #3
    jo15765 is offline Member
    Join Date
    May 2012
    Posts
    42
    Rep Power
    0

    Default Re: SUPER noob Question

    Quote Originally Posted by kjkrum View Post
    You also need to edit res/values/strings.xml and add a value for edit_message.
    Haha, in my haste I missed that. Thank you so much!

Similar Threads

  1. I am a super noob with a super noob question.
    By LittleZoppo in forum Java Applets
    Replies: 3
    Last Post: 04-27-2012, 04:50 AM
  2. noob question. plz help tho!
    By swp in forum New To Java
    Replies: 2
    Last Post: 09-28-2011, 07:16 AM
  3. Probably Really Noob Question
    By bpx95 in forum New To Java
    Replies: 2
    Last Post: 05-16-2011, 02:44 AM
  4. Please help super noob understand
    By elecleoalune in forum New To Java
    Replies: 9
    Last Post: 04-02-2011, 10:22 AM
  5. Help im a noob.. a super noob on java..
    By critdevil in forum New To Java
    Replies: 12
    Last Post: 03-07-2009, 04:17 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •