Show your tax for G1 Dev Phone?

by Margaret » Fri, 02 Jan 2009 12:57:45 GMT


Sponsored Links
 HI,ALl

last night I saw the open handset magazine, one of the author live in
UK written:


He has paid > 500 US Dollar for the G1 Dev phone, 399$ + tax + shipments fee


Tell me yours


mawei...@gmail.com
13585201588

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



Other Threads

1. Get IOException in HTTPClient.execute(httppost)

I am trying to upload a image file to server and get back a JSON
Object.

But an IOException was thrown out. Following is my codes, can anybody
have a look at them?

Thanks.

private static String httpPostFileUpload(HttpClient client,
                        String fileName, String uploadUrl) {
                String result = "";
                File file = new File(Environment.getExternalStorageDirectory() 
+ "/"
+ fileName);
                Log.d(TAG, file.getName());
                //FileEntity reqEntity = new FileEntity(file, "jpg");
                MultipartEntity
                ContentBody bin = new FileBody(file);
                try {
                        reqEntity.addPart("string_field",
                                        new StringBody("field value"));
                } catch (UnsupportedEncodingException e) {
                        Log.e(TAG, e.toString());
                }
                reqEntity.addPart("attached_file", bin);
                HttpPost httpPost = new HttpPost(uploadUrl);
                httpPost.setHeader("Content-Type", "multipart/form-data");
                // Entity to hold request
                httpPost.setEntity(reqEntity);
                HttpResponse response = null;
                // Entity to hold response
                HttpEntity respEntity = null;
                try {
                        response = client.execute(httpPost);
                        respEntity = response.getEntity();
                        if (respEntity != null) {
                                InputStream inStream = respEntity.getContent();
                                result = convertStreamToString(inStream);
                        }
                } catch (ClientProtocolException e) {
                        Log.e(TAG, "ClientProtocolException: " + 
e.getMessage());
                } catch (IOException e) {
                        Log.e(TAG, "IOException: " + e.getMessage());
                }
                return result;
        }

-- 

2. Is there a way to get the app drawer to refresh?

I've got a bunch of live wallpapers for sale, and have a lot of 1-star
comments that just say "Doesn't open".  This is because there's no
launcher activity, so the open button is greyed out after download.
I'm attempting to fix this by including an activity that explains what
to do, and I'm trying to avoid useless app clutter by disabling that
activity once they've successfully used the wallpaper.

This seems to work fine, the problem is the app icon doesn't go away
right away.  It stays in the app drawer and if you tap it you get a
"this has been disabled" message.  Eventually it will be removed if
the phone is rebooted or if the home app is restarted.

I'd like to clean this up.  Is there a way to tell Home to refresh
this list, or to otherwise tell it to remove the icon from the
listing?  It seems a bit rude to process kill Home for this purpose,
and clearly something like this happens when an app is installed/
uninstalled.

-- 

3. Problem in Factory reset .

4. Imsdroid account setting issue with HTC desire [resolution 480*800]

5. About magnetic filed report unit in android

6. How to know if somebody has changed the Locale in Settings->Language & keyboard

7. Show a bubble when tap on marker