CloudBoost
Androidのアプリに使用しました。UTF-8 string
というわけで、 CloudBoostに入れる方法が見つかりません。これは例です:
CloudObject obj = new CloudObject("Restaurant");
try
{
obj.set("Type", "Food");
obj.set("Address", "Huỳnh Văn Bánh");
obj.set("Name", "Phú Nhuận Food");
obj.save(new CloudObjectCallback() {
@Override
public void done(CloudObject cloudObject, CloudException e)
throws CloudException {
if (cloudObject != null)
Toast.makeText(MainActivity.this, "Success", Toast.LENGTH_LONG).show();
if (e != null)
{
Toast.makeText(MainActivity.this, "Error", Toast.LENGTH_LONG).show();
}
}});
}
catch (CloudException ex){}