Khizha A. L., Shvayka A. A., Rusakova A.V.
Oles Honchar Dnipropetrovsk National University
It is well known that http:// and https:// protocols can be used to make requests. Far less known that the usage of file:/// and local:/// is also possible within URL string of a request. That is why it is possible to send requests to any existing file in a loop while waiting for asynchronous invocation to call back:
Unfortunately, this operation will result in high CPU and storage load. That will certainly heat up the device and drain a large amount of battery power. However, there is another way:
The list of references:
2. Ребров А. FileSystem API & File API / А. Ребров // Habrahabr. – 2011, January.
3. Bidelman Eric. New Tricks in XMLHttpRequest2 / Eric Bidelman // HTML5 Rocks. – 2011. – May.