Just implement the same intent protocols you want to handle.  For
pressing the green button, the intent is action
android.intent.action.CALL_BUTTON.  For someone dialing a number, it
is android.intent.action.DIAL, etc.  These should be defined in the
Intent class.

On Oct 9, 11:05 am, Rohit Mordani <[EMAIL PROTECTED]> wrote:
> Can you tell me how can you replace the entire app/activity?
>
> Rohit
>
> On Aug 29, 10:17 am, hackbod <[EMAIL PROTECTED]> wrote:
>
> > This isn't supported in 1.0.  You can only replace the entire
> > Dialtacts activity.
>
> > On Aug 29, 6:44 am, chokoreto <[EMAIL PROTECTED]> wrote:
>
> > > Hi,
>
> > > I am trying to replace the default contacts view, but I get a Security
> > > Exception.
>
> > > java.lang.RuntimeException: Unable to start activity
> > > ComponentInfo{com.android.contacts/
> > > com.android.contacts.DialtactsActivity}:
> > > java.lang.SecurityException: Requesting code from
> > > com.swisscom.addrbook.test (with uid 10017) to be run in process
> > > android.process.shared (with uid 10004)
>
> > > I guess, it has something to do that the Contacts Application uses the
> > > TabActivity and each Activity in the tab runs in different processes.
> > > Is there any way how to solve that?
>
> > > I was using this intent-filter
>
> > > <intent-filter >
> > >           <action
> > > android:name="com.android.contacts.action.LIST_DEFAULT" />
> > >          <category android:name="android.intent.category.DEFAULT" />
> > > </intent-filter>
>
> > > Regards,
> > > Reto
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to