What is wrong in my code?

image
I think the problem is here


Full Coding.... I have used different NameSpace for TinyDB3

And the problem is? What is happening and what are you expecting?

3 Likes

In the TinyDB3, the steps were to be shown under the heading of the date set. However, when I develop my app and test it, this happens


and my steps are not shown

Are you testing on a real device, or on an emulator?

Shaking your PC is not good for it.

Export your .aia file and upload it here.

2 Likes
  1. You now appear to have a third TinyDB ?
  2. I do not see you setting the namespace anywhere in your blocks. You need to do this each time you want to use a different namespace to return data from that namespace in the tinydb.

These blocks should give you an idea of how to use namespaces in one tinyDB

1 Like

I did as you told me to

But Still, when press he save records button, this happens

No, I am using an Android device and using an APK File.

This is the link of my project's AIA File. It was too big to be sent directly


AIA FILE LINK

EDIT: Pls respond fast as I have to submit it today. I have been waiting for 6 hrs

Check your namespaces, first of all. You might be getting the values from the wrong namespace.

image
The Name Space is correct. There is no other block in which I have added the option of date

Pls tell what i can do.. I have to submit it today....
@ABG @nishyanthkumar @Peter @TIMAI2

Based upon the data you are feeding it, the output of Notifier4 appears to be correct, a date and a date?

1 Like

You also do not appear to be switching screens correctly....

Use different screens wisely

If you decided to use different screens, then you should switch them correctly, else you will run out of memory after a while...      
The recommended method of switching screens in App Inventor
(Thanks Taifun)
 
Also see demo: multiscreen.aia
 

But i put the message to be list view 1. selection and the title to be the date

image

1 Like

...and both are same thing i.e. DateLabel.Text.
Because ListView elements are tags which were set from DateLabel.Text.

You should get tags value and put it there.

1 Like

so what should i put instead of listview1.selection

I do not know, what is it you mean to display ?

yes, i mean that only

i want it to display the no. of steps which are in the label 'Number'

Therefore put that in your notifier....

1 Like