Android how to make new Contacts in contacts app opens Activity -


i'm making app sync contacts phone's contact list app.

this have:

  • my app has sync adapter.
  • i mannage sync contacts.
  • the contacts there.
  • at end this:

screenshot

this cool.

my problem:

i need open app when user clicks on "my app" row. have no idea how this. have 3 days browsing on google , found nothing...

this might help:

when click on facebook row this:

i/activitymanager( 2014): starting: intent { act=android.intent.action.view dat=content://com.android.contacts/data/10940 cmp=com.facebook.katana/.contacturihandler } pid 18506 

email row:

i/activitymanager( 2014): starting: intent { act=android.intent.action.sendto dat=mailto:yb_test_001%40hotmail.com cmp=com.google.android.gm/.composeactivitygmail } pid 18346 

"my app" row:

i/activitymanager( 2014): starting: intent { act=android.intent.action.view dat=content://com.android.contacts/data/11653 } pid 18506 e/infinite(18506): contactinfolistadapter: no activity found external item. android.content.activitynotfoundexception: no activity found handle intent { act=android.intent.action.view dat=content://com.android.contacts/data/11653 } 

i can see in "my app" case cmp=[package_name]/.[some_activity] part missing... where can set this?

thanks!

hey have entered android manifest?

should this:

<activity android:name="activity name"></activity>  

Comments

Popular posts from this blog

plot - Remove Objects from Legend When You Have Also Used Fit, Matlab -

java - Why does my date parsing return a weird date? -

Need help in packaging app using TideSDK on Windows -