admin管理员组文章数量:1291518
I'm just starting out and I really can't figure out how to solve this. initially, I tried to get data from TinyDB in Counter.NumbersOnly, but it returned the error: The operation NumbersOnly cannot accept the arguments: (com.google.appinventorponents.runtime.TextBox***). Then I decided to use Counter.text, but it gives an error: com.google.appinventorponents.runtime.TextBox
In general, I need to save the number from TinyDB1 to the counter, if not, then 0. next, I configured it so that after the response from the chatbot, I will get a number from it and save it to *counter2 *and TinyDB2, and to *counter *in TinyDB the sum of counter+counter2 (my second problem here: I can't make from they have numbers, which means I can't add them up). I might have expressed myself incomprehensibly, because English is not my language, I use a translator, sorry.
I'm just starting out and I really can't figure out how to solve this. initially, I tried to get data from TinyDB in Counter.NumbersOnly, but it returned the error: The operation NumbersOnly cannot accept the arguments: (com.google.appinventorponents.runtime.TextBox***). Then I decided to use Counter.text, but it gives an error: com.google.appinventorponents.runtime.TextBox
In general, I need to save the number from TinyDB1 to the counter, if not, then 0. next, I configured it so that after the response from the chatbot, I will get a number from it and save it to *counter2 *and TinyDB2, and to *counter *in TinyDB the sum of counter+counter2 (my second problem here: I can't make from they have numbers, which means I can't add them up). I might have expressed myself incomprehensibly, because English is not my language, I use a translator, sorry.
Share Improve this question edited Feb 13 at 22:40 Taifun 6,29318 gold badges64 silver badges191 bronze badges asked Feb 13 at 15:04 GooseDontHaveFunGooseDontHaveFun 11 bronze badge 1- Please clarify your specific problem or provide additional details to highlight exactly what you need. As it's currently written, it's hard to tell exactly what you're asking. – Community Bot Commented Feb 13 at 23:53
1 Answer
Reset to default 0You should store property Counter2.Text or Counter.Text instead of the textbox component itself
Also 1 TinyDB component would be sufficient, just use different tags like Counter1, Counter2
本文标签:
版权声明:本文标题:android - App Inventor2. How can I get data from Tinybd? It gives an error:com.google.appinventor.components.runtime.TextBox in 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1741531733a2383794.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论