[android-developers] Text entry in landscape needs improvement

2010-11-25 Thread sirdan
I'm trying to use the built-in search UI provided by Android to provide search in my landscape-mode app. I find the UI to be clumsy and makes the user lose context by obscuring the entire screen when the entry field and keyboard appear. Is there a way that the text entry part of the search screen

[android-developers] Re: ContentResolver in a Service

2009-10-21 Thread sirdan
Thanks, Mark. I see it now. I need to call getContentResolver(). I was thinking I needed to create one, but it's already there. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to th

[android-developers] ContentResolver in a Service

2009-10-21 Thread sirdan
I want to be able to query a ContentProvider from a Service, so my understanding is I will need to use a ContentResolver. What I can't seem to find is how do I get a Context that I can use to create the ContentResolver with? Anyone know? --~--~-~--~~~---~--~~ You re

[android-developers] Re: MediaPlayer and 1.5 vs 1.6

2009-10-21 Thread sirdan
Right, I agree that 1.6 is a better minimum version to support at this point. --~--~-~--~~~---~--~~ 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@googlegr

[android-developers] Re: MediaPlayer and 1.5 vs 1.6

2009-10-20 Thread sirdan
Marco, thanks for the info. By level 3, I meant API Level 3. If android doesn't support it natively in 1.5, does anyone know if there is code available to do it? On Oct 20, 6:58 pm, Marco Nelissen wrote: > On Tue, Oct 20, 2009 at 12:08 PM, sirdan wrote: > > > In 1.6 I do

[android-developers] MediaPlayer and 1.5 vs 1.6

2009-10-20 Thread sirdan
In 1.6 I do the following to stream an mp3 shoutcast stream: MediaPlayer mp = new MediaPlayer(); try { mp.setDataSource("http://xxx.net/my.mp3";); mp.prepare(); } catch(Exception ex) { alert(ex.getMessage());