FirebaseDB values in MIT App InventorXML parsing in MIT App InventorHow do the “max” and “min” blocks in the MIT App Inventor work?How to integrate Google Admob Ads in a MIT App Inventor 2 project?how to pass data between screens using intent in MIT app inventorAny action at a specific time (MIT App Inventor)upload video to youtube with MIT app Inventor 2MIT App Inventor Bluetooth connect with unpaired deviceHow to connect with MIT App Inventor app using bluetooth?MIT APP INVENTOR 2 dictionary trouble
Mother abusing my finances
Is there an efficient way to replace text matching the entire content of one file with the entire content of another file?
Is this resistor leaking? If so, is it a concern?
Is there a public standard for 8 and 10 character grid locators?
I unknowingly submitted plagiarised work
Identify this in soil?
Where is the logic in castrating fighters?
Is it possible to play as a necromancer skeleton?
Is there a down side to setting the sampling time of a SAR ADC as long as possible?
Why doesn't the Earth's acceleration towards the Moon accumulate to push the Earth off its orbit?
Can't remember the name of this game
Windows 10 Programms start without visual Interface
What is the recommended way to have two characters speak simultaneously?
Full horizontal justification in table
How does an ARM MCU run faster than the external crystal?
Why do they consider the Ori false gods?
Integrating an absolute function using Mathematica
Logarithm of dependent variable is uniformly distributed. How to calculate a confidence interval for the mean?
When do characters level up?
Why does the 6502 have the BIT instruction?
Is floating in space similar to falling under gravity?
Would Brexit have gone ahead by now if Gina Miller had not forced the Government to involve Parliament?
Rename photos to match video titles
analysis of BJT PNP type - why they can use voltage divider?
FirebaseDB values in MIT App Inventor
XML parsing in MIT App InventorHow do the “max” and “min” blocks in the MIT App Inventor work?How to integrate Google Admob Ads in a MIT App Inventor 2 project?how to pass data between screens using intent in MIT app inventorAny action at a specific time (MIT App Inventor)upload video to youtube with MIT app Inventor 2MIT App Inventor Bluetooth connect with unpaired deviceHow to connect with MIT App Inventor app using bluetooth?MIT APP INVENTOR 2 dictionary trouble
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;
How to set variables to Firebase DB values in MIT App Inventor?
I tried with direct setting but the blocks cant match.
app-inventor
add a comment |
How to set variables to Firebase DB values in MIT App Inventor?
I tried with direct setting but the blocks cant match.
app-inventor
add a comment |
How to set variables to Firebase DB values in MIT App Inventor?
I tried with direct setting but the blocks cant match.
app-inventor
How to set variables to Firebase DB values in MIT App Inventor?
I tried with direct setting but the blocks cant match.
app-inventor
app-inventor
edited Aug 2 '18 at 5:20
Michał Turczyn
17.7k132241
17.7k132241
asked Aug 2 '18 at 0:43
Heitor MedeirosHeitor Medeiros
113
113
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
Because getting values from an online database like firebase is asynchronous (it can take a second to complete), you have to ask for the values you want and wait for the database to give them to you. See the screenshot below for an example.
It would also help if you could please edit your question to provide some more information. You could include a screenshot of your relevant blocks or describe the problem more thoroughly.

add a comment |
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f51644062%2ffirebasedb-values-in-mit-app-inventor%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
Because getting values from an online database like firebase is asynchronous (it can take a second to complete), you have to ask for the values you want and wait for the database to give them to you. See the screenshot below for an example.
It would also help if you could please edit your question to provide some more information. You could include a screenshot of your relevant blocks or describe the problem more thoroughly.

add a comment |
Because getting values from an online database like firebase is asynchronous (it can take a second to complete), you have to ask for the values you want and wait for the database to give them to you. See the screenshot below for an example.
It would also help if you could please edit your question to provide some more information. You could include a screenshot of your relevant blocks or describe the problem more thoroughly.

add a comment |
Because getting values from an online database like firebase is asynchronous (it can take a second to complete), you have to ask for the values you want and wait for the database to give them to you. See the screenshot below for an example.
It would also help if you could please edit your question to provide some more information. You could include a screenshot of your relevant blocks or describe the problem more thoroughly.

Because getting values from an online database like firebase is asynchronous (it can take a second to complete), you have to ask for the values you want and wait for the database to give them to you. See the screenshot below for an example.
It would also help if you could please edit your question to provide some more information. You could include a screenshot of your relevant blocks or describe the problem more thoroughly.

answered Aug 16 '18 at 0:38
John LockeJohn Locke
166115
166115
add a comment |
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f51644062%2ffirebasedb-values-in-mit-app-inventor%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown