Yesterday my app was working today is not working. I don't know what is happening, this happened twice. My app is a button which when you click it there is sending app messages in the phone numbers which user chose and at the same time app records automatically for one hour a sound in the phone, which store it also in the phone.
the problem is that the recording is working but is not sending the messages. Please help me
My blocks:
Check you are getting a location fix
I am a little dumbie, what are you mean?
It means that your procedure send location works only if location sensor achieves a satelite fix and gets latitute and longitude. What is the time interval in location sensor's properties ? If you open app and immediately long click block it won't send a message because latitude and longitude will be 0 since location sensor won't have the time to get data
You have lots of potential issues.
- Did you read Using the Location Sensor to learn how the LocationSensor works?
- Did you read the LocationSensor documentation; especially TimeInterval (which) Determines the minimum time interval, in milliseconds, that the sensor will try to use for sending out location updates. However, location updates will only be received when the location of the phone actually changes, and use of the specified time interval is not guaranteed. For example, if 30000 is used as the time interval, location updates will never be fired sooner than 30000ms, but they may be fired anytime after.
Values smaller than 30000ms (30 seconds) are not practical for most devices. Small values may drain battery and overwork the GPS. You set the value to 1000 ms in one place (incidentally in an inappropriate place).
- Why do you have a call TinyWebDB block when you are using a TinyDB?
- you use a TinyDB. If you accidentaly save inappropriate information in a Tag and close your Project, inappropriate information is read when you reload (Screen1.Initialization); this could be an issue. Check the values stored in your Tags.
- read Dora's post.
- Clock3 is not required in your app; Clock1 could be used.
- etc. etc. Simplify your Project and test parts of the app separately, when they work, put them together.
Have you regularly been saving an aia file copy of your Project? If you have saved aia's you could load the copy from a time when your Project worked and think about the changes you made that now mean the code does not work. One of your 'changes' possibly make the code do something you do not want to happen.