locationmanager - Android: Get current location in China -
i need current location in china current location manager not working in china.its not showing latitude , longitude. please tell me how can this? many thanks
fact 1: google services blocked in china.
fact 2: although gives feeling aosp nothing google, it's not.
the truth once used network_provider location, message send google location server check out location, , returned location you. reason every chinese knows about, can't access server, that's why when combine network_provider , gps_provider together, debug codes in room, nothing returned(gps not accessible in room).
solution:
use android rom modified chinese company xiaomi, meizu etc. these roms modify framework , redirect network_provider message other servers.
use third-party location service baidu location sdk.
Comments
Post a Comment