Could I get available package from somewhere?

by wangsuya » Fri, 26 Feb 2010 14:17:11 GMT

Sponsored Links
 Dear every one

     Because I could not get avaible package from "Android SDK and AVD
manager" of eclipse, could I get this avaible packages from somepalce?
hope help thanks in advance


Other Threads

1. Content Length -1 in HTTP Response / Parial Read

  1. Implemented an application, that does a webservice call to our
servers. when the response size is around 200 Kb, iam receiving the
content length as -1. It works well in Droid/ADP1/etc (receiving the
original length) but fails in HTC My Touch and HTC DREAM.

  2. When i replace, the content length , with 200000 , when the
content length is -1. Still, cannot able to read the complete chunk
from the input stream.

This issue can be in other devices too.
The issue could be with the buffer size/allocation ?

Here is that piece of code:
 private byte[] doHttpRequest(String url,String req) throws
IOException {
        InputStream is = null;
        HttpURLConnection c = null;
       OutputStream os = null;

                String errMsg = null;
                try {

                        c = (HttpURLConnection) new URL(url)

                       c.setRequestProperty("Content-Language", "en-US");
                       os.write(("mobile_request=" +
                        rc = c.getResponseCode();
                        if (rc != HttpURLConnection.HTTP_OK) {

                                throw new IllegalResponseCodeException("HTTP 
response code: "
                                                + rc);
                        is = c.getInputStream();
                        int len = (int) c.getContentLength();
                        // Length=-1 , incase of HTC DREAM/HTC Touch
                        if (len > 0) {
                                int actual = 0;
                                int bytesread = 0;
                                byte[] data = new byte[len];
                                while ((bytesread != len) && (actual != -1)) {
                                        actual =, bytesread, len - 
                                        bytesread += actual;
                                return data;


2. Accessing the /data folder

I'm working on a android project and we're wondering if there is any
way to access all the data on the "/data" folder. I'm asking this
because we need to copy (and paste) all the data on that folder and,
so far, we couldn't find a way to do that.

I know that normally we don't have access due to security (with access
we could modify/read anything that other apps uses), but is that
anyway (signing the app with a Recognized Certificate Authority to
have full access, like we can with J2ME) to have this kind of "power"?

Once more, I don't care with the files inside this folder, I just need
to copy and paste it (I don't care if it's encrypted, for example).


PS: I heard that with a rooted device I could have access to that
folder, but this is not something that we can use (we can't ask the
customer to root their cell phones :P)


3. android development and multiple carriers

4. Android UI questions

5. Tapee deee

6. Testing software rendering

7. Do Android chrome Webkit have a plan about supporting Xpath?