[android-beginners] Re: Eclipse lockups and crashes

2010-08-03 Thread -DC-
I20100608-0911. Perhaps Java SDK 1.6.0_21 is too new but I did no further testing. It is indeed very annoying and I have to be continuously prepared for Eclipse locking up. Regards On Aug 3, 2:33 am, -DC-diskcras...@gmail.com  wrote: I'm using Eclipse (eclipse-java-galileo-SR2-win32

[android-beginners] Re: Eclipse lockups and crashes

2010-08-03 Thread -DC-
I20100608-0911. Perhaps Java SDK 1.6.0_21 is too new but I did no further testing. It is indeed very annoying and I have to be continuously prepared for Eclipse locking up. Regards On Aug 3, 2:33 am, -DC-diskcras...@gmail.com  wrote: I'm using Eclipse (eclipse-java-galileo-SR2-win32

[android-beginners] Eclipse lockups and crashes

2010-08-02 Thread -DC-
I'm using Eclipse (eclipse-java-galileo-SR2-win32) with ADT rev 6 and have Java SDK 1.6.0_21 installed on my system. Eclipse locks up and/or crashes on me regularly while coding. I've lost unsaved code and even my Eclipse preferences before. It's maddening! Does anyone know what might be causing

[android-beginners] Re: Unable to ping host from app but can otherwise

2010-07-08 Thread -DC-
Apparently isReachable doesn't work reliably on Android (needs root?) I ended up using the method described here: http://stackoverflow.com/questions/2935325/android-debugging-inetaddress-isreachable/2935468#2935468 On Jul 4, 10:13 am, -DC- diskcras...@gmail.com wrote: Here's my code

[android-beginners] Saving contents of a Spinner with onSaveInstanceState

2010-06-19 Thread -DC-
I've got an app that uses a Spinner tied to an Adapter. I want to be able to save its contents when onSaveInstanceState is called, but am not sure which put method of the Bundle class I can use to do this? protected void onSaveInstanceState(Bundle outState) { //TODO: Figure out how to

[android-beginners] MediaPlayer and HTTP authentication?

2010-03-12 Thread -DC-
Does anyone know if there's a way to tell MediaPlayer to authenticate with an HTTP source (login/pass)? Setting an Authenticator in the code doesn't seem to do it. -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging

[android-beginners] Spinner not displaying the selectedItem

2010-03-10 Thread -DC-
I'm using a Spinner view to display a list of items (file names) and frequently refreshing it with new data. I've ran into a situation where the item being displayed in the view is not the item actually selected. This happens after programatically calling setSelection(). I started wondering if

[android-beginners] Re: Detecting spinner selections

2010-03-05 Thread -DC-
On Mar 4, 8:18 pm, TreKing treking...@gmail.com wrote: Whoops. I meant setOnItemSelectedListener(), that's the link in my original post and that's the anonymous class I posted in the example. Sorry for the confusion. Cool, this appears to be working. Thanks a bunch!

[android-beginners] Re: Detecting spinner selections

2010-03-04 Thread -DC-
( this, android.R.layout.simple_spinner_item, (String[]) result1.toArray(new String[result1.size()])); adapter.setDropDownViewResource(android.R.layout.simple_spinner_item); mDirectories.setAdapter(adapter); On Mar 4, 7:16 am, TreKing treking...@gmail.com wrote: On Wed, Mar 3, 2010 at 10:07 PM, -DC- diskcras

[android-beginners] Re: Detecting spinner selections

2010-03-04 Thread -DC-
/binding.html On Mar 4, 3:56 pm, TreKing treking...@gmail.com wrote: On Thu, Mar 4, 2010 at 5:44 PM, -DC- diskcras...@gmail.com wrote: Great, but I'm not sure how I use it. Can you provide some sample code based on what I've currently got (below)? The link I gave you is for setting

[android-beginners] Detecting spinner selections

2010-03-03 Thread -DC-
I've been struggling with this issue for days now. I've got a spinner control set up to display items. It works but I need a way to know when a selection has been made in the control. It doesn't appear that I can set an OnItemClickListener. The SDK says:

[android-beginners] Re: illegal characer in URI ?

2010-02-15 Thread -DC-
IllegalArgumentException        if theuriis invalid. Regards, Ivan On 2月15日, 上午6時48分, -DC- diskcras...@gmail.com wrote: How are you creating the URL? Try one of these methods: path = URLEncoder.encode(finance.yahoo.com/q/hp?s=^DJI, UTF-8); uri= newURI(http://; + path); ...or... uri

[android-beginners] Re: illegal characer in URI ?

2010-02-14 Thread -DC-
How are you creating the URL? Try one of these methods: path = URLEncoder.encode(finance.yahoo.com/q/hp?s=^DJI, UTF-8); uri = new URI(http://; + path); ...or... uri = new URI(http, finance.yahoo.com, /q/hp?s=^DJI, ); On Feb 13, 11:55 pm, ivanchan ivanm...@gmail.com wrote: Hi all, I am

[android-beginners] Re: Wifi -- 3G when the phone goes into stand-by mode

2008-12-23 Thread dc . disconnect
It happens regardless of ac status. I seem to recall a setting that prevents lock/blank on ac, that is your best bet. On 12/23/08, Sander avirule...@gmail.com wrote: Ah, thank you for your clarification. It's not even possible to disable this kind of behaviour when the phone is connected to a