That's not possible unless you distribute the library as part of the firmware.

Why wouldn't you want the code to be part of the APK?  Perhaps there's
something else you could do.

Kris

On Wed, Jul 31, 2013 at 9:19 AM, lgaur <[email protected]> wrote:
> Hi Jelly Chan,
>
> I am trying to compile apk with some jar file and I don't want jar file to
> be part of .apk. I want at runtime apk should take jar file contents or
> .classes from system or device.
>
> I am developing this using ADT . Could you please provide more info how to
> achieve it while using eclipse or ADT ?
>
> Regards
> Lokesh
>
> On Tuesday, January 17, 2012 5:42:48 PM UTC+5:30, Jelly Chen wrote:
>>
>> I found the solution.
>>
>> 1. Android.mk
>> replace LOCAL_STATIC_JAVA_LIBRARIES := thirdparty_jelly
>> with      LOCAL_JAVA_LIBRARIES := thirdparty_jelly
>>
>> 2. Eclipse
>> Use SDK addon.
>> copy an existing addon, replace the .jar, modify manifest.ini and
>> source.properties a little.
>>
> --
> --
> 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
> ---
> You received this message because you are subscribed to the Google Groups
> "Android Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>
>

-- 
-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to