contacts.extensions

by Stefan Selariu » Wed, 29 Oct 2008 20:44:40 GMT


Sponsored Links
 Hi guys,
I'm trying to extend the contacts by adding additional fields to
contacts.people using contacts.extensions. My only problem is that have no
idea 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 only the extended contacts.

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?

One more thing... How can I use Contacts.People.Extensions?

Thanks

--~--~---------~--~----~------------~-------~--~----~



contacts.extensions

by Tughi » Thu, 30 Oct 2008 03:00:19 GMT


 Hi guys,
I'm trying to extend the contacts by adding additional fields to
contacts.people using contacts.extensions. My only problem is that
have no idea 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 only
the extended contacts.

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?

One more thing... How can I use Contacts.People.Extensions?

Thanks
--~--~---------~--~----~------------~-------~--~----~


Sponsored Links


Other Threads

1. New to the group and VoteReport app

Hi there. I am new to this group, and proud to say I just built my
first Android app in about 10 hours... including uploading it for
release in the Market! Fortunately, it is a fairly simple application
and I am not crazy, just working against the deadline of November 4th.
More on this...

I am part of a group working something called TwitterVoteReport.com
(also known as http://VoteReport.us) Twitter Vote Report is an all-
volunteer network of software developers, designers, and other
collaborators have teamed up with the award-winning blog techPresident
to launch this effort. The only resources contributed to this project
are the participantstime and expertise! Using Twitter Vote Report,
voters will be able to share their experiences and resources with one
another to solve problems quickly (e.g. on come now, the line is
too long. These messages will then be aggregated and mapped so that
we can eevoting problems around the country in real-time.

Since there was an effort to create an iPhone application underway, I
decided to "port" that work to Android. I've been involved in mobile
software and Java for a long time, and thought this seemed like a
fantastic application that made a lot of sense. After a full day of
hacking yesterday, and a few hours of testing (I promise), the first
release of the app was done. I hate calling things 1.0, so I didn -
VoteReport for Android 0.9.4 is released and available in the Android
Market. If you have a T-Mobile G1, just open the Market application
and search for otereportor simply browse under the Productivity
category. You can also download it direct at: 
http://openideals.com/android/VoteReport.apk.
Code will be up soon (this is an open source effort).

This is very simple app with a powerful concept, but it does do some
more complicated things under the cover (location lookup, web
integration, REST calls, etc). I am working on a GeoRSS parser (for
http://votereport.us/reports.atom) to generate a MapView overlay, but
that might take a few more hours.

Read on if you'd like at: 
http://openideals.com/2008/10/30/votereport-for-android-094/
Otherwise, if you are in the US, please check out the entire project:
http://twittervotereport.com

Best,
  Nathan

--~--~---------~--~----~------------~-------~--~----~

2. The same activity run in different process?

I am trying to run a activity in different process.  Use the tag
<android:multiprocess>

"Specify whether a component is allowed to have multiple instances of
itself running in different processes."

But it doesn't work , How can I control it?  Thanks!
--~--~---------~--~----~------------~-------~--~----~

3. No Moto-Droids 'till next Christmas

4. Android Halloween Costume

5. Wikitude testers needed

6. Does Android 1.0 support progressive download of music and video files?

7. Help me.... To play dynamic media(.mp4) file based on user input