Through my app I try to connect to my cloud but I always get this error message:
Com.sdk.estimote.exception.ServerEstimoteException: 404 Not Found
This is my code, what am I doing wrong?
public class MainActivity extends AppCompatActivity
{
@Override
protected void onCreate(Bundle savedInstanceState)
{
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
EstimoteSDK.initialize(this, "XXXXXXX", "XXXXXXXXXXXX");
// Configure verbose debug logging.
EstimoteSDK.enableDebugLogging(true);
//this is just to check if estimote initialized correctly
MacAddress macAddress = MacAddress.fromString("EC:B1:43:8A:9F:5B");
EstimoteCloud.getInstance().fetchBeaconDetails(macAddress, new CloudCallback<BeaconInfo>() {
@Override
public void success(BeaconInfo beaconInfo) {
Toast.makeText(MainActivity.this,"CONNECTION: " + beaconInfo.toString() ,Toast.LENGTH_LONG).show();
}
@Override
public void failure(EstimoteServerException e) {
Toast.makeText(MainActivity.this,"ERROR CONNECTION" + e ,Toast.LENGTH_LONG).show();
}
});
}}