Texting and Phonecall

-you are using Location changes apparently (offsetGPS ???) as part of your app to determine if a phone is falling. Did you read the section about Accuracy in Using the Location Sensor ? The GPS** cannot detect small changes in location with any reliability at all.

  • you are using an Accelerometer and comparing it to what you call offsetGPS (whatever that is)

In some ways, the intent of your app is similar to this discussion of using a cell phone to determine falling and lack of movement

There is some advice and code there that you might find useful in your development. You might read that and also AccelerometerSensor and . Programming Your App to Make Decisions and Texting

Hmmm. Have you gone to your phone's Messaging app and tried to delete the messages there? You do not have to re-start your phone most likely. When you use the Texting component, the component uses the device's system messsaging app; so the messages appear there too automatically. It is how Texting works.

Your list varPhone comes from somewhere. It probably includes your data when you imported it. When you iterate through the List, you get what is there.

Do I know for sure? Of course not, you did not share all your code.

Hopefully the tools here will help you figure this out. Good luck.

Regards,
Steve