我有這樣的代碼在安卓Parse.com的Android得對象和關係與ParseUser
ParseUser user = new ParseUser();
user.setUsername(email.getText().toString().trim());
user.setPassword(password.getText().toString().trim());
user.setEmail(email.getText().toString().trim());
user.pinInBackground();
user.saveInBackground();
ParseObject UserProfile = new ParseObject("UserProfile");
UserProfile.put("Name", name.getText().toString().trim());
UserProfile.put("UserMobile", mobile.getText().toString().trim());
UserProfile.saveInBackground();
UserProfile.pinInBackground();
此代碼工作正常,但我怎麼能得到解析類用戶配置數據,我如何與用戶配置相關ParseUser?
感謝
代碼是如何來:
您可以通過訪問USERPROFILE數據? – Ace
我如何從UserProfile獲取數據?像姓名,手機? – Ace
看看這裏:http://stackoverflow.com/questions/15517541/how-to-query-value-of-column-that-is-set-as-pointer-to-other-table-in-parse –