snehal kedar wrote:
> I did create a jar and use it in a different application. i could
> include the resources in the jar as well but cant access them .
> gives a resource not found exception at run time.

Resources cannot be packaged in a JAR. They can only be packaged in an APK.

Code residing in a JAR will need to accept resource IDs as part of its
public API, so the application using the JAR can supply appropriate
resource IDs from the hosting APK.

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

Android Training on the Ranch! -- Mar 16-20, 2009
http://www.bignerdranch.com/schedule.shtml

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" 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-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to