Christan Audigier t-shirt.COOGI t-shirt,Smet t-shirt,gino green global t-shirt,artful dodger t-shirt,G-Star t-shirt. A&F t-shirt,Polo t-shirrt t-shirt,Affliction t-shirt t-shirt.COOGI clothing.Evisu

by Christan Audigier t-shirt.COOGI t-shirt,Smet t-shi » Tue, 14 Apr 2009 15:14:25 GMT


Sponsored Links
 Christan Audigier t-shirt.COOGI t-shirt,Smet t-shirt,gino green global
t-shirt,artful dodger t-shirt,G-Star t-shirt. A&F t-shirt,Polo t-
shirrt t-shirt,Affliction t-shirt t-shirt.COOGI clothing.Evisu
clothing, Dior Wallet,Chanel Wallet,Gucci Wallet.chanel
Sunglasses,Dior Sunglasses,Gucci Sunglasses.Prada Sunglasses.Armani
Sunglasses,Burberry Sunglasses,Fendi Sunglasses,DG Sunglasses,Okley
Sunglasses,Versace Sunglasses.Christan Audigier Cap, ED Hardy
Cap.artful dodger clothing, BAPE clothing, Christan Audigier
clothing,  Gino green global clothing, LRG clothing

please kindly visite our website:  http://www.nikestore88.com 
msn: nikestore...@hotmail.com
email: nikestore...@gmail.com


--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. Upload Error

hello,

     i m trying to upload more than one audio Files, having size more
than 4 mb each.
     but i m getting this exception

     06-29 18:22:40.739: ERROR/AndroidRuntime(727): Uncaught handler:
thread Thread-9 exiting due to uncaught exception
06-29 18:22:40.751: ERROR/AndroidRuntime(727):
java.lang.OutOfMemoryError
06-29 18:22:40.751: ERROR/AndroidRuntime(727):     at
java.io.ByteArrayOutputStream.expand(ByteArrayOutputStream.java:103)
06-29 18:22:40.751: ERROR/AndroidRuntime(727):     at
java.io.ByteArrayOutputStream.write(ByteArrayOutputStream.java:234)
06-29 18:22:40.751: ERROR/AndroidRuntime(727):     at
org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnection
$HttpOutputStream.write(HttpURLConnection.java:652)
06-29 18:22:40.751: ERROR/AndroidRuntime(727):     at
java.io.DataOutputStream.write(DataOutputStream.java:107)


  The code i use for uploading files is :

  private boolean uploadFile(File file, String urlString) {

                boolean isUploadOk = false;
                HttpURLConnection conn = null;
                DataOutputStream dos = null;
                FileInputStream fileInputStream = null;

                int maxBufferSize = 4096;

                try {

                        // Open a HTTP connection to the URL
                        URL url = new URL(urlString);
                        conn = (HttpURLConnection) url.openConnection();

                        // Allow Inputs
                        conn.setDoInput(true);
                        // Allow Outputs
                        conn.setDoOutput(true);
                        // Don't use a cached copy.
                        conn.setUseCaches(true);
                        // Use a post method.
                        conn.setRequestMethod("PUT");
                        conn.setRequestProperty("Connection", "Keep-Alive");

                        conn.setRequestProperty("Content-Type",
                                        "multipart/form-data;boundary=" + 
boundary);

                        dos = new DataOutputStream(conn.getOutputStream());
                        dos.writeBytes(twoHyphens + boundary + lineEnd);
                        dos.writeBytes("Content-Disposition: form-data; name=\""
                                        + file.getAbsolutePath() + 
"\";filename=\""
                                        + file.getName() + "\"" + lineEnd);
                        dos.writeBytes(lineEnd);

                        Log.e("", "Headers are written");

                        // create a buffer of maximum size
                        fileInputStream = new FileInputStream(file);
                        int bytesAvailable = fileInputStream.available();
                        int bufferSize = Math.min(bytesAvailable, 
maxBufferSize);

                        byte[] buffer = new byte[bufferSize];

                        // read file and write it into form...
                        int bytesRead = fileInputStream.read(buffer, 0, 
bufferSize);

                        while (bytesRead > 0) {
                                dos.write(buffer, 0, bufferSize);
                                bytesAvailable = fileInputStream.available();
                                bufferSize = Math.min(bytesAvailable, 
maxBufferSize);
                                bytesRead = fileInputStream.read(buffer, 0, 
bufferSize);
                                dos.flush();
                        }

                        buffer = null;

                        // send MULTIPART/FORM data necessary after file data.!
                        dos.writeBytes(lineEnd);
                        dos.writeBytes(twoHyphens + boundary + twoHyphens + 
lineEnd);

                        // close streams
                        Log.e("fileupload", "File is written");


                } catch (MalformedURLException ex) {
                        Log.e("fileupload", "error: " + ex.getMessage(), ex);
                }
                catch (IOException ioe) {
                        Log.e("Exception:: ", "error: " + ioe.getMessage(), 
ioe);

                }finally
                {
                        try
                        {
                                if(fileInputStream != null)
                                fileInputStream.close();

                        }catch (Exception e) {

                        }

                        try
                        {
                                if(dos != null)
                                {
                                dos.flush();
                                //dos.close();
                                }

                        }catch (Exception e) {

                        }

                        try
                        {
                                if(dos != null)
                                {

                                dos.close();
                                }

                        }catch (Exception e) {

                        }

                }



                return isUploadOk;
        }





--~--~---------~--~----~------------~-------~--~----~

2. DEAF Network - Developers - Tariff

Nine million people in the UK (15% of the population) suffer from
permanent, disabling hearing loss.

The estimated demographic figure has ranged from 22 million deaf and
hard of hearing to as high as 36 million deaf and hard of hearing
worldwide. Of these, only a few million are considered "deaf" and the
remainder are hard of hearing but cannot use a phone.

for 30 years this group has had to PAY for Unused "Call Time" and are
sick of it.

I will launch a Data only package for registered DEAF users within 3
months in the UK but wishes a a network would provide a worldwide
backbone for these services.

the first phone available will be the HTC HERO but other ANDROID
phones will be introduced later in the year.

I want to hear from DEAF Users - (especially the angry ones that are
fed up with the way DEAF users are treated)

I especially want to hear from developers that can provide as real
time as possible SUBTITLES to speech.

Switch on the app and anything heard by microphone could be sent to a
server for voice to text and squirted back to the phone. Come on IBM
we know you love Android :)

So All you can eat Data Plan - Pay for calls as you go. a Lovely
Android Phone and best of all IF your a network it could add millions
of  LOYAL customers and their mothers and brothers.

--~--~---------~--~----~------------~-------~--~----~

3. iphone style zoom

4. strace emulator: libsdl1.2-dev not working

5. IPsec support ?

6. question about LayoutInflater.inflate()' parameters

7. make call from application