Some questions about

by david » Fri, 09 May 2008 14:42:37 GMT

Sponsored Links
 1. Basically the ApiDemo activity just calls itself recursively, is it
counter-intuitive to efficient running on mobile device?

2. The following code in getData():
        PackageManager pm = getPackageManager();
        List<ResolveInfo> list = pm.queryIntentActivities(mainIntent,

        if (null == list)
            return myData;
Can it be moved to somewhere for efficency purpose? Since it gets
called again and again but just gets same results.

3. Consider the code in getDate():
        Map<String, Boolean> entries = new HashMap<String, Boolean>();
Why use Hashmap? isn't it overskilled?

Again, since it is the demo code provided by Google, I think it is
worthy to study it in detail.

Other Threads

1. How to deal with BuiltInZoomControl with custom controls in android google map?

Hi, I am trying to develop a Android Google Map application, which is
basically Gmap with my own marker geo layer. Since is
banned in China, I have to search support from Google user groups. I
have no idea which groups I should call for help, android group or
google map group. Anyway here is my questions:

I am working on Android SDk1.5. I want to reproduce the floating
buttons presented in android Google map, which stands for three
buttons: ZoomControl (left), FocusChange (middle), and ListControl
(right). (Pls check ref1. ) I checked some open source projects, if
designer can place these controls in the layout.xml with relative
layout, to place them over (on the top of) the mapview. It may solve
some problem, however in the SDK1.5' add-on gmap jar, the
getZoomControl is discarded. I can only setBuiltInZoomControl(true) to
enable the builtin zoomcontrol. By default, the "BuiltIn" Zoom Control
is placed at Bottom/Center. (Pls check ref 2.) I have no idea how to
relocate the "BuiltIn" Zoom Control to the left as native GMAP does.


How to relocate the BuiltIn Zoom Control ?
How to add addtional custom control (buttons/overlays) with
BuiltInZoomControl ? What functions should be overriden for the detail
implementaiton, Such as synhcorization with the visibility?
I am appreciated if the answer can be offered with code snippet or
references to any internet site.



2. Unable to display image during runtime But working fine while debuging?

hi folks....

When i load the image from the server in grid view and click any image
to see the details 1 of my image is not displaying when i run the
application but when i debug the application it is showing the correct

Any help would be appreciated ....


3. problem in signing the apk file

4. QUESTION: can I SPEECH-Schedule on google calendar via Andriod apps? If so, which APP

5. AudioRecord producing no-sound data. Why?? [SOLUTION]

6. RecognizerIntent available languages ?

7. strange behavior in list of checkboxes