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
Post a Comment