Re: [android-developers] DefaultHttpClient / AndroidHttpClient - Multiple Cookie Headers

2014-08-10 Thread Gaurav Vaish
solved using an external and newer HttpClient library in my project. Maybe it worth a try: http://code.google.com/p/httpclientandroidlib/ Regards Massimo Il 10/ago/2014 07:23 Gaurav Vaish gaurav.va...@gmail.com javascript:_e(%7B%7D,'cvml','gaurav.va...@gmail.com'); ha scritto

Re: [android-developers] DefaultHttpClient / AndroidHttpClient - Multiple Cookie Headers

2014-08-10 Thread Gaurav Vaish
through that. On Sun, Aug 10, 2014 at 7:19 AM, Gaurav Vaish gaurav...@gmail.com javascript: wrote: There is no other way to add cookie, isn't it? Or do you mean it is my responsibility to format / combine all cookies? What's the purpose of CookieSpecPNames.SINGLE_COOKIE_HEADER parameter

[android-developers] DefaultHttpClient / AndroidHttpClient - Multiple Cookie Headers

2014-08-09 Thread Gaurav Vaish
Hi, I noticed that DefaultHttpClient as well as AndroidHttpClient do not work nicely if multiple Cookie or Cookie2 headers are set in a request. I tried with a simple test code: String url = http://www.myserver.com;; DefaultHttpClient dhc = new DefaultHttpClient();

Re: [android-developers] DefaultHttpClient / AndroidHttpClient - Multiple Cookie Headers

2014-08-09 Thread Gaurav Vaish
set a cookie - you set a header. Twice. It's the expected result... On Sat, Aug 9, 2014 at 9:08 PM, Gaurav Vaish gaurav...@gmail.com javascript: wrote: Hi, I noticed that DefaultHttpClient as well as AndroidHttpClient do not work nicely if multiple Cookie or Cookie2 headers are set

[android-developers] Problem with JNI - using Multiple Native Methods in a library

2010-07-03 Thread Gaurav Vaish
in advance! -- Happy Hacking, Gaurav Vaish www.mastergaurav.com - JNI Code - jstring Java_com_example_hellojni_HelloJni_stringFromJNI( JNIEnv* env, jobject thiz

Re: [android-developers] Accessing Common methods among activities

2010-06-20 Thread Gaurav Vaish
-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- -- Cheers, Gaurav Vaish http

[android-developers] onDraw being called - is that correct?

2010-05-03 Thread Gaurav Vaish
? What's the best way / practices for the same? -- Happy Hacking, Gaurav Vaish www.mastergaurav.com -- 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

[android-developers] Re: onDraw being called - is that correct?

2010-05-03 Thread Gaurav Vaish
canvas. 2010/5/3 Gaurav Vaish gaurav.va...@gmail.com Hi, I have a custom view that I use in the activity. Here's the final structure: Button 1 My View Button 2 When either Button 1 or Button 2 are clicked, onDraw is dispatched to My View also. Is this the correct behaviour

[android-developers] Re: Dialog display duration

2010-04-20 Thread Gaurav Vaish
By custom dialog I meant... either using Dialog-Builder or a sub- class ;) -- Happy Hacking, Gaurav Vaish www.mastergaurav.com -- On Apr 20, 6:25 pm, ~ TreKing treking...@gmail.com wrote: On Mon, Apr 19, 2010 at 7:54 AM, angushir...@googlemail.com angushir

[android-developers] Asynchronous Updates to a custom View

2010-04-19 Thread Gaurav Vaish
... but of no use :( 2. What's the suggested approach to implement this kind of a UI... Thanks in advance. Happy Hacking, Gaurav Vaish www.mastergaurav.com -- -- You received this message because you are subscribed to the Google Groups Android Developers group

[android-developers] Re: saving username and passwd

2010-04-19 Thread Gaurav Vaish
Can you post the relevant code? -- Happy Hacking, Gaurav Vaish www.mastergaurav.com -- On Apr 20, 7:41 am, emada.adame emada.ad...@gmail.com wrote: Hello all Im trying to make an app that saves and later retrieves a users username and password in SQLite. so far

[android-developers] Re: Dialog display duration

2010-04-19 Thread Gaurav Vaish
after specified time. These views are modeless. Hope that helps. -- Happy Hacking, Gaurav Vaish www.mastergaurav.com -- On Apr 19, 5:54 pm, angushir...@googlemail.com angushir...@yahoo.co.uk wrote: Dear all,              I need to display an alert message

[android-developers] Re: Accessing protected fields from View subclass

2010-04-19 Thread Gaurav Vaish
You cannot use these fields unless you build your application along with the full Android application build. Although these fields are protected in code, they're pseudo-private after compilation (see @hide annotation). -- Happy Hacking, Gaurav Vaish www.mastergaurav.com

[android-developers] Activity Being Killed (onDestroy) on Orientation Change

2010-04-05 Thread Gaurav Vaish
but: a) The current activity is Destroyed and recreated -- which is fine to some extent b) The new instance which is created is automatically = onCreate, onPause, onStop, onDestroy now that's catastrophic. Any guesses as to why the new activity is killed? :( Thanks in advance. Happy Hacking, Gaurav

[android-developers] Handling Key Press from Soft Keyboard in EditText

2010-03-29 Thread Gaurav Vaish
Hi, I'm trying to handle the key-press event (OnKeyListener). I know that doesn't work http://groups.google.com/group/android-developers/browse_thread/thread/43c2140c0d687899 I tried to set a custom KeyListner (not OnKeyListener) using: 1. public void setKeyListener -- but the methods

[android-developers] Re: Handling Key Press from Soft Keyboard in EditText

2010-03-29 Thread Gaurav Vaish
: editText.addTextChangedListener(new TextWatcher());  this interface contains three methods,  which will be called accordingly when you type using soft keyboard. Nithin On Mar 29, 3:11 pm, Gaurav Vaish gaurav.va...@gmail.com wrote: Hi, I'm trying to handle the key-press event (OnKeyListener

[android-developers] Re: Handling Key Press from Soft Keyboard in EditText

2010-03-29 Thread Gaurav Vaish
critical -- Happy Hacking, Gaurav www.mastergaurav.com On Mar 29, 5:08 pm, Nithin nithin.war...@gmail.com wrote: use this , KeyboardView.OnKeyboardActionListener() Nithin On Mar 29, 3:24 pm, Gaurav Vaish gaurav.va...@gmail.com wrote: Hi Nithin, Thanks for your response however

[android-developers] Re: Layout Editor causes Eclipse to Crash

2010-03-03 Thread Gaurav Vaish
Here's an interesting observation... not sure about the repeatability If I leave Eclipse open for a long duration (pls don't ask how long)... the editor does not crash (at least this time). Can this be a hint towards solution? -Gaurav www.mastergaurav.com On Mar 3, 12:48 pm, Gaurav Vaish

[android-developers] Layout Editor causes Eclipse to Crash

2010-03-02 Thread Gaurav Vaish
Looking at the search results on the internet and on this group, I find several mentions of the problem... Eclipse crashes while opening layout in the editor. My current configuration: Java: Sun JDK 1.5.0_01 Eclipse: 3.5.1 (Build id: M20090917-0800) ADT: 3.5 Android SDK: 1.6 and