Android:converting int to string and passing to methods
<p>Hi I am using the android wheel and getting the values of the time as below</p>

<pre><code> //get values of the wheel
                   hourvalue = hours.getCurrentItem();
                   Log.d(TAG, "hour value" +hourvalue );

                   minutevalue = mins.getCurrentItem(); 
                   Log.d(TAG, "minute value" +minutevalue );
</code></pre>

<p>i want to pass them to a method as string , how can i do that and also  iam getting the values of hours and minutes separately i want to store the hours and minutes in a single string variable anAndroid :numberpicker in alert dailog</p>

<pre><code>private String getTraceId(String fbuserser,int hour) {
        String traceId = null;
        HttpClient client = new HttpClient();
        GetMethod get = null;
        try {

            get = new GetMethod("http://" + Constants.CLOUD_SERVER_URL
                    + Constants.facebookTrace);

                NameValuePair[] params = new NameValuePair[4];
            NameValuePair param = new NameValuePair();
            param.setName("gadget");
            param.setValue("gettraceid");

            params[0] = param;
            param = new NameValuePair();
                param.setName("fbuserid");
            param.setValue(fduserUser);
            params[1] = param;

            param = new NameValuePair();
            param.setName("expiry");
        -------------&gt;  param.setValue(hour);
            params[2] = param;

            get.setQueryString(params);
            int statusCode = client.executeMethod(get);
            traceId = get.getResponseBodyAsString();


        } catch (Exception e) {
            Log.e(TAG, "For Facebook Trace Id:", e);

        } finally {
            get.releaseConnection();
            get = null;
        }
        return traceId;
</code></pre>

<p>In the above method i want to pass <code>int hour</code> as string.Any help is appreciated</p>
