Java Question R. * access

Discussion in 'Libraries developers questions' started by shashkiranr, Mar 3, 2015.

  1. shashkiranr

    shashkiranr Active Member Licensed User

    Hi,

    I am trying to write a wrapper but the java files is referencing to R.attr,R.style,R.layout,R.id,R.dimen .

    I know all these values are present in R.java file but how to you get it.

    Regards,
    SK

    P S - This is my first attempt to wrapping a existing lib so kindly ignore my stupidity.
     
  2. thedesolatesoul

    thedesolatesoul Expert Licensed User

    Two choices
    - Either replace them all with a safe default value.
    - Create the R.java class (I posted a tool for that, see the top post in Similar threads.)
     
    NJDude likes this.
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice