开发者

Android Google APIs GPS Data mocking not working in emulator?

开发者 https://www.devze.com 2023-02-10 03:24 出处:网络
I want to mock GPS data in my emaulator. the application target is Google APIs 2.3.1, API level 9. I tried sending location manually from DDMS, loading gpx files and sending from the emulator console

I want to mock GPS data in my emaulator. the application target is Google APIs 2.3.1, API level 9.

I tried sending location manually from DDMS, loading gpx files and sending from the emulator console but nothing happens.

can anybody provide me with detailed and tested step开发者_如何学Cs to achieve the mocking ?

thanks


OK, I found it,

it's a bug in sdk 2.3, when I changed the target to sdk 2.1 it worked just fine

0

精彩评论

暂无评论...
验证码 换一张
取 消