Back to project page StravaFlow.
The source code is released under:
MIT License
If you think the Android project StravaFlow listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package me.mattlogan.stravaflow.api.util; /*from ww w. j a v a 2s. c o m*/ import android.content.Context; import java.util.HashMap; import java.util.Map; import me.mattlogan.stravaflow.R; public class ApiUtils { public static Map<String, String> getAuthParams(Context context, String code) { Map<String, String> params = new HashMap<String, String>(); params.put("client_id", context.getString(R.string.client_id)); params.put("client_secret", context.getString(R.string.client_secret)); params.put("code", code); return params; } }