why i see more than 1 application icons of my installed application

by Mariano Kamp » Fri, 06 Mar 2009 18:54:20 GMT

Sponsored Links
 AFAIK There is one icon per launchable activity.

How many activities do you have? Do more than one of them declare themselves
as launchable like you can see below?

                    android:name="android.intent.action.MAIN" />
                    android:name="android.intent.category.LAUNCHER" />


Other Threads

1. getting a single xml node

Hi guys I'm newbie to android development and I need some help...

I want to make an app that will use data from an xml database and
there are two points where I need help cause I find java with xml too


1)get a single xml value from a child node(eg.name of 1st item -
2)get an xml database from child nodes (to use it as data source for a
listbox) - this one is not nessesary

Thank you for your time guys...


2. Save to gallery failure, re-install application fixes problem

My customers report that saving a bitmap to the gallery gives no
error, but the image is not saved.  Reinstalling the application and
rebooting every few saves seems to help.  So perhaps a handle/object
is being left open??  After a good deal of research, we settled on
this code to save an image to the gallery.  Is there a more reliable


static Uri saveImageToSDcard2 (Context context, Resources res, Bitmap
bm, String name, ContentResolver cr)

        Uri uri = null;
        try {
                ContentValues newImage = new ContentValues(2);
                newImage.put(Media.DISPLAY_NAME, name);
                newImage.put(Media.MIME_TYPE, "image/png");

                uri = cr.insert(Media.EXTERNAL_CONTENT_URI, newImage);

                OutputStream out = cr.openOutputStream(uri);
                boolean success = bm.compress(Bitmap.CompressFormat.PNG, 100, 
                if (success)
                        savedOrErrorMessage =
                        savedOrErrorMessage =

        } catch (Exception e){
                // Log.d("Image Writer", "Problem with the image. Stacktrace: 
", e);
                savedOrErrorMessage = 
                uri = null;
        return uri;


3. Id-android @ICS

4. ask : kembali ke jalan yang benar atau dipertahankan?

5. Modifying components on widget from activity

6. Testi pak...@gmai

7. Samsung Galaksi