[android-developers] Is there a way to clear DNS Cache in Android

2010-12-06 Thread Sandeep N M
Hi, I am trying to do some validation in order to get the ipaddress only if the wifi is connected and ip is available, But strangely i am getting the cached ipAddress. I tried the following but was not much helpful. System.setProperty(networkaddress.cache.ttl, 0);

[android-developers] Re: EditText not able to regain focus.

2010-12-28 Thread Sandeep N M
Try editText.requestFocus() Regs Sandeep On Dec 27, 11:15 am, Andrew andresdr...@gmail.com wrote: No no, the method gets called. There might be a bug when adding focusable again. I know for sure .setFocusable gets called because the edittext becomes white again. On Dec 27, 1:08 am, praveena

[android-developers] Re: How to exit the application..?

2010-12-28 Thread Sandeep N M
System.exit(0); Gets you out of anywhere to home screen :). Regards Sandeep On Dec 27, 4:43 pm, Manoj Maurya manojk.mau...@gmail.com wrote: you have to call finish() whenever u want to exit. Thanks Manoj Kumar Maurya any help please... 2010/12/27 Abhilash baddam

[android-developers] Re: Listview selector no more color

2010-12-28 Thread Sandeep N M
Add this to layout/list.xml ?xml version=1.0 encoding=utf-8? LinearLayout xmlns:android=http://schemas.android.com/apk/res/ android android:orientation=vertical android:layout_width=fill_parent android:layout_height=wrap_content android:background=#f8f8f8 ListView

[android-developers] Re: Set credentials for a secured http connection via a Webview with setHttpAuthUsernamePassword

2010-12-29 Thread Sandeep N M
http://stackoverflow.com/questions/995514/https-connection-android Regards, Sandeep On Dec 27, 2:00 am, MattBol mboll...@gmail.com wrote: Hi, I would like to use a WebView to connect to a secure website over HTTPS, accept its certificate and automatically handle credentials (given previously