cassl4
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2017
09:20 AM
Creating a page for date entry for Roku?
I'm working on a Roku app and we want the user's date of birth. Trying not to get too complex on the parsing end (so would prefer to not just have a text box where the user can enter whatever they want). I looked into using a roPinEntryDialog, but that unfortunately I think is only meant for entering payment information. I see that roDateTime is a thing, but that seems to only get the current date, and not have any types of inputs for it.
Any ideas or help?
Any ideas or help?
9 REPLIES 9
NB_
Roku Guru
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2017
12:57 PM
Re: Creating a page for date entry for Roku?
For posterity, see also https://stackoverflow.com/questions/444 ... y-for-roku
destruk
Streaming Star
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2017
01:15 PM
Re: Creating a page for date entry for Roku?
Perhaps the easiest way would be to use three pin dialogs -- enter month, enter day, enter year. By using pin dialogs you can be sure they will only enter numbers.
...or use one pin dialog with 6 digits instructing the user to enter their MMDDYY birthdate.
...or use one pin dialog with 6 digits instructing the user to enter their MMDDYY birthdate.
cassl4
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2017
03:30 PM
Re: Creating a page for date entry for Roku?
"RokuNB" wrote:
For posterity, see also https://stackoverflow.com/questions/444 ... y-for-roku
That's my question there, too, they told me to post here hahaha. 🙂
cassl4
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2017
03:31 PM
Re: Creating a page for date entry for Roku?
"destruk" wrote:
Perhaps the easiest way would be to use three pin dialogs -- enter month, enter day, enter year. By using pin dialogs you can be sure they will only enter numbers.
...or use one pin dialog with 6 digits instructing the user to enter their MMDDYY birthdate.
I thought about that, but I think the PIN components are for purchasing only?
destruk
Streaming Star
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2017
04:42 PM
Re: Creating a page for date entry for Roku?
No, the PIN component screen is for entering any numeric value you like. The Roku PIN can only be used for purchasing through roku billing.
NB_
Roku Guru
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-13-2017
10:22 AM
Re: Creating a page for date entry for Roku?
"cassl4" wrote:"RokuNB" wrote:
For posterity, see also https://stackoverflow.com/questions/444 ... y-for-roku
That's my question there, too, they told me to post here hahaha. 🙂
I did indeed 8-)
I also "think LabelList is a good start to implement something akin to iOS's UIDatePicker. E.g. with remote Up-Down user selects month, then press Right to move to the day column, then Right onto the year list."
cassl4
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-13-2017
11:37 AM
Re: Creating a page for date entry for Roku?
"RokuNB" wrote:"cassl4" wrote:"RokuNB" wrote:
For posterity, see also https://stackoverflow.com/questions/444 ... y-for-roku
That's my question there, too, they told me to post here hahaha. 🙂
I did indeed 8-)
I also "think LabelList is a good start to implement something akin to iOS's UIDatePicker. E.g. with remote Up-Down user selects month, then press Right to move to the day column, then Right onto the year list."
Wouldn't that year list be really long, though? How would Roku handle that?
NB_
Roku Guru
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-13-2017
01:13 PM
Re: Creating a page for date entry for Roku?
"cassl4" wrote:
Wouldn't that year list be really long, though? How would Roku handle that?
Handle it with gusto, i would hope? :mrgreen:
How long would such list be, 100-200? And one can use <</>> for fast scroll/page, right?
NB_
Roku Guru
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2017
11:37 AM
Re: Creating a page for date entry for Roku?
@cassl4 -
see here @marcelo.cabral just posted a date-entry implementation
https://forums.roku.com/viewtopic.php?f=34&t=104475
see here @marcelo.cabral just posted a date-entry implementation
https://forums.roku.com/viewtopic.php?f=34&t=104475