I have a pro and free version riding on my library project. The pro and free versions do not have any code. Just some alternate resources.
Now I want to include some activities in pro. So from my library code how do I invoke these new pro activities? The control starts in Library code so I never have any opportunity to set up listeners and such from pro.
Is it a good idea to pass the absolute class name of these new activities as a string to an intent in the library project.
This maybe a noob question but I did a lot of searching. I just need a small hint.
I have a pro and free version riding on my library project. The pro
Share
OK. I managed to solve this by using the Configuration activity of the widget. I specified a overriden xml file in manifest for the widget metadata in the main project. This overridden xml which is residing in the pro project had a pointer (android:configure)to an activity which is only residing in the main project.
With this I was able to implement licensing. In the pro version the configuration activity takes care of licensing. In the free version there is no configuration activity.