我在app中使用android-parse服务器.下面是电子邮件列的解析db截图.电子邮件列位于数据库中的隐藏密码列之后.

我的问题是
当我检索电子邮件客户端的电子邮件ID时,即使电子邮件列有电子邮件,电子邮件也是空的.
注意:在另一个地方的应用程序(另一个表)我以同样的方式将电子邮件ID拉到电子邮件客户端,但邮件显示良好..只有在这里出现问题.
如果有人知道请帮忙吗?
这是解析数据库中的电子邮件列
try{
JSONObject jsonObject = parseObjectToJson(object);
Log.d("Object", jsonObject.toString());
Log.d("Email", "+" + object.get("email"));
personNumber = jsonObject.getString("telephone");
personEmail = jsonObject.getString("email");
}catch (JSONException je){
}catch (ParseException pe){
}
Run Code Online (Sandbox Code Playgroud)
这是电子邮件按钮
emailPerson = (Button)findViewById(R.id.individualEmail);
emailPerson.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
Intent i = new Intent(Intent.ACTION_SEND);
i.setData(Uri.parse("mailto:"));
i.setType("plain/text");
i.putExtra(android.content.Intent.EXTRA_EMAIL, new String[] {personEmail});
startActivity(i);
}
});
if(personEmail==null || personEmail.equals("") || personEmail.equals(" ")){
emailPerson.setClickable(false);
emailPerson.setEnabled(false);
emailPerson.setVisibility(View.GONE);
}
else{
emailPerson.setEnabled(true);
emailPerson.setClickable(true);
emailPerson.setVisibility(View.VISIBLE);
}
Run Code Online (Sandbox Code Playgroud)
这里工作正常,但这是同一个数据库中的不同表.>在此表中没有隐藏密码字段
try{
corporateEmail = jsonObject.getString("email");
if(corporateEmail == null …Run Code Online (Sandbox Code Playgroud)