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

Android registering app issue

$
0
0

I have a native Android app.  The app registered with server successfully.  The status of the Application Connection in the SCC is online and shows the correct application.  So far so good but I have two issues:

 

1) The app attempts to register every time it runs.  It eventually connects successfully but this code:

 

if (app.getRegistrationStatus() != RegistrationStatus.REGISTERED) {

    Log.d(TAG, "registering app");

    app.registerApplication();

                              } else {

    Log.d(TAG, "connecting app");

    app.startConnection();

                              }

 

never goes to the else.

 

2) The second issue is that the code MyAppDB.synchronize(); causes the error "Application settings are not available."  That would suggest it isn't connected but, as I said, it appears to be online in the SCC.

 

Any help would be appreciated.

 

Rlss


Viewing all articles
Browse latest Browse all 5512

Trending Articles



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