Android Question How know destructive the app?

darabon

Active Member
Hi,
I did a b4a project for an iOT client base.
I use MQTT,socket, and my technology in this app and always, and the app is always foreground
This app is for manage smart home(curtains,socket, heat cool and other)
Now, client say after 6 month, the tablet board destroy or android crashed and he say the problem is my app
How know it? how fix it?
Maybe the many codes or the fact that the tablet is on permanently are the problems?
Can I attach the app for analyze?
 

Brian Dean

Well-Known Member
Licensed User
Longtime User
What evidence does the client have to support his claim? Can he suggest a mechanism through which a particular app can destroy a device? Does he have any other examples to show that it is possible for an app to destroy a device? Can he explain how your app managed to operate for six months before it destroyed the device?

It is of course true that a device contains many thousands of electronic components, that these components do sometimes fail due to age or inherent defects, and that for this reason devices do fail after several hundred hours of satisfactory operation. But the defect is in the hardware, not the software.
 
Upvote 0

darabon

Active Member
Hi said the app and tablet are working as well and there is no problem but after 4 or 5 months, the tablet is destroyed and crashed or slowest
There is no logical cause for it but a client insist app is a problem
 
Upvote 0

Brian Dean

Well-Known Member
Licensed User
Longtime User
There is no logical cause for it but a client insist app is a problem
This is like getting a puncture in a car tyre and blaming the garage for giving you bad petrol. I am afraid that you will not be able to find any logical explanation that will be accepted by such an illogical person.
 
Upvote 0

darabon

Active Member
The problem found.
Every 5 seconds, I received data from MQTT and saved it to the database.
Because the IO actions are 1000 times per day, the storage disk cycle finishes and destroy
 
Upvote 0

amorosik

Expert
Licensed User
If the storage disk is like a classic ssd, there is a 'wearing levelling' algoritm to prevent the problem
1000 times/day = 365000 writing cycle/year, not excessive, for many years
Who and why says "..storage disk cycle finishes and destroy.." ?
 
Last edited:
Upvote 0
Top