Option buttons not working on Android App

The place to discuss anything and everything about running your LiveCode on Android

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
kellymdeters
Posts: 23
Joined: Wed Oct 31, 2007 9:16 pm

Option buttons not working on Android App

Post by kellymdeters » Mon May 20, 2013 5:43 pm

I have an app that I've built and it successfully runs on Win, Mac and iOS. Everything appears to work on Android except when I run it on the simulator, none of the buttons that are "option" buttons work (they display a scrolling list to choose from on all the other platforms, but they do nothing on Android - I click and nothing happens). Any advice?
Thanks!

Mag
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 802
Joined: Fri Nov 16, 2012 10:51 pm

Re: Option buttons not working on Android App

Post by Mag » Mon May 20, 2013 7:05 pm

Are you talking about the hardware buttons?

Android release notes:
When the user presses the hardware 'Back' key, a backKey message is sent to the current card of the default stack. If the message is passed or not handle, the engine will automatically quit.
When the user presses the hardware 'Menu' key, a menuKey message is sent to the current card of the default stack.
When the user presses the hardware 'Search' key, a searchKey message is sent to the current card of the default stack.

kellymdeters
Posts: 23
Joined: Wed Oct 31, 2007 9:16 pm

Re: Option buttons not working on Android App

Post by kellymdeters » Mon May 20, 2013 8:11 pm

Nope, I'm talking about a button that is an "Option menu" (see this: http://lessons.runrev.com/s/lessons/m/4 ... tion-menus). To get it to do what I want on iOS (iPad) I have them set as "option menu" (if you change them to pull-down or pop-up it changes your entire screen into the menu rather than having a little mini one pop up that you can select from) - but then on Android they do nothing at all.

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7389
Joined: Sat Apr 08, 2006 8:31 pm
Contact:

Re: Option buttons not working on Android App

Post by jacque » Mon May 20, 2013 11:39 pm

Android doesn't really have option buttons. Instead it shows a list field with radio buttons that the user chooses from. You'd need to create one of those and slide it up from the bottom of the screen. I don't think there's any interface for a regular option popdown in Android.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

Post Reply