Adding an Intent to a Sync'd account option in a contact

by snowy_tracks » Fri, 02 Jul 2010 23:44:02 GMT

Sponsored Links

I am playing about with the sample code in android dev resources, the

I have it inserting a sampleSyncAdapter entry into my contact.
however, when I click on this I would like to define an activity for
it to open...

in the adb log it currently states (because  have not defined the
ViewContact(11201): No activity found for intent: Intent
{ act=android.intent.action.VIEW dat=content://
data/5045 }

Looking at the face book entry in the same contact, when I click on
that, this is the intent that is fired:
Starting activity: Intent { act=android.intent.action.VIEW
cmp=com.facebook.katana/.ProfileTabHostActivity }

I was wondering if anyone had any idea how/where to define an activity
to handle the click on the custom contact option, like face book
define the .ProfileTabHostActivity?

Any help appreciated,



Other Threads

1. Creating a Book App in Android

What's the best way to create a Book App in Android? I have a book in
html format that I want to incorporate in an app. I want to have
control over UI . I can do that using formatted textViews but it will
be very tedious as there are around 500 pages. Just want to know if
there is a better way of doing this?



2. Reg. Iphone like Tab design in Android


I need to create tab design similar to Iphone tabs at bottom.Is there
any inbuilt way to acheive that. I have implemented it with the layout
with the images in the bottom and onclick on the image, we will switch
the view using ViewFlipper.

While doing this, navigating from one view to another it is taking
some time. Iam loading different list views in each and every tab
where content is loaded using AsyncTask. Also the bottom image get
squeezed and not displayed correctly. I have used "Wrap content " for
layout width.

Let me know if there is way to load tabs at bottom and change the
design (use images ) and it should be faster when navigating from one
view to another.

Thanks in Advance


3. Native sms and email application launch problem

4. Disabling Soft Keyboard's 'Go' Button for WebView Text Entry

5. Dell Latitude E5500 slow video playback

6. How can i read out the android OOB data?

7. show selected item on the screen form gridView