New app package compile with android open source and include in system image

by Bhuvan » Fri, 24 Jul 2009 07:05:48 GMT


Sponsored Links
 Hi,
I have a new application which receives broadcasts from the Email
application and needs to be included in the system image. However
using the make file causes problems with compilation of the
Email_intermediates package. I get this error. Does anyone know how to
modify the build system to include this new app. The documentation
with the Android open source code is ages old (May 2006).

target Java: Email (out/target/common/obj/APPS/Email_intermediates/
classes)
packages/apps/Email/src/com/android/email/activity/Welcome.java:26:
package com.android.mics does not exist
import com.android.mics.Receiver;
                        ^
packages/apps/Email/src/com/android/email/activity/Welcome.java:43:
cannot find symbol
symbol  : class Receiver
location: class com.android.email.activity.Welcome
                Intent intent = new Intent(this, Receiver.class);
                                                 ^
Note: packages/apps/Email/src/com/android/email/Utility.java uses or
overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
2 errors
make: *** [out/target/common/obj/APPS/Email_intermediates/classes-
full-
debug.jar] Error 41

Thanks,
Bhuvan

--~--~---------~--~----~------------~-------~--~----~

-~----------~----~----~----~------~----~------~--~---