Skip to content
Snippets Groups Projects
Commit 41b1993f authored by Rizki Halasan's avatar Rizki Halasan
Browse files

fix bug add history

parent 7f19f4a4
Branches
No related merge requests found
......@@ -111,6 +111,7 @@ public class PushupActivity extends AppCompatActivity{
String urlstring = api.ADD_PUSHUP_HISTORY_URL+"user="+user+"&pushup_date="+pushup_date+"&pushup_time_start="+pushup_time_start+
"&pushup_time_end="+pushup_time_end+"&pushup_frequency="+pushup_frequency;
Log.d(LOG_TAG+" (URL) : ", urlstring);
if (android.os.Build.VERSION.SDK_INT > 9) {
StrictMode.ThreadPolicy policy = new StrictMode.ThreadPolicy.Builder().permitAll().build();
......
......@@ -106,8 +106,9 @@ public class SitupActivity extends AppCompatActivity{
public void addSitupHistory(String user, String situp_date, String situp_time_start,
String situp_time_end, String situp_frequency){
String urlstring = api.ADD_SITUP_HISTORY_URL+"user="+user+"&situp_date"+situp_date+"&situp_time_start"+situp_time_start+
String urlstring = api.ADD_SITUP_HISTORY_URL+"user="+user+"&situp_date="+situp_date+"&situp_time_start="+situp_time_start+
"&situp_time_end="+situp_time_end+"&situp_frequency="+situp_frequency;
Log.d(LOG_TAG+" (URL) : ", urlstring);
if (android.os.Build.VERSION.SDK_INT > 9) {
StrictMode.ThreadPolicy policy = new StrictMode.ThreadPolicy.Builder().permitAll().build();
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment