tags:

views:

35

answers:

0

my code is this to post data to server

MakeValue = (String) s2.getSelectedItem(); MakeValue = MakeValue.replace(" ", "%20"); DefaultHttpClient hc=new DefaultHttpClient();
ResponseHandler res=new BasicResponseHandler();
HttpPost postMethod=new HttpPost(AppUrl.AppUrl+"dealer_service.php?action=saveCreateNewInventory");
List nameValuePairs = new ArrayList(2);
nameValuePairs.add(new BasicNameValuePair("POSTDATA", Login.GetUserID +"~"+ VinNumber.getText()

. . .

postMethod.setEntity(new UrlEncodedFormEntity(nameValuePairs));

response=hc.execute(postMethod,res);

but after executing this i have an exception of ssl not trusted so please help me to solve my probs please help i spent too many days in this. how can i remove this exception.