且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

从意图在新的视频群聊Android应用程序启动谷歌视频群聊

更新时间:2022-12-27 20:17:54

所以,我不知道这是否可以帮助别人,因为我主要是寻找断火使用塔斯克的意图。如果你进入的Google+>设置>你可以勾选保持接触最新的,它会增加一些新的行动,当你点击在Android的用户出现卡。然后你可以使用意图拦截读未来通过的值。这是我得到的答案:

So I don't know if this helps anyone else because I was mostly looking to fire off an intent using tasker. If you go into Google+ > Settings > Contacts you can check "Keep contacts up to date" and it will add some new actions to card that appears when you click on a user in android. Then you can use Intent Intercept to read the values coming through. Here's what I got:

ACTION: android.intent.action.VIEW
DATA: content://com.android.contacts/data/5555
TYPE: vnd.android.cursor.item/vnd.googleplus.profile.comm

FLAGS:
FLAG_ACTIVITY_FORWARD_RESULT
FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESET
FLAG_ACTIVITY_PREVIOUS_IS_TOP

1 ACTIVITIES MATCH THIS INTENT:
Hangouts (com.google.android.talk - com.google.android.apps.babel.phone.BabelProfileActionActivity)

我能够使用前三个值正常打开与该联系人的对话。显然,这取决于接触你的数据字段的数量会发生变化。您可以使用的伎俩,意图拦截,或者如果你有根,您可以使用类似的 SQLite的调试破解的联系人数据库打开数据表,下面的语句找出MIMETYPE_ID = 16和DATA4 = 10。你必须要找到你了你RAW_CONTACT_ID是什么了。祝你好运!

I was able to use the top three values to properly open a conversation with that contact. Obviously the number in your data field will change depending on the contact. You can either use the trick with Intent Intercept, or if you have root you can use something like SQLite Debugger to crack open the data table in the contacts database and find rows where the MIMETYPE_ID = 16 and the DATA4 = 10. You'll have to find your out what your RAW_CONTACT_ID is too. Good luck!