Re: [android-developers] HTTPS POST problem

2011-01-06 Thread Michael Rueger
On 1/6/11 7:02 AM, Filiz Gökçe wrote: There is no exception in both cases. Generally we get proper response for the first time but null response in the second time eventhough we are tying to post same url and same parameters. See this bug report:

Re: [android-developers] Does HttpsURLConnection has a bug in the way it tests connections for reuse?

2010-09-28 Thread Michael Rueger
Hi Lidia I have a strange bug, it is working good only every first and third time,namely: see http://code.google.com/p/android/issues/detail?id=7074 Michael -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

Re: [android-developers] SSL handshake logging in Android

2010-05-02 Thread Michael Rueger
On 5/1/10 7:20 PM, sandy8531 wrote: I am having trouble with my HttpsURLConnection client. I can make one request to the server using my keystore, however the second (and subsequent) requests in the same JVM fail. ( I initialize a SSLSocketFactory using my keystore and set it on my

Re: [android-developers] Re: HTC Desire keyboard problem

2010-04-21 Thread Michael Rueger
On 4/21/2010 7:31 AM, jamesc wrote: The solution is that you shouldn't use onKey() but implement an InputConnection to handle key presses: http://groups.google.com/group/android-developers/browse_thread/thread/c800a10de864780d Just in time :-) Thanks! Michael -- You received this message

Re: [android-developers] Re: HTC Desire keyboard problem

2010-04-19 Thread Michael Rueger
On 4/18/2010 3:43 PM, jamesc wrote: Hi Michael It'll be the Sense UI's IME which has different behaviour to the stock Android IME. Sadly, I'd suggest that you get your hands on a Sense UI- Thanks for the hint, I found this issue for the problem:

[android-developers] HTC Desire keyboard problem

2010-04-17 Thread Michael Rueger
Hi all, a day away from deployment... Our application which we had tested on a G1 with 1.6 and a Nexus with 2.1 suddenly has unexpected problems on a HTC desire (German version) with 2.1. It seems that the keyboard behaves differently: - event.getAction() == KeyEvent.ACTION_UP doesn't

Re: [android-developers] Re: Database insertion timings

2010-04-12 Thread Michael Rueger
On 4/12/2010 10:59 AM, Yahel wrote: Hi Alok, Posting some logic, or some sql would help us see if you are missing something :) (excessive) use of indices comes to mind :-) Michael Yahel On 12 avr, 08:50, Alok Kulkarnikulsu...@gmail.com wrote: Hi, I am inserting around 7000 to 8000

Re: [android-developers] 'Avoiding memory leaks' article in android blog

2010-04-10 Thread Michael Rueger
On 4/10/2010 10:38 AM, NoraBora wrote: I understand sBackground has a reference to TextView, and the TextView has a reference to Activity. I know when a device is rotated, Activity is destroyed and created again. but I think when a new Activity is created, sBackground setCallback a new

Re: [android-developers] Listadapter issue

2010-04-06 Thread Michael Rueger
On 4/6/2010 6:03 PM, raqz wrote: Hi, I am trying to record the selection made by the user in the array. But when I run the app, it crashes the moment I click something. Please let me know what could be done for this. public class ListViewExample extends ListActivity { public int a[];

Re: [android-developers] Re: Listadapter issue

2010-04-06 Thread Michael Rueger
On 4/6/2010 6:17 PM, raqz wrote: I am trying to record the position into the array a[]. And everytime somebody clicks some row in the list, the i value needs to be incremented. Anything wrong with that? Please suggest some other alternative if you have anything in mind. You need a growing data

Re: [android-developers] HttpsUrlConnection and OpenSSL freeing session

2010-04-01 Thread Michael Rueger
On 3/30/2010 1:18 PM, Lee wrote: I've got a problem with my application when I make a number of requests using the HttpsUrlConnection class. It might be related to this: http://code.google.com/p/android/issues/detail?id=7074 Michael -- You received this message because you are subscribed to

Re: [android-developers] Can we release an updated version of app with lower min sdk?

2010-04-01 Thread Michael Rueger
On 4/1/2010 6:36 PM, Achanta wrote: We have an app thats running on 1.6 and higher but we want it to be able to run on 1.5 also. So I tested the app with 1.5 and everything works fine. So if I want to release this app can I release it as an update for my older app with just changing

Re: [android-developers] Re: Is this a joke or a spam or another April 1st prank?

2010-04-01 Thread Michael Rueger
On 4/1/2010 6:49 PM, Achanta wrote: I got another mail saying this has not been delivered too and I don't undertstand how someone else other than Google groups is sending me a mail in reply to the mail I have sent. could be one of the subscribers has an email that bounces with dreamhost and

Re: [android-developers] HttpPost works with Wifi, not with Mobile...

2010-02-20 Thread Michael Rueger
On 1/3/2010 6:52 PM, p1erstef wrote: Any idea of where the problem could come from? are you using https? http://groups.google.com/group/android-developers/browse_thread/thread/da53e83f48ff7778?hl=en http://groups.google.com/group/android-developers/msg/7a6752d0e77334c9?hl=en Michael --

Re: [android-developers] Re: https connection problem

2010-02-20 Thread Michael Rueger
On 2/20/2010 6:53 PM, jotobjects wrote: What actual change did you make to the server? The link you provided is for MSIE client connections so it is not clear what change you made for Android client connections. Oh, right, I actually meant to post that using ssl-unclean-shutdown is enough to

Re: [android-developers] https weirdness (really ksoap2)

2010-02-12 Thread Michael Rueger
of deep debugging into ssl classes let me see where exactly that goes wrong. Any more insight would be appreciated. Michael On 2/11/2010 7:41 PM, Michael Rueger wrote: Hi all, I'm using ksoap over https to request data from a server. It works fine, but only every other time! Looking

Re: [android-developers] https weirdness (really ksoap2)

2010-02-12 Thread Michael Rueger
On 2/12/2010 12:26 PM, Michael Rueger wrote: answering to my own post, for whom it may concern. Turns out in the ksoap HttpTransportSE setup the innocent looking line connection.setRequestProperty(Connection, close); seems to be the culprit. Removed it, now it seems to work. well, it only

Re: [android-developers] https connection problem

2010-02-12 Thread Michael Rueger
Hi all, last time from me for now ;-) I've uploaded a tiny test project here http://impara.de/michael/TestSSL.zip that demonstrates every other request failing to work. For now I will hack some ugly workaround simply repeating the request if the first one fails. It must be something

