[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

[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 u

[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 prebuily/..

[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 u

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

2009-01-22 Thread kozak
Hi all, I have put a similar post in the following link. Didnt find any posting on "native apps or NDK " :)... http://groups.google.com/group/android-porting/browse_thread/thread/2786e7bb280ee4f2 Please have a look at it You can reply as part of the "How to compile external packages using an

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

2009-01-22 Thread Dianne Hackborn
On Fri, Dec 26, 2008 at 8:43 PM, venu wrote: > 1. Can I have anroid w/o the davlick vm, application framework, and APIS ? You can take Linux + whatever user space libraries you want, but I personally I wouldn't call this "Android" any more. > 2. The motivation here is write custom application

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

2009-01-24 Thread kozak
Hi Dianne, Thanks for the input. I would like to know what kind of licensing as of now allows 3rd party to develop native apps. Is it that only members of OHA get to develop native apps "for now" and it would be open to the open source community sometime in the future? Tersely put, what should a

[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 eac

[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 Dianne Hackborn
If you are working on the platform, look at the PlatformLibrary sample code for examples of doing all of this stuff -- writing a native library, a Java API to it with JNI, and client applications using the Java API. http://android.git.kernel.org/?p=platform/development.git;a=tree;f=samples/Platfor

[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 wrote: > If you are working on the platform, look at the PlatformLibrary sample code > for examples