Return-Path: X-Original-To: apmail-incubator-callback-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-callback-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1D0DE7D80 for ; Tue, 15 Nov 2011 17:43:52 +0000 (UTC) Received: (qmail 69052 invoked by uid 500); 15 Nov 2011 17:43:52 -0000 Delivered-To: apmail-incubator-callback-dev-archive@incubator.apache.org Received: (qmail 69034 invoked by uid 500); 15 Nov 2011 17:43:52 -0000 Mailing-List: contact callback-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: callback-dev@incubator.apache.org Delivered-To: mailing list callback-dev@incubator.apache.org Received: (qmail 69025 invoked by uid 99); 15 Nov 2011 17:43:52 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Nov 2011 17:43:52 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of bowserj@gmail.com designates 209.85.214.47 as permitted sender) Received: from [209.85.214.47] (HELO mail-bw0-f47.google.com) (209.85.214.47) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Nov 2011 17:43:45 +0000 Received: by bkbzs2 with SMTP id zs2so7628543bkb.6 for ; Tue, 15 Nov 2011 09:43:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=uvFn5Aw7YxjL/CcBxLEV9e1ETCPbiM3/wGDGRzwXEgM=; b=o8VXM6JotWiq8Q/4MK1O8cLF9uEq4dUpfe4OUB+xQVF+SKAUXsE9N+8YjyZmdbcfHK VwMltLMaSBfInGe4STn6dsU2qvv/M7H8adtdZYnktYN0JitRbVdrv2IfRT/+lJmNEXjQ 99V4NlSho23Q6qioioUk7kJlzF4MLamo1J15M= MIME-Version: 1.0 Received: by 10.204.157.154 with SMTP id b26mr17850754bkx.52.1321379005004; Tue, 15 Nov 2011 09:43:25 -0800 (PST) Received: by 10.223.87.72 with HTTP; Tue, 15 Nov 2011 09:43:24 -0800 (PST) In-Reply-To: References: <010c01cc9e03$b3dedf00$1b9c9d00$@worklight.com> Date: Tue, 15 Nov 2011 09:43:24 -0800 Message-ID: Subject: Re: menubutton event From: Joe Bowser To: callback-dev@incubator.apache.org Cc: Yoav Bodor , Artem Spector Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Hey I currently have a patch waiting that shows how to allow plugins to access the Native Menu that is passed through with the MenuButton event. This is something that we've been working on in our projects for a bit. If you want to help it out, please review this pull request here: https://github.com/callback/callback-android/pull/16 Also here's an example of it being used here in Wikipedia: https://github.com/nitobi/Wikipedia Let me know if you have an easier way to use Native Menus in PhoneGap with our current plugin architecture, and I'd be happy to adopt that instead. Joe On Tue, Nov 15, 2011 at 7:57 AM, Simon MacDonald wrote: > This is a bug, thanks for finding it. I've opened an issue here: > > https://issues.apache.org/jira/browse/CB-16 > > I don't expect it will be too difficult to fix. > > Simon Mac Donald > http://hi.im/simonmacdonald > > > > On Tue, Nov 8, 2011 at 5:47 AM, Ishai Borovoy wrot= e: >> Hi, >> >> By override the menu =A0event in DroidGap you do no let the native optio= ns >> menu to show up. >> >> We (in Worklight) need to show the native options menu. >> >> When override this event can you return false to let others override the >> menu event in DroidGap.java? >> >> >> >> Or can you tell how to explicit show the Native Options menu from >> javascript? >> >> >> >> >> >> Ishai Borovoy | Channels Team >> >> Worklight | Office (972) 9-952-5625 | Mobile (972) 523-799-889 >> >> Download our free 30-day trial at =A0 >> www.worklight.com >> >> >> >> >