Re: [android-developers] https connection problem

2010-02-12 Thread Michael Rueger
On 2/12/2010 5:27 PM, social hub wrote: connection.connect(); OutputStream os = connection.getOutputStream(); os.write(requestData, 0, requestData.length); os.flush(); os.close(); InputStream is; connection.connect(); seems like u have two

Re: [android-developers] https connection problem

2010-02-12 Thread Michael Rueger
On 2/12/2010 6:05 PM, social hub wrote: Once I replaced the url with https://mail.google.com it is fine i got each attempt succesful same for me here With ur url connection is successful all time except read happened every other time probably something do with ssl server hmm, interesting

Re: [android-developers] https connection problem

2010-02-12 Thread Michael Rueger
On 2/12/2010 6:27 PM, social hub wrote: What did u see in wireshark. is this your test server. do you have any specific details about the server side ok, the idea with the server side pointed me in the right direction. Sort of... I found notes about connection problems with older IE

[android-developers] https weirdness

2010-02-11 Thread Michael Rueger
Hi all, I'm using ksoap over https to request data from a server. It works fine, but only every other time! Looking at the traffic with wire shark it seems that on every other request something goes wrong with the ssl traffic/handshake (data doesn't even get sent except for an fc-fault

Re: [android-developers] Re: Variable values just get lost!??!?

2010-02-08 Thread Michael Rueger
On 2/8/2010 11:58 AM, Florian Lettner wrote: afterwards connect() is called which uses the member variable, the member has got its initial value again, like it is a different object. Is it the inital value from a variable initialization? (e.g. int variable = 0; ) If so, what I ran into is

Re: [android-developers] Web service client

2010-01-09 Thread Michael Rueger
On 1/9/2010 10:32 AM, ls02 wrote: How do I implement SOAP Web service client on Android? Can someone point me to any examples? http://code.google.com/p/ksoap2-android/ There were a few discussions about using it on this list, just search the archives. Michael -- You received this message

Re: [android-developers] iPhone to Android: Creating good Android Interfaces

2010-01-08 Thread Michael Rueger
On 1/8/2010 7:57 AM, Ben Gotow wrote: Hey everybody, I'm porting an iPhone app to Android and I'm having trouble designing an interface that looks and feels Android. I've read all of the design documents in the Android Dev Guide and looked through all the Google-designed apps, but I feel like

Re: [android-developers] The audacity !

2009-11-18 Thread Michael Rueger
Disconnect wrote: Report them to paypal :) Or start downloading. *a lot* ;-) -- 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 this group, send

Re: [android-developers] Securing a paid app

2009-11-15 Thread Michael Rueger
jax wrote: I am wondering how I might go about securing a paid app on Android. I am thinking of selling the application from my own website via PayPal, however, how will I stop people from sharing it with their friends etc. Does Android have any type of native support for this? An

[android-developers] Re: map overlay issue

2009-09-28 Thread Michael Rueger
Mark Murphy wrote: so how can I do for remove one mark only? There is no direct API for that as far as I can see. You may need to create a new ItemizedOverlay with the reduced set of marks, remove the old ItemizedOverlay from the getOverlays() collection, and add in the replacement.

[android-developers] Re: updating proximity alerts

2008-04-22 Thread Michael Rueger
hackbod wrote: It looks like a bug in the system, I'd suggest filing a bug report. :) It is already in the tracking system. Although I have a hard time understanding why it is only set to medium, as it touches an important core API of the system. But then, maybe developers don't make use of