You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ORMLite Developers
Hi All, I am new to Android development and ORMLite. Is there any way that we can read the contacts using ORM Lite by having a custom POJO Like Contact.java with fileds like name, primaryContactNumber, secondaryContactNumber, email etc...
Thank you.
Kevin Galligan
unread,
Jan 12, 2016, 9:59:53 PM1/12/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Ormlite Dev
Contacts would be difficult because you need to access that data with
the content provider. You'd need to dig through the Dao classes to
see about using a cursor to directly map to a data object. I would
suggest looking at Cupboard, which is designed to handle this kind of
stuff better (not 100% sure you can do it, though ;)
> --
> You received this message because you are subscribed to the Google Groups
> "ORMLite Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to ormlite-dev...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.