Eclipse + cupcake + referenced projects in build path = VerifyError

by Inderjeet Singh » Tue, 28 Apr 2009 23:34:50 GMT


Sponsored Links
 I ran into the same problem this morning and was hating myself for
being a compulsive early adopter. :)
Also, the fact that you actually have to create a device before you
can launch anything.

Anyone else figured out what is going on?

Inder


On Tue, Apr 28, 2009 at 8:02 AM, Guillaume Perrot



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



Eclipse + cupcake + referenced projects in build path = VerifyError

by Raphael » Wed, 29 Apr 2009 01:17:52 GMT


 One thing I generally do for this case is to create regular Java
projects for the libraries, then remove the jre from the classpath and
put the android.jar instead.

That method however has a couple caveats, namely that a/ the
android.jar uses a full path (a pain if you have an SCM and different
setups) and b/ you need to update it each time you update the SDK
(which you probably don't do that often.)

R/


On Tue, Apr 28, 2009 at 8:02 AM, Guillaume Perrot



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


Sponsored Links


Other Threads

1. Aw aw aw..:..

Hahahaha. Gua juga baru aja. Ngang-ngong di NOL. Tp twitter msi jln.

send from big Hero, my Android phone




Bobo ah.....

Rgds,
Jus
| dream g1 eclair 2.1 |

-- 
"Indonesian Android Community [id-android]"

2. Avoid launching a task twice from notification manager

Hi all:

a new instance of it?

I want to create a link in the status bar on the phone through
notification manager. When I click on it, I want want a particular
task to come to the foreground.

However, it seems my code always launch a new task even if there is an
existing one running. For example, I click on the link the first time,
a task shows up. When I click the second time, I see an animated task
showing up again ... repeat that 5 times. And then when I hit "back"
button, the 5 instances will disappear one by one (proving it's not
just a single instance). Very annoying.


Code snippet:
===
    CharSequence text = getText(R.string.my_service_started);

    // Set the icon, scrolling text and timestamp
    Notification notification = new Notification(R.drawable.lock,
text, System
        .currentTimeMillis());

    Intent intent = new Intent(Intent.ACTION_MAIN);
    intent.addCategory(Intent.CATEGORY_LAUNCHER);
    intent.setComponent(new ComponentName(this,
StartActivity.class.getName()));
    intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK
        | Intent.FLAG_ACTIVITY_RESET_TASK_IF_NEEDED);

    PendingIntent contentIntent = PendingIntent.getActivity(this, 0,
intent, 0);

    notification.setLatestEventInfo(this,
getText(R.string.lock_service_label),
        text, contentIntent);

    notificationManager.notify(R.string.lock_service_started,
notification);

-- 

3. ListView dilemma: fixed but hideable header

4. Latitude crashes Google maps, Android 1.5

5. dispatch touch events to underlying window

6. Adding Real Media to PV framework

7. attractive a soap