Answered USING BING TRANSLATOR IN ANDROID APPLICATION

  • Thursday, February 14, 2013 6:39 AM
     
     

    Hai ,

       I was able to use bing translator api with java project , but when i tried to use bing translator api in my android application i am getting the following error , Here with i am giving the code used and error message, 

    Code:

                          Translate.setClientId("MY CLIENT ID got on APPLICATION REGISTRATION");
               Translate.setClientSecret("THE Key GOT On Application registration");
               try {
    translatedText = Translate.execute("I should probably set this to something a little less profane", Language.ENGLISH, Language.FRENCH);

               } catch(Exception e) {
    translatedText = e.toString();
    Log.d("test",e.toString());
               }

    Error:    java.lang.Exception: [microsoft-translator-api] Error retrieving translation : Not trusted server certificate

    Please provide some leads to solve this issue.

    Best regards,

    Lal Sooraj C.B

                                                   

All Replies