android - A way to mock satalites data (count, SNRs) -


locationmanager.addtestprovider() gives easy way mock location. however, in case, locationmanager.getgpsstatus() still returns empty data , can cause software think there no gps signal. there way control data returned getgpsstatus()?

create adapter around locationmanager. have api adapt, aka work way want. easier mock plus can control return each time.


Comments

Popular posts from this blog

Python __call__ special method practical example -

arrays - jQuery - Retrieve values from HTML elements and return their sum -