hi,
as this's regarding android app development, you might get fast response at
'android-developers'

here's my 2 pennies:
- if you want to create a new app, use SDK,and compile your .java source to
dalvik executable. (.dex)
 note android has dalvik VM, so, regular .class wont be supported.

- if you want to modify exisiting android component, download complete
android filesystem source, modify, rebuild the component and use.


On Tue, Mar 9, 2010 at 12:26 PM, Anandi <[email protected]> wrote:

> Hi all,
>
> I want to add one sample api in local copy of android on my machine. I
> don't want it to be distributed on the open source.
>
> For eg : I have mathlib.java file . This mathlib class has a native
> method add.
>
> Now i am not able to understand, where in the directory structure
> should i keep this java file.
>
> do i need to create .class and .h files manually for this or will
> build system take care of it?
>
> as per my understanding i'll need to have corresponding cpp
> implementation for this api. so, where do i keep this cpp file?
>
> Please suggest the steps to do this. Thanks in advance.
>
> Anu
>
> --
> unsubscribe: 
> [email protected]<android-porting%[email protected]>
> website: http://groups.google.com/group/android-porting
>

-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting

Reply via email to