Never mind! Did an update of the tools via Eclipse... Now I have that option :)
On May 31, 5:56 pm, Moto <[email protected]> wrote: > I've got the whole project ready to be a library but the link you > referenced directs to set a check mark that it is a library > project... I can't find this library check, it's nowhere to be > found.. :( > > I'm working on a windows machine using Eclipse > > Next, set the project's Properties to indicate that it is a library > project: > > 1. In the Package Explorer, right-click the library project and > select Properties. > 2. In the Properties window, select the "Android" properties group > at left and locate the Library properties at right. > 3. Select the "is Library" checkbox and click Apply. > 4. Click OK to close the Properties window. > > Thanks! > -Moto > > On May 31, 5:02 pm, Moto <[email protected]> wrote: > > > Thanks Mark! > > > Library project is actually a much easier way to handle multiple > > versions of one app :) > > > Thanks again! > > -Moto! > > > On May 31, 4:21 pm, Mark Murphy <[email protected]> wrote: > > > > Moto wrote: > > > > I would like to remove the dependency to point to "packagename".R > > > > since I'm trying to merge free and paid apps into one. The mayor > > > > problem is the namespace. > > > > > I'm able to get Context.getPackageName() but how can I convert that > > > > string to be accessible... i.e. Context.getPackageName().R? > > > > If you are using Eclipse, you may wish to consider setting up a library > > > project, since that was designed for the paid/free app scenario: > > > >http://developer.android.com/guide/developing/eclipse-adt.html#librar... > > > > If that does not fit your needs, call getResources() to get a Resources > > > object, then call getIdentifier() to get the ID based upon the package > > > name, etc. Note that this uses reflection and so therefore is slow, so > > > please cache your results. > > > > -- > > > Mark Murphy (a Commons > > > Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy > > > > Android Development Wiki:http://wiki.andmob.org > > -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

