Advertisement
Guest User

Untitled

a guest
Apr 19th, 2014
51
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.56 KB | None | 0 0
  1. @Override
  2. protected String doInBackground(Void... params) {
  3. String url = "http://limesurvey-dev.bdwarf.org/index.php/uploader/index/mode/upload/sid/surveyId/preview/0/fieldname/mFieldName/";
  4. JSONObject json = new JSONObject();
  5. try {
  6. json.put("sSessionKey", sessionKey);
  7. json.put("uploadfile",file);
  8.  
  9. String rr = jsonwebservice.httpConnection(json.toString(),url);
  10. Log.v("result ", ""+rr);
  11. } catch (JSONException e) {
  12. e.printStackTrace();
  13. }
  14. return null;
  15. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement