[android-porting] Re: [android-internals] Re: How to compile external packages using android toolchain.

2009-01-24 Thread Dianne Hackborn
This isn't a matter of the OHA all. The current Android SDK does not support applications with native code. Period. The only situation where native code is currently supported is for things that are built in to the system image of a device, because in that case the native code can be rebuilt

[android-porting] Re: [android-internals] Re: How to compile external packages using android toolchain.

2009-01-24 Thread kozak
Hi Dianne, Thank you for your reply. Sorry for the confusion. I did not intend to develop native app using the Android SDK. I do understand that the SDK does not support native code in applications. My intention is the following: I have downloaded the android source code from source.android.com

[android-porting] Re: [android-internals] Re: How to compile external packages using android toolchain.

2009-01-24 Thread kozak
Hi Dianne, Thank you for the link. Hope this helps all the guys out there working on native libraries, in case they already dont know about it. Regards Kozak On Jan 25, 11:20 am, Dianne Hackborn hack...@android.com wrote: If you are working on the platform, look at the PlatformLibrary sample

[android-porting] Re: [android-internals] Re: How to compile external packages using android toolchain.

2009-01-22 Thread vishal bhoj
Hi Nimit , I want to build an external package. I tried compiling a Hello world example with the toolchain provided in the prebuilt directory but when i execute it i get ./a.out: 1: Syntax error: word unexpected (expecting )) I feel its not getting linked properly. Were you able to compile

[android-porting] Re: [android-internals] Re: How to compile external packages using android toolchain.

2009-01-22 Thread Nimit Manglick
Hi Vishal, ya there is some problem with android toolchain or i am not sure if it is designed to behave in this behaviour. If you make your hello world program a package and write an Android.mk for it then it works fine. But if u just try to compile using prebuilt gcc binary presnt in

[android-porting] Re: [android-internals] Re: How to compile external packages using android toolchain.

2009-01-22 Thread vishal bhoj
Nimit, How did you compile any external packages with it.Were you able to cross compile any package and use on android. I tried building tslib statically and use it on the board using 2007q3 toolchain,ts_print executed but could not find other modules after setting all the paths i finally ended

[android-porting] Re: [android-internals] Re: How to compile external packages using android toolchain.

2008-12-26 Thread venu
Hi This question is slightly out of context, I have following questions, 1. Can I have anroid w/o the davlick vm, application framework, and APIS ? 2. The motivation here is write custom applications on top libraries provided by anriod platform ? In others words, I want to strip of java virtual