[android-developers] Re: importing java 6 libs
Maybe it will help you using retrotranslator to make the libs compatible with android: http://retrotranslator.sourceforge.net/#android On Apr 4, 3:39 pm, Lahiru <[EMAIL PROTECTED]> wrote: > Hi > > 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? > > Please help.. Thanks in advance. > > Lahiru. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] Announcing the new M5 SDK! http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: importing java 6 libs
Thanks. :) I'll check this. On Apr 6, 12:58 am, "Dan U." <[EMAIL PROTECTED]> wrote: > Look in the docs for the dx tool > > On Apr 4, 11:11 pm, Lahiru <[EMAIL PROTECTED]> wrote: > > > Hi, > > > Thanks a lot for the reply,,, > > > I'll try with sources.. :) > > > Thanks again.! > > > On Apr 5, 12:34 am, David Given <[EMAIL PROTECTED]> wrote: > > > > 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 > > > > signature.asc > > > 1KDownload --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] Announcing the new M5 SDK! http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: importing java 6 libs
Look in the docs for the dx tool On Apr 4, 11:11 pm, Lahiru <[EMAIL PROTECTED]> wrote: > Hi, > > Thanks a lot for the reply,,, > > I'll try with sources.. :) > > Thanks again.! > > On Apr 5, 12:34 am, David Given <[EMAIL PROTECTED]> wrote: > > > 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 > > > signature.asc > > 1KDownload --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] Announcing the new M5 SDK! http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: importing java 6 libs
Hi, Thanks a lot for the reply,,, I'll try with sources.. :) Thanks again.! On Apr 5, 12:34 am, David Given <[EMAIL PROTECTED]> wrote: > 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 > > signature.asc > 1KDownload --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] Announcing the new M5 SDK! http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: importing java 6 libs
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 signature.asc Description: OpenPGP digital signature
[android-developers] Re: importing java 6 libs
Any help please? :) On Apr 4, 6:39 pm, Lahiru <[EMAIL PROTECTED]> wrote: > Hi > > 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? > > Please help.. Thanks in advance. > > Lahiru. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] Announcing the new M5 SDK! http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---