[android-developers] how to capture back key event for Popup window

2010-02-09 Thread elephantbug
hi, I have one pop up window which will be launched when user click on an image view. And I notice when I clicks back key, the pop up window will disappear. My question is where this pop up window goes, it it destroyed? How can I intercept the back key event and do something? Thanks. -- You

[android-developers] [urgent]Quick Contact Tack Implementation

2010-01-28 Thread elephantbug
Hi, I would like to implement the similar widget as QuickContactBadge from which I can launch some internal activities. I checked out the source code for QuickContactBadge, QuickContactActivity etc and simplified them to accommodate our requests. It can launch and display at correct position.

[android-developers] Out Of Memory issue

2008-12-08 Thread elephantbug
Hi, Our application sometimes runs out of memory, especially on the map view. Below it the exception we got, anyone can give any hint about what might be the cause? Is there any known issue about MapView? W/System.err( 193): OutOfMemory E/MapView ( 193): IllegalStateException on drawMap.

[android-developers] CheckedTextView default setting does not work?

2008-10-14 Thread elephantbug
or setChecked when I bind the adapter with the listView. Everything is in vain for now. Anyone can share some clue? --elephantbug --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post

[android-developers] How to launch SMS message edit from API

2008-09-30 Thread elephantbug
? --elephantbug --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL

[android-developers] Junit BasicHttpParam Exception

2008-09-29 Thread elephantbug
= new DefaultHttpClient(cm, params); Thanks. --elephantbug --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com

[android-developers] Re: ItemizedOverlay with dynamic items exception problem

2008-09-25 Thread elephantbug
) { return mFriendList.get(i); } --elephantbug On Sep 24, 10:56 pm, Peter Stevenson [EMAIL PROTECTED] wrote: Hi this can be trigger by not create OverlayItem //customizedItemizedOverlay protected class FriendOverLay

[android-developers] View after ListView does not show up

2008-09-22 Thread elephantbug
android:gravity=center android:text=bottom here / /LinearLayout The list displays perfectly, however, the button at bottom never shows up.. If I put the button on top of the list, it works fine. Anyone know the reason? --elephantbug

[android-developers] Re: listActivity and checkBox

2008-09-19 Thread elephantbug
Hi, Mark, I will go and extend the Adapter for full flexibility. Thanks for your recommendation. --elephantbug On Sep 18, 5:41 am, Mark Murphy [EMAIL PROTECTED] wrote: elephantbug wrote: It works fine. Now my question is how to differentiate those populated TextView? Do they have

[android-developers] Re: How to launch the street view from map view

2008-09-19 Thread elephantbug
Anyone? On Sep 9, 2:42 pm, elephantbug [EMAIL PROTECTED] wrote: Thanks Megha. I think my first question is: In the map application on Android, I can not only see thestreetview (blue outline on the map) but also I can click one location and launch thestreetview(like in Google Map). I am

[android-developers] listActivity and checkBox

2008-09-18 Thread elephantbug
? Do they have different IDs? If the list item is a complex view with checkBox or radio button, how can we check their status/state respectively? Thanks. --elephantbug --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[android-developers] Re: WebView display nothing with TabHost

2008-09-13 Thread elephantbug
Hi, Megha, It works!!!... Thanks so much. --elephantbug On Sep 12, 3:07 pm, Megha Joshi [EMAIL PROTECTED] wrote: It seems like you won't get the proper hook into the WebView for changing its contents on load, if you load tab's content by id. I was able to make this work using

[android-developers] How to exit the application completely from any screen

2008-09-13 Thread elephantbug
Hi, Is there a way to exit the application completely at any place? call finish() will only exit the current activity. I tried to getApplication() from activity and call its onTerminate() directly... but it seems not working at all... Anyone can give any clue how to do it? Thanks

[android-developers] Re: How to exit the application completely from any screen

2008-09-13 Thread elephantbug
this. The user can just press the Home key to exit the app. On Fri, Sep 12, 2008 at 6:27 PM, elephantbug [EMAIL PROTECTED] wrote: Hi, Is there a way to exit the application completely at any place? call finish() will only exit the current activity. I tried to getApplication() from

[android-developers] Re: WebView display nothing with TabHost

2008-09-12 Thread elephantbug
); Still nothing displayed.. On Sep 11, 8:56 pm, Megha Joshi [EMAIL PROTECTED] wrote: 2008/9/11 elephantbug [EMAIL PROTECTED] Hi, The WebView shows nothing the very first time, however, if you switch to other TAB and return back, everything is displayed. Here is my XML file

[android-developers] WebView display nothing with TabHost

2008-09-11 Thread elephantbug
://code.google.com/p/android/issues/detail?id=678 http://www.mail-archive.com/android-developers@googlegroups.com/msg02420.html --elephantbug --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post

[android-developers] Re: WebView display nothing with TabHost

2008-09-11 Thread elephantbug
Mark, I tried that. The problem still persists... I even tried to some simple Html in onCreate method... nothing displayed at all.. On Sep 11, 4:18 pm, Mark Murphy [EMAIL PROTECTED] wrote: elephantbug wrote: The WebView shows nothing the very first time, however, if you switch to other

[android-developers] Re: How to launch the street view from map view

2008-09-09 Thread elephantbug
has some way to do the same thing. The setStreetView(true) in MapView will only display the blue outline. I am not sure how to launch the street view. By the way, thanks for the answer for second question too. On Sep 5, 1:45 pm, Megha Joshi [EMAIL PROTECTED] wrote: 2008/9/4 elephantbug [EMAIL

[android-developers] How to launch the street view from map view

2008-09-05 Thread elephantbug
New to android, please forgive if this question sounds naive. The latest MapView can check whether the map is in street view mode and allow users to toggle it. However, the set street view api only display the blue layout on top of the map. Is there any way that I can launch the street view

[android-developers] Re: How to set initial MapActivity zoom level?

2008-09-05 Thread elephantbug
mapView.getMapController().setZoom(int zoomLevel) zoomLevel is between 1 to 21 inclusive. You can set the initial zoom level in OnCreate(). Hope it can help. JM. On Sep 4, 11:12 pm, Mark Wyszomierski [EMAIL PROTECTED] wrote: Hi, I've added a MapActivity to my application. How can we set