[android-developers] Re: Set multiple form parameters

2010-05-14 Thread inbrain
Doesn't setParams(HttpParams params) method suit you? It is declared in HttpMessage which is one of interfaces implemented by HttpPost On 14 May, 12:40, pawan nimje wrote: > I want to send a post request. This is what i have done- > > HttpClient client = new DefaultHttpClient(); > HttpPost httpos

[android-developers] Re: (Bug?) Back button triggers several times in different tasks

2010-05-13 Thread inbrain
Excuse me, what is A's status? And what I should be able to debug? On 13 May, 16:43, gujian wrote: > I think this situation depend on A'status.you can debug it with "Log.d()"and > then you can get your answer! > > 2010/5/13 inbrain > > > > > >

[android-developers] Re: (Bug?) Back button triggers several times in different tasks

2010-05-13 Thread inbrain
1) I'm using Android 1.6 2) Sorry, but I was not asking for workaround (which I think should be clear from description). I wanted (and still want) to know why does it work in this (IMO) BROKEN way! I can not use onKeyDown() in my real-life code which suffers from this problem. I only put this mini

[android-developers] Re: (Bug?) Back button triggers several times in different tasks

2010-05-12 Thread inbrain
activity A) On May 8, 8:03 am, Romain Guy wrote: > How is it strange? You wrote code that displays a Toast when the back > key is pressed, and it does exactly that. > > > > > > On Wed, May 5, 2010 at 8:48 AM,inbrain wrote: > > I found behavior which I can not unders

[android-developers] (Bug?) Back button triggers several times in different tasks

2010-05-07 Thread inbrain
I found behavior which I can not understand related to event handling. I have task one with activity A on top of it: public class A extends Activity { private static final String MMS_PACKAGE = "com.android.mms"; private static final String SMS_INTENT_EXTRA_NAME = "sms_body"; private st