Thursday, November 8, 2012

Re: [android-developers] How to get handle for cut copy paste menus from the system genereted action bar in android

I found this video. "kikin for android" adds additional function to acionmode to other app. 
Is this possible? How do you think?

On Wednesday, July 4, 2012 11:34:21 PM UTC+9, Mark Murphy (a Commons Guy) wrote:
On Wed, Jul 4, 2012 at 10:26 AM, Bunty syed <itsmea...@gmail.com> wrote:
> For action bar ,
> I got a callback public void onActionModeStarted(ActionMode mode)  where I
> remove cut copy paste menus
>
> But for attached screenshot edit button, I am not able to get any callback.
>
> Do u know any callback which is called on invoking tat menu ....

It might be a context menu (see onCreateContextMenu()), but on some
devices, the device manufacturer has replaced the context menu with
their own thing. It is not possible for you block cut/copy/paste
across all devices, even for your own app.

--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

Android Training... At Your Office: http://commonsware.com/training

--
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
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate