Quantcast
Viewing all articles
Browse latest Browse all 9080

Could not register an odata app in android with SUP 2.2.0

Hi everybody,

 

I m really at the very first step of my applicationImage may be NSFW.
Clik here to view.

My app is not getting register and throwing Error Message: 558 : Could not connect to relay server at time of registration.

 

I have used following code for connection :

 

ODPUserManager.initInstance(this, "odataDemo_App");

  ODPUserManager userManager = ODPUserManager.getInstance();

 

 

  if (!userManager.isUserRegistered()) {

  userManager.setConnectionProfile("XXXXXXXX", 5001, "0");

 

 

  userManager.registerUser("xxxx", "123", true);

  Toast.makeText(this, "User Registered Successfully",

  Toast.LENGTH_SHORT).show();

  AppEndPoint = ODPAppSettings.getApplicationEndPoint();

  Log.i("AppEndPoint", AppEndPoint);

  } else {

  // showAlert("User already Registered");

  Toast.makeText(this, "User Already Registerd",

  Toast.LENGTH_SHORT).show();

  }


Viewing all articles
Browse latest Browse all 9080

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>