Category : gps

I recorded GPS and ARCore for outdoor positioning. However in several cases when I plot the trajectories from both GPS and ARCore, they do not align and there is a angle of rotation of about 120 degrees to 60 degrees in some cases, and some are perfectly matched. Now the question is as there isn’t ..

Read more

This is my current (deprecated) method: int LOCATION_REQUEST_CODE = 10001; @Override public void onRequestPermissionsResult(int requestCode, @NonNull String[] permissions, @NonNull int[] grantResults) { if (requestCode == LOCATION_REQUEST_CODE) { //Permission granted if (grantResults.length > 0 && grantResults[0] == PackageManager.PERMISSION_GRANTED) { checkSettingsAndStartLocationUpdates(); } else { //DO SOMETHING – Permission not granted } } } According to the android ..

Read more

I’m working on an android app that track employees location during working hours, So I create a service for it with sticky notification. It was working well but on devices Android 9 and above it was killing the service as well with the activity when user close the app(clear from recent apps). Then I made ..

Read more

I’m using Android Studio to create a GPS using MapBox! I m pretty new to this and I modified some lines ( because other tutorials were outdated) This is the error I’ve encountered 2021-05-29 12:40:09.411 7219-7219/? E/AndroidRuntime: FATAL EXCEPTION: main Process: com.example.againgps2, PID: 7219 java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.againgps2/com.example.againgps2.MainActivity}: java.lang.SecurityException: getDataNetworkTypeForSubscriber at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3449) at ..

Read more