This is a snip of my code
URL sourceURL = new URL(urlStr); URLConnection con = sourceURL.openConnection(); con.setRequestProperty("Content-Range", "bytes 0-200/"+pbMax); //sets a chunck to download InputStream inStream=(InputStream)con.getContent(); int pbMax =con.getContentLength(); Log.w("TAG",""+pbMax); //but this returns the full length Help please? Thanks --~--~---------~--~----~------------~-------~--~----~ 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 email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---