Go Back   Android Forums > Android Development > Application Development
Application Development Dev lounge for our application developers.

test: Reply
 
LinkBack Thread Tools
Old August 20th, 2012, 07:00 AM   #1 (permalink)
New Member
Thread Author (OP)
 
Join Date: Aug 2012
Posts: 1
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Angry Weird Networking Bug

Hi,

I am working on an application that contains some legacy code that uses URlConnection object to send and receive data.

I am running into a weird issue. Most of the time things work fine. However sometimes when I call connection.getIntputStream() I get back an instance of LocalCloseInputStream that has no data in it. Normally (when things work) I get back an instance of LimitedInputStream.

When looking at tcpdumps I can see that all the data has gotten to the device itself so I don't think it is a problem with the network/vpn that I am running on.

This device is running android 2.2. I would much rather be running a newer version of android but for a number of reasons I am stuck with 2.2.

Any idea what might be happening and how I can fix it?

Thanks,

Bram Cymet

Advertisements
bcymet is offline  
Reply With Quote
sponsored links
Reply
Tags
android 2.2, java, network


Go Back   Android Forums > Android Development > Application Development
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 05:52 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.