Native Application Runs on Simulator But Fails on Device
Problem: An application run on a simulator but fails once installed
on to a physical device with ErrorCode = 552.
Explanation: This error can indicate that there is a connection problem
outside of your internal network.
Solution:
Check the external network:
Over WiFi, check to see if you require a proxy exclusion.
Over wireless, validate that the IP address for the server node is
available.
Check that the domain set for the application matches the domain set
for environment you are moving the application to (for example, development to QA, or
QA to production). If there is a mismatch, the application does not run.
Consult with the Platform administrator to see what is
configured for the application in
SAP Control Center.
Check the domain used in the application connection
profile.
(Optional) If BES is used in the environment, ensure the device is registered
with a BES (BlackBerry Enterprise Server).
Ensure the synchronization profile properties are set correctly for your
transport type. For example, in the initialization code you might set the
transport as WiFi with this code fragment: