java - How to get Google plus Person's object type -


the documentation @ android developers page states person.getobjecttype() returns int value object type, possible values "person" , "page". how can check if object type of "person" or type of "page"? equals() doesn't allow compare int string , have no idea how can make comparison.

i agree documentation not express well, if little more find refering constants, defined here (in fact there link page posted)

http://developer.android.com/reference/com/google/android/gms/plus/model/people/person.objecttype.html


Comments

Popular posts from this blog

blackberry 10 - how to add multiple markers on the google map just by url? -

php - guestbook returning database data to flash -

delphi - Dynamic file type icon -