Hi, i am actually developing an android app and i have a function which runs in background of my app through alarm receiver using async task and in that i access a specific file from my dropbox using dropbox file path, update it and then upload it to dropbox. So i am using
FileMetadata metadata = (FileMetadata) client.files().getMetadata(FileNdPath);
it works fine but sometime the problem occurs when metadata gets stuck while getting data from the specific file which only contains a few line text and is a json file. After getting stuck my whole app gets stuck while waiting for the execution to procceed. What might be the problem and how can i resolve it? Is there anyway to find if the specific file is getting much time or gets stuck so that i can start the process again?