我正在使用 CloudBoost for Android 应用程序,当我尝试将数据保存在表中时遇到了一些问题,我没有得到任何结果。这是我的代码:
CloudApp.init("*****", "*****");
...
new Thread(new Runnable() {
@Override
public void run() {
CloudObject obj = new CloudObject("User", "1uvSDThQ");
Log.e("LOG", "1"); //Already this is not shown
try {
obj.set("color", "#000000");
obj.setAcl(new ACL());
obj.save(new CloudObjectCallback() {
@Override
public void done(final CloudObject x, final CloudException e) {
if(e != null)
//error
Log.e("LOG", "Errore");
if(x!=null)
//cloudObject
Log.e("LOG", "FATTO");
}
});
} catch (CloudException e) {
e.printStackTrace();
}
}
});