The code that I gave doesn't contain anything, except creating an object of mapView with API key and displaying it.
Nithin On Jun 4, 5:00 pm, aswini <[email protected]> wrote: > hi , thanks for your reply, > > i have tried the code which u have sent, still i didnt get the map, i > have attached the logcat below. > my android emulator run behind the proxy. i am working on latest > andrid 2.2 version. how can i check my api key is correct or not? > is there any way to find the api key which i have generated is valid? > > logcat: > > 06-04 16:58:22.538: INFO/DEBUG(30): debuggerd: May 12 2010 20:17:37 > 06-04 16:58:22.689: DEBUG/qemud(37): entering main loop > 06-04 16:58:22.710: INFO/Netd(29): Netd 1.0 starting > 06-04 16:58:22.730: INFO/Vold(28): Vold 2.1 (the revenge) firing up > 06-04 16:58:22.759: DEBUG/Vold(28): Volume sdcard state changing -1 > (Initializing) -> 0 (No-Media) > 06-04 16:58:23.249: WARN/Vold(28): No UMS switch available > 06-04 16:58:23.599: DEBUG/qemud(37): fdhandler_accept_event: accepting > on fd 10 > 06-04 16:58:23.599: DEBUG/qemud(37): created client 0xe078 listening > on fd 8 > 06-04 16:58:23.619: DEBUG/qemud(37): client_fd_receive: attempting > registration for service 'boot-properties' > 06-04 16:58:23.619: DEBUG/qemud(37): client_fd_receive: -> received > channel id 1 > 06-04 16:58:23.630: DEBUG/qemud(37): client_registration: registration > succeeded for client 1 > 06-04 16:58:23.630: INFO/qemu-props(52): connected to 'boot- > properties' qemud service. > 06-04 16:58:23.640: INFO/qemu-props(52): received: > qemu.sf.lcd_density=160 > 06-04 16:58:23.640: INFO/qemu-props(52): received: > dalvik.vm.heapsize=16m > 06-04 16:58:23.900: DEBUG/qemud(37): fdhandler_accept_event: accepting > on fd 10 > 06-04 16:58:23.900: DEBUG/qemud(37): created client 0xe078 listening > on fd 11 > 06-04 16:58:23.900: DEBUG/qemud(37): fdhandler_event: disconnect on fd > 11 > 06-04 16:58:23.929: DEBUG/qemud(37): fdhandler_accept_event: accepting > on fd 10 > 06-04 16:58:23.929: DEBUG/qemud(37): created client 0xe078 listening > on fd 11 > 06-04 16:58:23.929: DEBUG/qemud(37): client_fd_receive: attempting > registration for service 'gsm' > 06-04 16:58:23.929: DEBUG/qemud(37): client_fd_receive: -> received > channel id 2 > 06-04 16:58:23.939: DEBUG/qemud(37): client_registration: registration > succeeded for client 2 > 06-04 16:58:24.369: DEBUG/AndroidRuntime(32): >>>>>>>>>>>>>> > AndroidRuntime START <<<<<<<<<<<<<< > 06-04 16:58:24.369: DEBUG/AndroidRuntime(32): CheckJNI is ON > 06-04 16:58:25.070: INFO/(33): ServiceManager: 0xacd0 > 06-04 16:58:25.089: DEBUG/AudioHardwareInterface(33): setMode(NORMAL) > 06-04 16:58:25.099: INFO/CameraService(33): CameraService started: > pid=33 > 06-04 16:58:25.119: INFO/AudioFlinger(33): AudioFlinger's thread > 0xb3d0 ready to run > 06-04 16:58:25.240: DEBUG/AndroidRuntime(32): --- registering native > functions --- > 06-04 16:58:25.880: INFO/SamplingProfilerIntegration(32): Profiler is > disabled. > 06-04 16:58:25.980: INFO/Zygote(32): Preloading classes... > 06-04 16:58:25.980: ERROR/Zygote(32): setreuid() failed. errno: 2 > 06-04 16:58:25.999: DEBUG/dalvikvm(32): GC_EXPLICIT freed 819 > objects / 47368 bytes in 16ms > 06-04 16:58:26.449: DEBUG/dalvikvm(32): GC_EXPLICIT freed 219 > objects / 13576 bytes in 8ms > 06-04 16:58:26.580: DEBUG/dalvikvm(32): GC_EXPLICIT freed 253 > objects / 14352 bytes in 12ms > 06-04 16:58:26.699: DEBUG/dalvikvm(32): GC_EXPLICIT freed 466 > objects / 28912 bytes in 9ms > 06-04 16:58:27.240: DEBUG/dalvikvm(32): GC_EXPLICIT freed 2090 > objects / 108368 bytes in 14ms > 06-04 16:58:27.589: WARN/MediaProfiles(32): could not find media > config xml file > 06-04 16:58:27.630: DEBUG/dalvikvm(32): GC_EXPLICIT freed 279 > objects / 15984 bytes in 12ms > 06-04 16:58:28.230: DEBUG/dalvikvm(32): GC_FOR_MALLOC freed 4964 > objects / 221896 bytes in 26ms > 06-04 16:58:28.320: DEBUG/dalvikvm(32): GC_EXPLICIT freed 924 > objects / 36592 bytes in 20ms > 06-04 16:58:28.490: DEBUG/dalvikvm(32): GC_EXPLICIT freed 544 > objects / 27176 bytes in 21ms > 06-04 16:58:28.570: DEBUG/dalvikvm(32): GC_EXPLICIT freed 402 > objects / 22096 bytes in 22ms > 06-04 16:58:28.910: DEBUG/dalvikvm(32): GC_EXPLICIT freed 286 > objects / 34176 bytes in 36ms > 06-04 16:58:29.089: DEBUG/dalvikvm(32): GC_EXPLICIT freed 277 > objects / 18872 bytes in 33ms > 06-04 16:58:29.519: DEBUG/dalvikvm(32): GC_EXPLICIT freed 319 > objects / 17808 bytes in 34ms > 06-04 16:58:29.788: DEBUG/dalvikvm(32): GC_EXPLICIT freed 452 > objects / 27648 bytes in 36ms > 06-04 16:58:29.960: DEBUG/dalvikvm(32): GC_EXPLICIT freed 265 > objects / 21832 bytes in 39ms > 06-04 16:58:32.309: DEBUG/dalvikvm(32): GC_EXPLICIT freed 508 > objects / 59600 bytes in 42ms > 06-04 16:58:32.440: DEBUG/dalvikvm(32): GC_EXPLICIT freed 639 > objects / 34760 bytes in 41ms > 06-04 16:58:32.600: DEBUG/dalvikvm(32): GC_EXPLICIT freed 842 > objects / 45968 bytes in 47ms > 06-04 16:58:34.129: DEBUG/dalvikvm(32): GC_FOR_MALLOC freed 12448 > objects / 449808 bytes in 56ms > 06-04 16:58:34.669: DEBUG/dalvikvm(32): GC_FOR_MALLOC freed 10024 > objects / 464616 bytes in 60ms > 06-04 16:58:35.199: DEBUG/dalvikvm(32): GC_FOR_MALLOC freed 8043 > objects / 414136 bytes in 60ms > 06-04 16:58:35.890: DEBUG/dalvikvm(32): GC_FOR_MALLOC freed 7980 > objects / 476368 bytes in 137ms > 06-04 16:58:36.660: DEBUG/dalvikvm(32): GC_FOR_MALLOC freed 7597 > objects / 473352 bytes in 64ms > 06-04 16:58:37.289: DEBUG/dalvikvm(32): GC_FOR_MALLOC freed 7476 > objects / 468608 bytes in 66ms > 06-04 16:58:38.080: DEBUG/dalvikvm(32): GC_EXPLICIT freed 6870 > objects / 399728 bytes in 62ms > 06-04 16:58:38.300: DEBUG/dalvikvm(32): GC_EXPLICIT freed 1539 > objects / 72440 bytes in 59ms > 06-04 16:58:38.460: DEBUG/dalvikvm(32): GC_EXPLICIT freed 447 > objects / 29352 bytes in 55ms > 06-04 16:58:38.609: DEBUG/dalvikvm(32): GC_EXPLICIT freed 315 > objects / 20088 bytes in 62ms > 06-04 16:58:38.630: INFO/Zygote(32): ...preloaded 1265 classes in > 12654ms. > 06-04 16:58:38.630: ERROR/Zygote(32): setreuid() failed. errno: 17 > 06-04 16:58:38.699: DEBUG/dalvikvm(32): GC_EXPLICIT freed 104 > objects / 14184 bytes in 62ms > 06-04 16:58:38.919: INFO/Zygote(32): Preloading resources... > 06-04 16:58:38.959: WARN/Zygote(32): Preloaded drawable resource > #0x1080093 (res/drawable-mdpi/sym_def_app_icon.png) that varies with > configuration!! > 06-04 16:58:38.959: WARN/Zygote(32): Preloaded drawable resource > #0x1080002 (res/drawable-mdpi/arrow_down_float.png) that varies with > configuration!! > 06-04 16:58:39.039: WARN/Zygote(32): Preloaded drawable resource > #0x10800b3 (res/drawable/btn_check.xml) that varies with > configuration!! > 06-04 16:58:39.050: WARN/Zygote(32): Preloaded drawable resource > #0x10800b6 (res/drawable-mdpi/btn_check_label_background.9.png) that > varies with configuration!! > 06-04 16:58:39.060: WARN/Zygote(32): Preloaded drawable resource > #0x10800b7 (res/drawable-mdpi/btn_check_off.png) that varies with > configuration!! > 06-04 16:58:39.060: WARN/Zygote(32): Preloaded drawable resource > #0x10800bc (res/drawable-mdpi/btn_check_on.png) that varies with > configuration!! > 06-04 16:58:39.099: WARN/Zygote(32): Preloaded drawable resource > #0x1080004 (res/drawable/btn_default.xml) that varies with > configuration!! > 06-04 16:58:39.140: WARN/Zygote(32): Preloaded drawable resource > #0x1080005 (res/drawable/btn_default_small.xml) that varies with > configuration!! > 06-04 16:58:39.179: WARN/Zygote(32): Preloaded drawable resource > #0x1080006 (res/drawable/btn_dropdown.xml) that varies with > configuration!! > 06-04 16:58:39.220: WARN/Zygote(32): Preloaded drawable resource > #0x1080008 (res/drawable/btn_plus.xml) that varies with > configuration!! > 06-04 16:58:39.249: WARN/Zygote(32): Preloaded drawable resource > #0x1080007 (res/drawable/btn_minus.xml) that varies with > configuration!! > 06-04 16:58:39.289: WARN/Zygote(32): Preloaded drawable resource > #0x1080009 (res/drawable/btn_radio.xml) that varies with > configuration!! > 06-04 16:58:39.359: WARN/Zygote(32): Preloaded drawable resource > #0x108000a (res/drawable/btn_star.xml) that varies with > configuration!! > 06-04 16:58:39.429: DEBUG/dalvikvm(32): GC_EXPLICIT freed 421 > objects / 26208 bytes in 67ms > 06-04 16:58:39.459: WARN/Zygote(32): Preloaded drawable resource > #0x1080131 (res/drawable/btn_toggle.xml) that varies with > configuration!! > 06-04 16:58:39.470: WARN/Zygote(32): Preloaded drawable resource > #0x1080194 (res/drawable-mdpi/ic_emergency.png) that varies with > configuration!! > 06-04 16:58:39.480: WARN/Zygote(32): Preloaded drawable resource > #0x1080012 (res/drawable-mdpi/divider_horizontal_bright.9.png) that > varies with configuration!! > 06-04 16:58:39.490: WARN/Zygote(32): Preloaded drawable resource > #0x1080014 (res/drawable-mdpi/divider_horizontal_dark.9.png) that > varies with configuration!! > 06-04 16:58:39.529: WARN/Zygote(32): Preloaded drawable resource > #0x1080016 (res/drawable/edit_text.xml) that varies with > configuration!! > 06-04 16:58:39.549: WARN/Zygote(32): Preloaded drawable resource > #0x108016d (res/drawable/expander_group.xml) that varies with > configuration!! > 06-04 16:58:39.589: WARN/Zygote(32): Preloaded drawable resource > #0x1080062 (res/drawable/list_selector_background.xml) that varies > with configuration!! > 06-04 16:58:39.599: WARN/Zygote(32): Preloaded drawable resource > #0x1080227 (res/drawable-mdpi/menu_background.9.png) that varies with > configuration!! > 06-04 16:58:39.620: WARN/Zygote(32): Preloaded drawable resource > #0x1080228 (res/drawable-mdpi/menu_background_fill_parent_width.9.png) > that varies with configuration!! > 06-04 16:58:39.639: WARN/Zygote(32): Preloaded drawable resource > #0x1080229 (res/drawable/menu_selector.xml) that varies with > configuration!! > 06-04 16:58:39.649: WARN/Zygote(32): Preloaded drawable resource > #0x1080234 (res/drawable-mdpi/panel_background.9.png) that varies with > configuration!! > 06-04 16:58:39.669: WARN/Zygote(32): Preloaded drawable resource > #0x108023b (res/drawable-mdpi/popup_bottom_bright.9.png) that varies > with configuration!! > 06-04 16:58:39.680: WARN/Zygote(32): Preloaded drawable resource > #0x108023c (res/drawable-mdpi/popup_bottom_dark.9.png) that varies > with configuration!! > 06-04 16:58:39.690: WARN/Zygote(32): Preloaded... > > read more » -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

