English Version | 中文文档
Motion Emulator is an application platform that allows you to mock location and sensor data using different methods, including Xposed and debugging options.
Trick your fitness app or your favourite game. Make you king of the world.
To learn about the latest software and its tricks, refer to Steve’s Blog.
Build and maintain this project with the latest Android Studio Canary (currently Hedgehog | 2023.1.1 Canary 15) because this project is pretty radical.
This app contains sdk from Amap and Google Maps, thus api keys are required. Obtain them from here and here
echo amap.web.key="<Your Key>" >> local.properties
echo AMAP_SDK_KEY="<Your Key>" >> local.properties
echo GCP_MAPS_KEY="<Your Key>" >> local.properties
My own service is involved to provide online features like self update, which is optional and shouldn’t be included in unofficial builds.
However, it is still possible to build with your own service.
cd app
echo SERVER_URI="<Your Server>" >> server.properties
echo PRODUCT="<You Decide>" >> server.properties
cd ../mock_location_plugin
echo SERVER_URI="<Your Server>" >> server.properties
echo PRODUCT="<You Decide>" >> server.properties
The SERVER_URI
is supposed to be an HTTP/HTTPS RESTful that implements
a certain protocol. You can get an example by
looking at my codebase.
By the way, in case you are not familiar with Android dev, fill in your own SDK like so:
echo sdk.dir=<Your SDK Full Path> >> local.properties
Copyright 2022-2023 zhufucdev
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
com.zhufucdev.motion_emulator