Peter
(Moderator)
August 7, 2017, 2:10pm
1
I tried the following code in Thunkable together with the QR extension and it works. I wanted to make my first app in Makeroid as an example to add with my tutorial.
The code bellow in Makeroid gives alwas the error “Did you enter a text?”
@Mika , any idea why this happens in Makeroid. And yes, there is a text in the Textbox.
Mika
August 7, 2017, 2:13pm
2
Does the example on my blog for you work how to use the extension?
Peter
(Moderator)
August 7, 2017, 2:16pm
3
I can not load your example in Makeroid. See my other post.
Mika
August 7, 2017, 2:18pm
4
Yes but i think you find a picture on my blog how to use them.
Or try one other thing:
Load the aia in thunkable from my example and make a screenshot how thw blocks work and then create the blocks in makeroid.
I dont have time to create a example for you.
Peter
(Moderator)
August 7, 2017, 2:25pm
5
I did that. I exported my app from Makeroid to Thunkable and there it works. So something is not working in Makeroid.
Here is my aia-file
QRMaker.aia (373,6 KB)
Mika
August 7, 2017, 2:27pm
6
I will check it when i have time.
Peter
(Moderator)
August 7, 2017, 2:29pm
7
Thanks. The only thing i saw was an error message when i imported the aia in Thunkable. It was something about a form 27 which should have been 20 or something.
Mika
August 7, 2017, 2:32pm
8
Yes. Our version is higher.
As i said i will take a look when i have time for this.
I have current a lot of work to do that we have new components
1 Like
Peter
(Moderator)
August 7, 2017, 4:48pm
9
I tested some more and got it working now. I just deleted the if-then-else and it looks like this now.
So my app looks like this now
I used Taifuns Tools extension to get a gallery refresh.
I added the aia-file for people to use:
QRMaker.aia (395,0 KB)
3 Likes
Mika
September 1, 2017, 7:06pm
10
@Peter
There is a bug in the extension. I can confirm that.
But dont worry..
The extension will be in the coming update a default component for makeroid as updated version
2 Likes
Peter
(Moderator)
September 1, 2017, 7:13pm
11
That’s great. Really love all the hard work of the team.
1 Like
Mika
September 1, 2017, 7:14pm
12
We all give the best we can do, to create the best app builder for everyone
And i think we have no competitor
2 Likes
Peter
(Moderator)
September 4, 2017, 6:12pm
13
I tested the QR component and i still have to make code without the success option to make it work. See above in this topic.
Mika
September 4, 2017, 6:44pm
14
@Peter
Please try this apk:
qrtest.apk (2,0 MB)
And then please do following:
Show me your screenshot after you click on button 1.
Then make another screenshot and turn your device into flight mode.
The component knows automatically if there is a connection or not when you try to run the function.
For me it shows following with internet connection ON
And this are the used blocks:
And please be sure you allowed the app to use INTERNET permission.
Mika
September 4, 2017, 7:04pm
16
So you see it works and the success state is correct.
Peter
(Moderator)
September 4, 2017, 7:08pm
17
Why doesn’t the code in the top of the topic doesn’t work then?
Mika
September 4, 2017, 7:10pm
18
The bug is in the extension.
And i cleared the issue in the new qr code component.
So only use the component and not the extension
The test apk uses the qr code component and not the extension.
Peter
(Moderator)
September 4, 2017, 7:16pm
19
I know what i did wrong. I thought that there should be an error if i have a empty textbox. But it doesn’t work that way. You get an error if the server can’t be found. I tested it with my own program and it works, you have indeed fixed the component.
Sorry for my brain fart.
Mika
September 4, 2017, 7:18pm
20
If the text is empty and not set, then the component uses the word “default” as value.
So we got no error.
Yes you are right, success is false if there is no connection to server.
@Peter I have now updated the extension too on my blog.