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

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

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



Other Threads

1. how to use Apex Google Api in Android

Hi
i want to use Google  Apex Api in my android application .
Could any body provide me  any help gerarding it.

Thanks in advance.

-- 

2. SSL from Android

What is the preferred way to do SSL on Android?

Coming from a long time Java background, I have tended to jump to a
https protocol URLConnection:

        // URL connection channel.
        HttpURLConnection url_connnection =
(HttpURLConnection)url.openConnection();

        // Let the RTS know that we want to do output.
        url_connnection.setDoOutput( true );

        // No caching, we want the real thing.
        url_connnection.setUseCaches( false );

        // Send POST output.
        if( post_params!=null && !post_params.isEmpty() ) {
            uploadPostParameters( post_params, url_connnection );
        }

        // Get Input
        input_stream = url_connection.getInputStream();



But this code is running into all sorts of problems on varying
platforms and OS versions:
  javax.net.ssl.SSLException: Write error: ssl=0x8f548: I/O error
during system call, Broken pipe
  Empty string responses (no error thrown) with no sign of an external
connection on the server logs
  java.io.IOException: SSL handshake failure: I/O error during system
call, Connection reset by peer
  java.io.IOException: SSL handshake failure: Failure in SSL library,
usually a protocol error
       error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown
protocol (external/openssl/ssl/s23_clnt.c:585 0xaf58a49b:0x00000000)

The first two usually go away by repeating it (which is consistent
with Android issue 8625).  The handshake exceptions do not seem to go
away once present.


To be clear, this is not a self-signed certificate on my SSL server.

-- 

3. coba diurutkan dari atas

4. Automatic sqllite dbhelper class builder

5. how to implement Two line text with different colors on one button

6. Code for connecting webservices in android by using HttpClient

7. Looking for sources of Searchable Dictionary v2