Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)

Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781

Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4362: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4364: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4365: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4366: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
anddev.org • View topic - contacts.person join with contacts.extensions

contacts.person join with contacts.extensions

Basic Tutorials concerning: GUI, Views, Activites, XML, Layouts, Intents, ...

contacts.person join with contacts.extensions

Postby tughi » Wed Oct 29, 2008 11:23 am

Hi guys,
I'm trying to extends the contacts by adding additional fields to contacts.people using in the contacts.extensions. My only problem is that have no ideea how to query the contacts.people using a join with contacts.extensions. I'm not trying to modify/extend the contacts provider.

One very very ugly solution would be to query on contacts.extensions and using the person ids to query the contacts.people (manual join) ... The idea is to create an ListActivity which displays the extended contacts (display name, picture) and also some fields from contacts.extensions.

I would like to be able to create a content provider that uses directly the contacts.db (from the content provider) where i could use my join queries... but from what I know this is not possible.

Do the content providers support joins? Or is there another way to create this kind of joins?

Thanks
tughi
Once Poster
Once Poster
 
Posts: 1
Joined: Fri Oct 24, 2008 8:59 am
Location: Timisoara, Romania

Top

Return to Novice Tutorials

Who is online

Users browsing this forum: Google Feedfetcher and 5 guests