kostmo wrote:
>> 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.

*blink, blink*

How do you have the resources packaged in the JAR?

Thanks!

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy

_Android Programming Tutorials_ Version 1.0 In Print!

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to