Android 注释2未发送到数据浏览器的原因

Android 注释2未发送到数据浏览器的原因,android,parse-platform,Android,Parse Platform,我有以下代码 public class Destination extends Activity { EditText destinationPoint; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_destination); destinationPo

我有以下代码

public class Destination extends Activity {

EditText destinationPoint;
@Override
protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.activity_destination);
    destinationPoint=(EditText)findViewById(R.id.dest);
    Parse.initialize(this, "cccc", "xxxx");
    ParseObject ob=new ParseObject("vamsi"); //1
    ob.put("vamsi"," pavan"); //1
    ob.saveInBackground(); //1


}

public void ridenow(View view){
    SharedPreferences sharedPreferences =getSharedPreferences("AutoRaja",Context.MODE_PRIVATE);
    SharedPreferences.Editor edit=sharedPreferences.edit();
    edit.putString("destination", destinationPoint.getText().toString());
    edit.commit();
    String name=sharedPreferences.getString("customerName", "mr x");
    Log.d("name",name);

    String phoneNumber=sharedPreferences.getString("customerNumber", "0000000000");
    Log.d("phone",phoneNumber);
    String pickup=sharedPreferences.getString("pick", null);
    Log.d("pickup",pickup);

    String destination=sharedPreferences.getString("destination", null);
    Log.d("destination",destination);
    ParseObject customerDetails = new ParseObject("Customer"); //2
    customerDetails.put("Name", name);                                 //2
    customerDetails.put("Phone Number",phoneNumber);                    //2 
    customerDetails.put("Pick Up Location", pickup);                    //2
    customerDetails.put("Destination",destination );                     //2
    customerDetails.saveInBackground();                                  //2

    ParseObject ob=new ParseObject("gates");  //3
    ob.put("mill"," billionire");      //3
    ob.saveInBackground();             //3


}
@Override
public boolean onCreateOptionsMenu(Menu menu) {
    // Inflate the menu; this adds items to the action bar if it is present.
    getMenuInflater().inflate(R.menu.destination, menu);
    return true;
}

  }

因此,在上面的代码中,我能够将//1和//3对象发送到parse.com中的数据浏览器,但这对我来说是无用的。我需要发送//2 customer对象,但它不会运行。有人能帮我吗?

我想你不应该在名称中包含空格的列中输入值,例如电话号码、拾取位置。请尝试在该字段中添加下划线(云代码侧),因此请尝试在该字段中添加值(
Phone\u Number
Pick\u Up\u Location

是的,这是一个要点。。。但问题是我没有正确添加密钥+1无论如何