How to build Android.jar from the source code

by Andrew Stadler » Thu, 15 Jan 2009 10:38:56 GMT

Sponsored Links

To clarify what Dianne has said:

If you are building an app that requires a modified runtime, then you
are building an app that may not properly run on the released,
end-user platform.  This is why we recommend sticking with the
published SDK for building apps.

You might want to explore the open source release for the SMS code
that's included - you may find it useful as sample code or even decide
to fork it.



How to build Android.jar from the source code

by Andrew Stadler » Fri, 16 Jan 2009 06:14:25 GMT

 Although there is a long-term goal to move in that direction, not all
of the platform applications can be built in the SDK.  Sorry....



Sponsored Links

Other Threads

1. Integrating libupnp to Android

Hello Developers,
 I am compiling libupnp with the android for that I placed libupnp in
the external folder of the Android source and placed files
in the respective directories but I ended up with some compilation

The question is I have to modify some of the files in libupnp to
integrate with android or to modify any files in Android source or
above steps will be sufficient for doing the same.

Below are the compilation errors when I am following the above steps.

external/libupnp/upnp/src/../../threadutil/inc/ithread.h:153: warning:
type defaults to 'int' in declaration of 'pthread_rwlockattr_t'
external/libupnp/upnp/src/../../threadutil/inc/ithread.h:153: warning:
'ithread_rwlockattr_t' attribute directive ignored
external/libupnp/upnp/src/../../threadutil/inc/ithread.h:164: warning:
type defaults to 'int' in declaration of 'pthread_rwlock_t'
external/libupnp/upnp/src/../../threadutil/inc/ithread.h:164: warning:
'ithread_rwlock_t' attribute directive ignored
In file included from external/libupnp/upnp/src/ssdp/ssdp_device.c:42:
external/libupnp/upnp/src/inc/upnpapi.h:97: error: expected '=', ',',
';', 'asm' or '__attribute__' before 'GlobalHndRWLock'
external/libupnp/upnp/src/ssdp/ssdp_device.c: In function
external/libupnp/upnp/src/ssdp/ssdp_device.c:143: warning: implicit
declaration of function 'pthread_rwlock_wrlock'
external/libupnp/upnp/src/ssdp/ssdp_device.c:143: error:
'GlobalHndRWLock' undeclared (first use in this function)
external/libupnp/upnp/src/ssdp/ssdp_device.c:143: error: (Each
undeclared identifier is reported only once
external/libupnp/upnp/src/ssdp/ssdp_device.c:143: error: for each
function it appears in.)
external/libupnp/upnp/src/ssdp/ssdp_device.c:146: warning: implicit
declaration of function 'pthread_rwlock_unlock'
make: *** [out/target/product/generic/obj/SHARED_LIBRARIES/
libupnp_intermediates/ssdp/ssdp_device.o] Error 1

Thanks in advance


2. Widget home screen position

is it possible to get widget position on home screen? Like which row
(s)/column(s) it covers?


3. cupcake and Bluetooth status

4. XML Layout Specification

5. Displaying stored images

6. I'm not able to receive more than two GPS position. The application hangs.

7. Browser Porting for Android