Does the "Option Menu" button work in Android environment?
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Does the "Option Menu" button work in Android environment?
I am using LC 8.1.1.
When I try a Option Menu button in android, it does nothing.
Has anybody else had success in this area?
Thanks,
David
When I try a Option Menu button in android, it does nothing.
Has anybody else had success in this area?
Thanks,
David
Re: Does the "Option Menu" button work in Android environmen
I moved this thread to the ANDROID forum, since it is not really DATABASE related!
Re: Does the "Option Menu" button work in Android environmen
Klaus,
Maybe you should move this over to "Android Development" since it has been posted for several days and there has been no response (all though all beginners should be aware of this, before they get deep into an iPad development app):
"How do I make my app fill iPad 12.9 Retina display?"
Thanks,
David
Maybe you should move this over to "Android Development" since it has been posted for several days and there has been no response (all though all beginners should be aware of this, before they get deep into an iPad development app):
"How do I make my app fill iPad 12.9 Retina display?"
Thanks,
David
Re: Does the "Option Menu" button work in Android environmen
Hi David,
Best
Klaus
I already did, as you might have noticed (or not)!DR White wrote:Maybe you should move this over to "Android Development"...
Best
Klaus
Re: Does the "Option Menu" button work in Android environmen
Klaus,
I was referring to my other post on "How do I make my app fill iPad 12.9 Retina display?", maybe it should go to the IOS Development.
Thanks,
David
I was referring to my other post on "How do I make my app fill iPad 12.9 Retina display?", maybe it should go to the IOS Development.
Thanks,
David
Re: Does the "Option Menu" button work in Android environmen
Ah, OK, I see, will do so!
-
- VIP Livecode Opensource Backer
- Posts: 7237
- Joined: Sat Apr 08, 2006 8:31 pm
- Location: Minneapolis MN
- Contact:
Re: Does the "Option Menu" button work in Android environmen
No menu buttons work on mobile. Instead use the mobilePick command to show the OS native picker.DR White wrote:When I try a Option Menu button in android, it does nothing.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
Re: Does the "Option Menu" button work in Android environmen
Jacque,
Thats good to know.
I have no experience using an Android mobile piker (the one I used for IOS, does not work in Android). I have checked the dictionary and the link for "Mobile Task" and I cannot find any examples or "How to" for an Android mobile picker. Could you point me in the right direction for such reference material?
Thanks,
David
Thats good to know.
I have no experience using an Android mobile piker (the one I used for IOS, does not work in Android). I have checked the dictionary and the link for "Mobile Task" and I cannot find any examples or "How to" for an Android mobile picker. Could you point me in the right direction for such reference material?
Thanks,
David
-
- VIP Livecode Opensource Backer
- Posts: 7237
- Joined: Sat Apr 08, 2006 8:31 pm
- Location: Minneapolis MN
- Contact:
Re: Does the "Option Menu" button work in Android environmen
It should be in the dictionary, look up "mobilePick". You pass it some parameters and it creates a native picker on both iOS or Android.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
Re: Does the "Option Menu" button work in Android environmen
In the dictionary example below:
on mouseUp
put the weekdayNames into tDays
put lineoffset("Tuesday", tDays) into tInitialIndex
mobilePick tDays, tInitialIndex
end mouseUp
Where and how do I get the day of the week that was selected by the mobilePicker?
on mouseUp
put the weekdayNames into tDays
put lineoffset("Tuesday", tDays) into tInitialIndex
mobilePick tDays, tInitialIndex
end mouseUp
Where and how do I get the day of the week that was selected by the mobilePicker?
-
- VIP Livecode Opensource Backer
- Posts: 7237
- Joined: Sat Apr 08, 2006 8:31 pm
- Location: Minneapolis MN
- Contact:
Re: Does the "Option Menu" button work in Android environmen
The weekdaynames is a built-in function, also in the dictionary. You would replace that with your own list that you want to display.
Edit: I misunderstood your question. The value is returned in "the result" as an integer representing the line number of the chosen item. If nothing is selected, zero is returned. So:
Then you can use line tLineNum of the original list to get the text of the choice. If zero comes back, the user canceled. On iOS there are other options, but the above is common to both iOS and Android.
Edit: I misunderstood your question. The value is returned in "the result" as an integer representing the line number of the chosen item. If nothing is selected, zero is returned. So:
Code: Select all
put the weekdayNames into tDays
put lineoffset("Tuesday", tDays) into tInitialIndex
mobilePick tDays, tInitialIndex
put the result into tLineNum
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
Re: Does the "Option Menu" button work in Android environmen
Jacque,
Yes, that works great.
Sorry of being so slow.
I should have thought of that.
Thanks,
David
Yes, that works great.
Sorry of being so slow.
I should have thought of that.
Thanks,
David
-
- VIP Livecode Opensource Backer
- Posts: 7237
- Joined: Sat Apr 08, 2006 8:31 pm
- Location: Minneapolis MN
- Contact:
Re: Does the "Option Menu" button work in Android environmen
We're all slow when we haven't done something before. You're not so special.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com