Hello,
I am in a similar situation. I have a project with a service and I am
binding to the service from a different application in different
package. I got this whole setup working on Android SDK 1.1. However it
is not working in Android 1.5, even when I pick out 1.1 to be used.
The emulator fails to lauch my second application (activity trying to
bind to the service). The error looks
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
I/ActivityManager( 52): Starting activity: Intent
{ action=android.intent.action.MAIN categories=
{android.intent.category.LAUNCHER} flags=0x10200000 comp=
{com.xyz.client/com.xyz.client.clientActivity} }
I/ActivityManager( 52): Start proc com.xyz.client for activity
com.xyz.client/.clientActivity: pid=725 uid=10024 gids={}
I/jdwp ( 725): received file descriptor 10 from ADB
W/dalvikvm( 725): Unable to resolve superclass of Lcom/xyz/client/
clientActivity$1; (19)
W/dalvikvm( 725): Link of class 'Lcom/xyz/client/clientActivity$1;'
failed
E/dalvikvm( 725): Could not find class 'com.xyz.client.clientActivity
$1', referenced from method com.xyz.client.clientActivity.<init>
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
I cannot make the first project to be java project. How do I resolve
this issue?
Thanks
Rashmi.
---------- Forwarded message ----------
From: sktech <[email protected]>
Date: Apr 16, 6:47 am
Subject: SDK 1.5 and multiple projects in an application
To: Android Developers
So, what is the preferred way to share android-aware code between
applications?
On Apr 15, 8:32 pm, Xavier Ducrohet <[email protected]> wrote:
> On Wed, Apr 15, 2009 at 6:27 PM, sktech <[email protected]> wrote:
> > Thanks Xavier, that is exactly the situation.
> > Can I assume that future releases will allow my android project
> > to reference other standard Java projects?
> yes, we are not planning on removing this feature, as it's a lot
> easier to use during development than using a jar file.
> Xav
> --
> Xavier Ducrohet
> Android Engineer, Google.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---