Lahiru wrote:
[...]
>> I need to import some javax packages comes with Java6.
>> I added required jre in eclipse project and successfully imported
>> several javax pkgs.
>>
>> But in runtime I'm getting class not found error,... is there any
>> other way to link jre 6 libs with android?
[...]
> Any help please?

Well, Android is not JRE compatible and you can't deploy jar files into
Android. So the short answer is that I don't think you can do that.

*However*, if you can find source code for the packages in question, you
may be able to build them as part of your app and use them that way.
Watch out for licensing issues if you do.

(You may even be able to unpack the jar file and manually convert the
class files into dalvik byte-code, and use it that way. Even if this is
possible, it's probably not a good idea and I wouldn't know how to do it.)

-- 
┌─── dg@cowlark.com ───── http://www.cowlark.com ─────
│ "I have always wished for my computer to be as easy to use as my
│ telephone; my wish has come true because I can no longer figure out
│ how to use my telephone." --- Bjarne Stroustrup

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to