|| at Sep 28, 2013 at 9:10 pm
Awesome, that worked. Thanks for the tip
The intent action that you use is 'android.intent.action.VIEW'
CAT is 'None', Mime type is blank.
Data is 'content://com.android.contacts/data/####'. The #### is the tricky
part, I'll get to that in a minute.
Target should be 'Activity' everything else blank.
The number that goes in the #### space I got from the contacts database.
You need to be able to read the contacts database in
/data/data/com.android.providers.contacts. In the 'raw_contacts' table find
the id for your preferred contact. Then go to the 'data' table in the
database. That thread says to find an entry where MIMETYPE_ID = 16 and
DATA4 = 10 but I had no such entries so I just found the line that had
DATA4=10 and raw_contact_id matched the contact id that we already found.
In my database that line had MIMETYPE_ID =17. The '_id' value of that line
is the number that we need to enter into the #### part of the data line.
It's a little tricky to find the number but it works once you get it. I
suppose a simple sqlite query would probably make it a lot easier.
On Saturday, September 28, 2013 4:07:52 PM UTC-4, Matt R wrote:
Did you ever find a method? I'd like to use the Hangouts app instead of
gtalk but I really need to be able to open to a specific contract. I found
this answer http://stackoverflow.com/a/17961376/2826988
which gets me
close, but I can't figure out the data to send.
You received this message because you are subscribed to the Google Groups "Tasker" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firstname.lastname@example.org.
Visit this group at http://groups.google.com/group/tasker.
For more options, visit https://groups.google.com/groups/opt_out.