Quantcast
Channel: SCN : Unanswered Discussions - SAP for Mobile
Viewing all articles
Browse latest Browse all 5512

Importing trusted public certificate in Android SUP 2.1.3 with relay server

$
0
0

Hi Experts,


I am presently building  SUP 2.1.3 based Android Application using relay server.

 

These are the steps I have followed so far:

 

Step1:

  I have added the certificate in project root of Eclipse IDE.

Step2

: Included the following code in my project


private

static String RBS_URL_SUFFIX = "trusted_certificates=xyz.cer;compression=zlib;url_suffix=ias_relay_server/client/rs_client.dll/RBS_FARMID.rep;";


App seems to be registering fine. The call back handler confirms the Connection properly.


However, while data Sync it gives a

Mobilink error : Error code 40.


I googled the following error code. Error description mentioned there was "

Unable to find the trusted certificate file '%1'".


I am testing the application on Simulator Android 3.2 .Please guide me on  how to import a trusted certificate in my android SUP project.

 

Please note that its a public certificate.

 

Thanks,

Saransh Sharma


Viewing all articles
Browse latest Browse all 5512

Trending Articles