Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
5180ad5
version not very new
undingable123 Mar 26, 2025
1d5e0cd
update new API
Mar 26, 2025
7a2e43e
update new API
Mar 27, 2025
c1f54b2
this version can run normally
undingable123 Mar 27, 2025
d88e942
add a switch in trajectory page
Mar 27, 2025
6e959ee
Merge branch 'develop' of https://github.com/TYZTY/PositionMe into de…
Mar 27, 2025
af75a36
add a switch in trajectory page
Mar 27, 2025
5f39967
add a switch in trajectory page
Mar 27, 2025
1c44242
EKF in fusion
undingable123 Mar 27, 2025
421e885
EKF in fusion
undingable123 Mar 27, 2025
311cbcc
EKF in fusion
undingable123 Mar 27, 2025
030dd54
GNSS modified, still have issues: 1. red icon in the center of the sc…
undingable123 Mar 27, 2025
3d8cbed
this version can straightly jump to Replay page when click the replay…
Mar 29, 2025
b3a2e22
this version can save data into the file
Mar 30, 2025
7ca1405
this version can save data into the file (bugs: the timestamp need to…
Mar 30, 2025
c472f90
able to replay but the source still has pb.,by zzzzhhhhhlllll
Mar 30, 2025
ba8c8fa
Merge branch 'develop' of https://github.com/TYZTY/PositionMe into de…
Mar 30, 2025
7468cbe
GNSS modified, still have issues: 1. red icon in the center of the sc…
undingable123 Mar 30, 2025
d0a9923
map can be moved
undingable123 Mar 30, 2025
40c7d49
update pdr start location
undingable123 Mar 30, 2025
336f30b
totally new version
undingable123 Mar 30, 2025
5b52089
update three different traj
undingable123 Mar 30, 2025
646bfb4
1. update three different traj.
undingable123 Mar 31, 2025
20ab2cc
fix exception problem
undingable123 Apr 1, 2025
241b8ab
Optimize UI design
undingable123 Apr 1, 2025
9416ed4
optimize PDR
undingable123 Apr 1, 2025
35904c3
add WGS84
undingable123 Apr 1, 2025
70a795a
optimize PDR again
undingable123 Apr 1, 2025
91b5dce
fix upload fail problem
undingable123 Apr 1, 2025
1af0bcc
update and simplify EKF, Now it can combine PDR,GNSS and WiFi better.
undingable123 Apr 1, 2025
e929f1f
use satellite map to replay
undingable123 Apr 1, 2025
b901d48
update main interface, add a map showing the real-time location
undingable123 Apr 1, 2025
c1b6071
Major update, found the original website https://openpositioning.org/…
undingable123 Apr 2, 2025
7fa9100
modify PDR threshold
undingable123 Apr 2, 2025
a3faac8
Optimize UI design
undingable123 Apr 2, 2025
9e5d191
fix some bugs
undingable123 Apr 2, 2025
931733e
fix some bugs
undingable123 Apr 2, 2025
f4b9058
final version
undingable123 Apr 2, 2025
35cd1cc
final final version
undingable123 Apr 3, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,10 @@ dependencies {
implementation 'com.android.volley:volley:1.2.1'
implementation 'androidx.gridlayout:gridlayout:1.0.0'

// Google Play Services
implementation 'com.google.android.gms:play-services-location:21.2.0'
implementation 'com.google.android.gms:play-services-maps:19.0.0'

// Material Components (Material 3 support is in 1.12.0+)
testImplementation 'junit:junit:4.13.2'
androidTestImplementation 'androidx.test.ext:junit:1.2.1'
Expand All @@ -77,7 +81,6 @@ dependencies {
implementation 'com.squareup.okhttp3:okhttp:4.10.0'
implementation "com.google.protobuf:protobuf-java-util:3.0.0"
implementation "com.google.guava:listenablefuture:9999.0-empty-to-avoid-conflict-with-guava"
implementation 'com.google.android.gms:play-services-maps:19.0.0'

// Navigation components
def nav_version = "2.8.6"
Expand Down
149 changes: 58 additions & 91 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,101 +2,68 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.openpositioning.PositionMe">

<!--
1. Hardware features.
If you truly require these sensors, keep `required="true"`. Otherwise,
consider marking them as `required="false"`.
-->
<uses-feature android:name="android.hardware.sensor.stepdetector" android:required="true"/>
<uses-feature android:name="android.hardware.sensor.accelerometer" android:required="true"/>
<uses-feature android:name="android.hardware.sensor.gyroscope" android:required="true"/>

<!--
2. Permissions.
a) For Android 10 and above, if your app needs to do background location,
you should also add:
<uses-permission android:name="android.permission.ACCESS_BACKGROUND_LOCATION" />
b) If you want to continue reading/writing files outside of your
app-specific directory, you must set `requestLegacyExternalStorage="true"`.
(See the <application> tag below.)
-->

<!-- Wake lock -->
<uses-permission android:name="android.permission.WAKE_LOCK" />

<!-- Physical activity / Step detection (Android 10+ requires runtime permission) -->
<uses-permission android:name="android.permission.ACTIVITY_RECOGNITION"/>

<!-- Wi-Fi and network state (note that setWifiEnabled() no longer works on Android 10+ if you target 29+) -->
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE"/>
<uses-permission android:name="android.permission.CHANGE_WIFI_STATE"/>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>

<!-- Location -->
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/>
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>

<!-- Internet -->
<uses-permission android:name="android.permission.INTERNET"/>

<!-- Storage - Deprecated in Android 10+ (use scoped storage instead)
If you plan to adopt scoped storage fully and store only within your app-specific directories
(or MediaStore for shared media), consider removing READ/WRITE_EXTERNAL_STORAGE eventually.
If you still need broad file access (for example, to migrate existing user data), keep them
short-term but note that starting with Android 11 (API 30), they don’t allow the same broad file access.
-->
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
<!-- Required if your app needs to access images or photos that other apps created. -->
<uses-permission android:name="android.permission.READ_MEDIA_IMAGES" />

<!-- Required if your app needs to access videos that other apps created. -->
<uses-permission android:name="android.permission.READ_MEDIA_VIDEO" />

<!-- Required if your app needs to access audio files that other apps created. -->
<uses-permission android:name="android.permission.READ_MEDIA_AUDIO" />


<!--
3. requestLegacyExternalStorage:
- Required on Android 10 if you need to maintain legacy external storage behavior.
- This flag is ignored on Android 11 (API 30) and higher for new app installs,
but it does help in migration scenarios (e.g. for existing user upgrades).
-->
<uses-feature
android:name="android.hardware.sensor.stepdetector"
android:required="true" />
<uses-feature
android:name="android.hardware.sensor.accelerometer"
android:required="true" />
<uses-feature
android:name="android.hardware.sensor.gyroscope"
android:required="true" /> <!-- Wake -->
<uses-permission android:name="android.permission.WAKE_LOCK" /> <!-- Activity -->
<uses-permission android:name="android.permission.ACTIVITY_RECOGNITION" /> <!-- WiFi -->
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
<uses-permission android:name="android.permission.CHANGE_WIFI_STATE" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> <!-- Location -->
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.INTERNET" /> <!-- Storage -->
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.INTERNET" />

<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher_icon_map"
android:label="@string/app_name"
android:roundIcon="@mipmap/ic_launcher_icon_map_round"
android:supportsRtl="true"
android:theme="@style/Theme.Material3.DayNight.NoActionBar"
android:requestLegacyExternalStorage="true"
>

<activity
android:name=".presentation.activity.ReplayActivity"
android:exported="false" />
<activity
android:name=".presentation.activity.RecordingActivity"
android:exported="false" />

<!-- Google Maps API key metadata -->
<meta-data
android:name="com.google.android.geo.API_KEY"
android:value="@string/google_maps_key"/>

<activity
android:name="com.openpositioning.PositionMe.presentation.activity.MainActivity"
android:exported="true"
android:configChanges="orientation"
android:screenOrientation="portrait">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>

</application>

</manifest>
android:theme="@style/Theme.Cloud">








<!--
TODO: Before you run your application, you need a Google Maps API key.

To get one, follow the directions here:

https://developers.google.com/maps/documentation/android-sdk/get-api-key

Once you have your API key (it starts with "AIza"), define a new property in your
project's local.properties file (e.g. MAPS_API_KEY=Aiza...), and replace the
"YOUR_API_KEY" string in this file with "${MAPS_API_KEY}".
-->
<meta-data
android:name="com.google.android.geo.API_KEY"
android:value="AIzaSyCoM62ket5gpuO95TescR-4s2GauE3n6No" />

<activity
android:name=".MainActivity"
android:configChanges="orientation"
android:exported="true"
android:screenOrientation="portrait">
<intent-filter>
<action android:name="android.intent.action.MAIN" />

<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
</application>

</manifest>
Loading