I pledge the highest level of ethical principles in support of academic excellence. I ensure that all of my work reflects my own abilities and not those of someone else.
answer to q1: i will send from main activity to the service a new extra: intent.putextra("timeout",200) and in the service we will perform intent.getextra("timeout",20000) this way we can choose the timeout for the tests, and the default is 20 sec.