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

objective c - Change font of selected text in UITextView -

php - Accessing POST data in Facebook cavas app -

c# - Getting control value when switching a view as part of a multiview -