Code example for UnsupportedEncodingException

Methods: toString

0
            MultipartEntity post_data = new MultipartEntity();
            post_data.addPart("text", new StringBody(text));
            return doAction("ParseTasksMagically", post_data, true);
        } 
        catch (UnsupportedEncodingException e) {
            Log.d(TAG, e.toString());
        } 
        catch (IOException e) {
            Log.d(TAG, e.toString());
        } 
        return null; 
    } 
 
    // Call our AsyncTask subclass to do all the real work here. 
    public HmResponse doBraindumpAsyncTask(String text) throws HmAuthException {
        new BraindumpTask().execute(text);
        return null; 
    } 
 
    public HmResponse doSearchAsyncTask(String text) throws HmAuthException {
        new TaskSearchTask().execute(text);