API for changing main menu

by mboehmer » Tue, 10 Feb 2009 19:55:54 GMT


Sponsored Links
 Hi there,

is it possible, to control the icons shown in the main menu and on the
"desktop" of the device by code? Is there an API for adding and
removing icons/applications and for changing the arrangement?

Best regards
mboehmer
--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. method.getAnnotation( ) or method.isAnnotationPresent( ) not working

Hello,
I am trying to use annotation - method.getAnnotation( ) or
method.isAnnotationPresent( ) and it is not working.

I am using eclipse emulator for 2.1 OS version with JDK 1.6. Following
is information about what I did. Please advise if I am doing something
wrong.

1) Added annotation type
public static final int METHOD_UNDEFINED = -1;

        public @interface MethodInfo {
                int id() default METHOD_UNDEFINED;
        }

2) Added annotation for my method
final public static int METHOD_TESTMSG = 1;

@MethodInfo(id=METHOD_TESTMSG)
public void testMsg(String msg, int data1, boolean bool1) {
// code here
}

3) Now I am trying to find this method using annotation.
Method [] methodList = instanceClass.getDeclaredMethods();
                for(int i=0; i< methodList.length; i++) {
                        if 
(methodList[i].isAnnotationPresent(MethodInfo.class)) {
                                // stuff here
                        }
                }

-- 

2. Hebrew Fonts on Android 2.1

I love my new HTC Incredible, but it is frustrating to not be able to
read and respond to emails and Facebook content on a daily basis.

It was easy to add Hebrew support on my previous phones (Palm Treo and
Blackberry).

How difficult is it for Google to provide the hooks to support fonts
for one additional language? They will satisfy the needs of most
customers who use other languages.

Thank you,
Ilan, Los Angeles

-- 

3. Credential Permission Error with HTC Sense

4. how can i set up my Nexus one as external device to develop under Debian 5.0?

5. auto stop of app when capture the picture with camera

6. Any body have an idea???

7. How to communicate from Javascript back to an app?