android - How to get R class from other project? -


I want to get the accepts from the other projects for the resource ID but not the import of the R file into my file but the mobility I I want to do a function with reference parameters and get the R class dynamically. Is this possible? The reason I'm asking for, I want to achieve similar effect on the Facebook API Library. What do they do, you add Facebock_app_id string to your project and the library gets "somehow".

You can not use R from other projects if you import it from the same project and separate package can do.

  import com.yourpackage.R;  

Comments

Popular posts from this blog

c# - SignalR: "Protocol error: Unknown transport." when navigating to hub -

class - Kivy: how to instantiate a dynamic classes in python -

java - Algorithm negotiation fail SSH in Jenkins -