I have to send the parameters to the server.
Below is the code, of how I am using `HashMap`.

I am getting error in this code, I tried declaring latitude and longitude as `double` and use `Double` in `Map`. If I do that I start getting an error in the other parameter which are of `String` type.

```
protected Map<String,Double,Double, String> getParams() {
    // Posting params to register url
    Map<String, Double, Double, String> params = new HashMap<String, Double, Double, String>();
    params.put("tag", "LocationUpdate");
    params.put("email", email);
    params.put("latitude", latitude);
    params.put("longitude", longitude );
    params.put("last_seen",last_seen );
    return params;
}

```