[android-developers] How to get the Screen Mode (Landscape or portrait) in a service?

2009-02-04 Thread honglian...@gmail.com
Would you like to let me know how to get the Screen Mode (Landscape or portrait) in a service? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-de

[android-developers] Would you like to let me know how to display a static text description for each Geopoint in OverlayItem?

2009-01-05 Thread honglian...@gmail.com
hi all I want to add a static text discription to each marker OverlayItem in ItemizedOverlay. I tried to Override draw procedure of class ItemizedOverlay, but nothing can show up on the mapview. Would you like to help me out? Thank you very much. --~--~-~--~~~---~--

[android-developers] MapView couldn't drag&drop when Zoom Controller is displayed.

2008-12-30 Thread honglian...@gmail.com
Hi all In my map application I couldn't drag&drop the MapView when Zoom Controller is displayed. But I found SDK's maps application can do it. Would you like to let me know how to implement it in my code? Thank you very much. --~--~-~--~~~---~--~~ You received t

[android-developers] Re: Context menu can't be create on MapView.

2008-12-27 Thread honglian...@gmail.com
Would you like to answer me one more question? It seems the context menu is too broad. Would you like to let me know how to set it wrap_content? Thank you very much. On 12月27日, 下午4时31分, "honglian...@gmail.com" wrote: > hi Guillaume > I got it. Thanks for your valuable

[android-developers] Re: Context menu can't be create on MapView.

2008-12-27 Thread honglian...@gmail.com
clicks on the map, sorry. > > 2008/12/26 honglian...@gmail.com > > > > > > > > > hi Guillaume > >it seems I can't still work it out. log click got no response as > > before. below is the code and xml files. > > package android.de

[android-developers] MapView OnClickListener got no response.

2008-12-26 Thread honglian...@gmail.com
hi MapView OnClickListener got no response. The source code is as below. Would you like to give me a hand how to solve it? Thank you in advance. public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); mMapView

[android-developers] Re: Context menu can't be create on MapView.

2008-12-26 Thread honglian...@gmail.com
package="android.demo" android:versionCode="1" android:versionName="1.0.0"> On 12月26日, 下午9时56分, "Guillaume Perrot" wrote: > I have the same kind of code, which is working though. > The key difference may

[android-developers] Re: Context menu can't be create on MapView.

2008-12-26 Thread honglian...@gmail.com
don't you override the onCreateContextMenu directly in > MapActivity ? > > On Dec 26, 10:15 am, "honglian...@gmail.com" > wrote: > > > > > hi all > > I want to create a context menu when LongClick is hitted. As > > result mapview is opened s

[android-developers] Context menu can't be create on MapView.

2008-12-26 Thread honglian...@gmail.com
hi all I want to create a context menu when LongClick is hitted. As result mapview is opened successfully; but the LongClick got no response. Would you like to give me a hand how to solve it? Below is the complete code. Thank you very much. package android.demo; import com.google.android.maps

[android-developers] Could Chinese developper register Android market?

2008-12-11 Thread honglian...@gmail.com
hi all I Chinese developper have a MasterCard and want to register Android market. But I found the location item has not China. Would you like to let me know if I can ignore this item and use Chinese MasterCard (Bank of China) Android Market successfully? Thank you very much. --~--~-~-