Help: open another screen with start value

397 views
Skip to first unread message
Assigned to shadow...@gmail.com by me

elica...@gmail.com

unread,
Mar 6, 2014, 7:22:15 AM3/6/14
to mitappinv...@googlegroups.com
Hello,
I need pass the name typed in textbox to another screen.

I am using "open another screen with start value" block, then at Screen2 I get the name.

But it does not work :(

See my blocks:

Screen1:

when btnNext.Click
do
open another screen with start value
- screenName < "Screen2"
- startValue < txtName.Text

Screen2:

when Screen2.Initialize
do
set lblWelcome.Text to < get start value


I need make a simple example of screen transition, I do not use TinyDB, could someone please help me?

Enis

unread,
Mar 6, 2014, 8:47:30 AM3/6/14
to mitappinv...@googlegroups.com, elica...@gmail.com
It actually DOES work, but only when packaged into an APK and installed on the device.  It doesn't work presently in testing mode with the emulator.

To save other values using the TinyDB, please see this thread.

Scott Ferguson

unread,
Mar 6, 2014, 8:59:56 AM3/6/14
to mitappinv...@googlegroups.com, elica...@gmail.com
If you want to use TinyDB to store the value you can use that instead.
It works for packaged apps and during development as well.
---
Scott
Reply all
Reply to author
Forward
0 new messages