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?

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






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



Other Threads

1. Problems with Bluetooth and sound out

Hello,

I have my G1 connected to a FM transmitter in my car with my bluetooth
headset connected. Music has no problem going out the G1.  A call
comes in and I connect it.  After I disconnect the call, the sound
does not go out the adapter on the G1, but out the phone's speaker.
Is there any setting to make sure the sound goes out the bottom
adapter and not the phone's speaker?

Thanks,
Marc

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

2. dalvik doesnt seem to recognize classes compiled with groovyc

Ive been trying to get groovy running on dalvikvm. And i have been
trying the route via groovyc (groovyc -> jar -> dx -> dalvikvm).
For testing i put together a jarfile with 3 classfiles, one pure java,
one javaclass that invokes a method on a groovy class, and a groovy
class.

The pure java class works flawlessly but the other two fails with
these messages:

/system/bin/dalvikvm -classpath testdex.jar GroovyFromJ
Dalvik VM unable to find static main(String[]) in 'GroovyFromJ'
java.lang.VerifyError: GroovyFromJ
        at dalvik.system.NativeStart.main(Native Method)

And for the groovy file:
/system/bin/dalvikvm -classpath testdex.jar Groov
Dalvik VM unable to locate class 'Groov'
java.lang.NoClassDefFoundError: Groov
        at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.ClassNotFoundException: Groov in loader
dalvik.system.pathclassloa...@400190d8
        at dalvik.system.PathClassLoader.findClass
(PathClassLoader.java:243)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:573)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:532)
        ... 1 more

What should happen is that the classes invoking groovy should throw a
class not found exception since i don't have the groovy jar in the
classpath yet (theres no point atm).
Does anyone have a clue about whats going on here? I know the
classfiles generated by groovyc is slightly different from javas, but
they are "real" classfiles and should atleast load.



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

3. Telephony Manager functions don't work

4. Disabled EditText accepts input from soft keyboard

5. Differences between configuration of G1 and HTC Magic

6. How to log messages sent using SMS service?

7. Sending SMS more than 160 characters