Skip to content

Commit

Permalink
Fix url glitch
Browse files Browse the repository at this point in the history
  • Loading branch information
geremih committed Oct 28, 2014
1 parent baa4bad commit b6262ac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/src/main/java/xi/org/xispeech/MainActivity.java
Original file line number Diff line number Diff line change
Expand Up @@ -122,10 +122,10 @@ public void onActivityResult(int requestCode , int resultCode, Intent data) {
public void sendResult( String result){

SharedPreferences sharedPrefs = PreferenceManager.getDefaultSharedPreferences(this);
String url = sharedPrefs.getString("URL", "h");
String url = sharedPrefs.getString("URL", "http://192.168.1.139:9001/api");
HttpClient httpClient = new DefaultHttpClient();
// replace with your url
HttpPost httpPost = new HttpPost("http://192.168.1.139:9001/api");
HttpPost httpPost = new HttpPost(url);


//Post Data
Expand Down

0 comments on commit b6262ac

Please sign in to comment.