message during install: "... has an ealier definition; blocking out"

by Jakob Sachse » Tue, 25 Nov 2008 19:13:24 GMT

Sponsored Links
 what does this mean?

the information is not sufficient, where have those definitions been
In the one project that during install caused the message, in the
android.jar in other project apk's?

I double checked my sources and libs and can't find classes that are
defined more that once.

Other Threads

1. Mobile development, best computer configuration?


For the last 4 weeks, I have been trying to get into mobile
development. Done a couple of tutorials, read some books, developed a
couple of dummy apps.

The thing is my computer is a 5 years old laptop, it is slow and time
has come to replace it and I looking at different offers online.

Have you got any recommendations? Is there any must-have that should
make my developer life easier in the future? Is there anything mobile-
dev-specific that may be useful at a more advanced stage of
development that I just can think of right now on the hardware

(I mean apart from good proc, lots of RAM, many USB ports...)

One thing I can think of is to have three OS on the same workstation:
Windows, Unix and MacOS (so far I focused on android/java/eclipse but
am interested in Iphone/objC/xcode as well) but that more on the
software side.

Anyway, would be grateful for any recommendations.

Thanks in advance!


PS: on the budget side, I'm quite free
PPS: Although, it's not a programming question, I still think it is
relevant to this group


2. Custom Toast


I am trying to display a "custom" Toast from a service.  I have no
problem displaying a regular Toast from my service using
Toast.makeText() and; however, I would like to display a
custom Toast with an embedded graphic.  The problem seems to be that
the Service class does not inherit the findViewById() method.  How can
one generate and display a custom Toast from a Service??

public class DialHelper extends Service {

   public void onCreate() {
        // Get the notification manager service.

    public void onStart(Intent i,int startid) {
      LayoutInflater inflater = LayoutInflater inflater =
(LayoutInflater) getSystemService(LAYOUT_INFLATER_SERVICE);
      View layout = inflater.inflate(R.layout.toast_layout,
findViewById(;  // Service does not inherit
the findViewById() methods!!!!!

      ImageView image = (ImageView) layout.findViewById(;
      TextView text = (TextView) layout.findViewById(;
      text.setText("Hello! This is a custom toast!");

      Toast toast = new Toast(getApplicationContext());
      toast.setGravity(Gravity.CENTER_VERTICAL, 0, 0);



3. Wakelocks profiling

4. Emulator problem with GSM network

5. How to stream live video from Android phone to intranet

6. Xml Parser for Android Layout.

7. Beginner: Can anyone help me improve the way I'm calculating distance for my runs?