android - How to read a column value in parse.com without accessing an object or a pointer -


by using code, not able 'name' unless use objectid = xj34weo.
suggest way, if not, @ least using pointer.

//parse query initialization  final parsequery<parseobject> query = parsequery.getquery("myusers");  //to check row has "number"="1234" query.whereequalto("number", "1234");  query.findinbackground(new findcallback<parseobject>() {      public void done(list<parseobject> employees, parseexception e) {         if (e == null) {              try {                  //xj34we0 objectid                  query.get("xj34weo").get("name") + "");              } catch (parseexception pe) {}           }       } });  

are trying employee object number?

you have list<parseobject>, use it.

query.findinbackground(new findcallback<parseobject>() {      public void done(list<parseobject> employees, parseexception e) {         if (e == null && employees.size() > 0) {              try {                  string name = employees.get(0).get("name");                 log.d("parse", name);             } catch (parseexception pe) {}           }       } });  

Comments

  1. Hi Admin,

    This article is read a column value on the website without accessing the pointer objects. The article is very informative for us.

    Regards,

    Dentist In Chicopee

    ReplyDelete
  2. It is important to choose the right dentist. You can look in the phone book or online to find a dentist in CT. Make sure they are members of the American Dental Association (ADA) 's board. You can also ask friends and family for recommendations and trust their opinion.
    orthodontics east hartford

    ReplyDelete

Post a Comment

Popular posts from this blog

Spring Boot + JPA + Hibernate: Unable to locate persister -

go - Golang: panic: runtime error: invalid memory address or nil pointer dereference using bufio.Scanner -

c - double free or corruption (fasttop) -