Is there any way to make an Android Pick Wheel? - Solved
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Is there any way to make an Android Pick Wheel? - Solved
I have searched Dictionary, tutorials and postings, but I can't find anything.
I have attached a simple stack with as far as I could go.
Any help will be appreciated.
Thanks You,
David
I have attached a simple stack with as far as I could go.
Any help will be appreciated.
Thanks You,
David
- Attachments
-
- TestPickerAndroid copy.livecode.zip
- (1.85 KiB) Downloaded 220 times
Last edited by DR White on Fri Aug 04, 2017 12:08 pm, edited 1 time in total.
-
- VIP Livecode Opensource Backer
- Posts: 7215
- Joined: Sat Apr 08, 2006 8:31 pm
- Location: Minneapolis MN
- Contact:
Re: Is there any way to make an Android Pick Wheel with LC?
Android doesn't use a pickwheel, you won't find it in any app. It uses an option sheet instead, which you can bring up with the mobilePick function.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
-
- VIP Livecode Opensource Backer
- Posts: 2262
- Joined: Thu Feb 28, 2013 11:52 pm
- Location: Göttingen, DE
Re: Is there any way to make an Android Pick Wheel with LC?
If you do it by yourself the source code of Bernd's stack "Scroll Images" may help:
http://berndniggemann.on-rev.com
http://berndniggemann.on-rev.com
shiftLock happens
Re: Is there any way to make an Android Pick Wheel with LC?
Jacque,
I am not familiar with "option sheet". I used the mobilePick function in the stack that I included with this posting. Could you take a peek at it and tell me if this is what you are referring to?
Thanks,
David
----------------------------------------------
-hh,
That's a cool stack that you referred me to, but It will not work in my application very well.
Thanks,
David
I am not familiar with "option sheet". I used the mobilePick function in the stack that I included with this posting. Could you take a peek at it and tell me if this is what you are referring to?
Thanks,
David
----------------------------------------------
-hh,
That's a cool stack that you referred me to, but It will not work in my application very well.
Thanks,
David
-
- VIP Livecode Opensource Backer
- Posts: 7215
- Joined: Sat Apr 08, 2006 8:31 pm
- Location: Minneapolis MN
- Contact:
Re: Is there any way to make an Android Pick Wheel with LC?
I didn't see an enclosure in your post, but the Android version of a picklist is similar to this:
https://niteridersurfs.files.wordpress. ... enu_02.png
https://niteridersurfs.files.wordpress. ... enu_02.png
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
Re: Is there any way to make an Android Pick Wheel with LC?
Jacque,
That is the way mine looks.
But, I can not get the InitialIndex to highlight any items in the list.
Thanks for your help,
David
That is the way mine looks.
But, I can not get the InitialIndex to highlight any items in the list.
Thanks for your help,
David
-
- VIP Livecode Opensource Backer
- Posts: 7215
- Joined: Sat Apr 08, 2006 8:31 pm
- Location: Minneapolis MN
- Contact:
Re: Is there any way to make an Android Pick Wheel with LC?
Code: Select all
mobilePick "Aphid" & return & "Bird" & return & "Cat", 3, "checkmark"
put the result
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
Re: Is there any way to make an Android Pick Wheel with LC?
Jacque,
I used the following code:
repeat with x =26 to 0 step -1
if x = 26 then
put x into tList1
else
put x & cr & tList1 into tList1
end if
end repeat
mobilePick tList1, 5, "canceldone", "checkmark"
put the result into Test2
I did see the 5th little button on right checked.
Android has pretty poor pick system compared to apple.
Thanks so much for your help,
David
I used the following code:
repeat with x =26 to 0 step -1
if x = 26 then
put x into tList1
else
put x & cr & tList1 into tList1
end if
end repeat
mobilePick tList1, 5, "canceldone", "checkmark"
put the result into Test2
I did see the 5th little button on right checked.
Android has pretty poor pick system compared to apple.
Thanks so much for your help,
David
Re: Is there any way to make an Android Pick Wheel with LC?
Hi David,
Best
Klaus
complain at Google!DR White wrote:Android has pretty poor pick system compared to apple.
Best
Klaus