> Bear in mind also that your library cannot package any resources, making
> activities that much more difficult to package in a library.
I'm not sure that is true.
I have created a .jar from a project that happens to include some
layout files. I import this .jar from a second project, and add a few
lines to the second project's Manifest file:
<activity
android:name="com.googlecode.chartdroid.ChartPanelActivity"
android:theme="@android:style/Theme.Translucent">
<action
android:name="com.googlecode.chartdroid.intent.action.PLOT" />
<category android:name="android.intent.category.DEFAULT" />
</activity>
When I launch the .jar'd activity from the second activity with an
implicit intent, it appears to work fine. The layout resources that
the .jar'd activity uses exist only within the .jar file.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---