phantast / smartnavi Goto Github PK
View Code? Open in Web Editor NEWSmartNavi offers OpenSource, step-based and GPS independent navigation for Android. smartnavi-app.com
License: Other
SmartNavi offers OpenSource, step-based and GPS independent navigation for Android. smartnavi-app.com
License: Other
F-Droid has only 2.2.4f as latest version. However, 2.4.0 available from Google Play
Hi,
I download your code and run at LG V20 android 7.
It doesn't locate the map.
I always have error "E/DynamiteModule: Failed to load DynamiteLoader: java.lang.ClassNotFoundException: Didn't find class "com.google.android.gms.dynamite.DynamiteModule$DynamiteLoaderClassLoader" on path: DexPathList[[zip file "/system/framework/com.google.android.maps.jar", zip file "/data/app/com.ilm.sandwich-1/base.apk"],nativeLibraryDirectories=[/data/app/com.ilm.sandwich-1/lib/arm64, /system/lib64, /vendor/lib64]]"
Do you know how to fix it?
SmartNavi is quite useful, but not very convenient to access. Therefore I was thinking, why not integrate it more to the system to also manage built-in location services?
For that, it could create a quick settings tile that would toggle both system location and SmartNavi background service.
Here's how it would work:
And when toggled:
Hello Phantast,
I use the version of f-droid. Version 2.1.2f as well as Version 2.2.1f crashes after showing the welcome screen. Version 2.0.4 worked for me.
I use a motorola defy with cyanogenmod 11
Hello
I had a look to your code and particularly to core.java which integrates all the signal processing on sensors data.
I am just wondering :
. Masked code : a lot of code is under comments, what is the purpose of this code ?
. Explanation of the algorithm : do you have a document that presents the algorithm ? (reverse engineering is not easy)
. It seems that a kind of filtering is done samples ? Low pass ? Which value for cut off frequency ? Which kind of fir or iir ?
. It seems that you are doing same filtering without detecting real sampling frequency, but it may be different on various devices (from 50 to 200 hz or 100 hz) : filter coefficients should be different
Best regards.
Please add this app to F-Droid. A thread for it has been created: https://f-droid.org/forums/topic/smartnavi/
Hello, I'm Denis Bogdanas, a research assistant at Oregon Stat University.
I'm working on a tool that automatically introduces runtime permission checks and requests for Android 6 apps. As part of this study I analyzed this app. I was looking at the way permissions are referred in the code.
This app declares permissions <READ_PHONE_STATE, ACCESS_COARSE_LOCATION> in the apk manifest, but doesn't have any code that requires them. It is possible that source code doesn't declare the permissions. I only analyzed apk builds from f-droid. Yet android build mechanism may introduce them when the app uses certain libraries:
https://commonsware.com/blog/2015/06/25/hey-where-did-these-permissions-come-from.html
It won't create any problems on Android 6, but on Android 5- users may wonder why the app needs these permissions and be skeptical of installing the app.
Do you think this is an issue?
best regards,
Denis
i followed the instructions, generated the files... but where am i supposed to place them? is the root of internal storage not the right location? (the one that a computer sees via MTP) or is the MOBAC export not the right format? ( i started googling the path & saw this osmdroid/osmdroid#21 )
CM13 no gapps
the other thing is the online map was empty, but i just noticed location & storage were disabled in app permissions (part of android, but dont exist in CM privacy guard), so i have an online map now but still no offline one
now how am i supposed to clear a set destination?
I get this message and app doesn't install. Trying on Motorola MotoG 1st gen.
Improve finding the location using external data like the location of cell towers and WiFi access points.
A possible solution for this is the open-source service Mozilla Location Service (MLS).
"The Mozilla Location Service (MLS) is an open service which lets devices determine their location based on network infrastructure like Bluetooth beacons, cell towers and WiFi access points. This network based location service complements satellite based navigation systems like A-GPS." [source]
I'm on CM 13 and using the latest f-droid version.
Version 2.0.4 (free) seems to work.
From logcat:
05-08 13:55:25.482 7372 7372 E AndroidRuntime: FATAL EXCEPTION: main
05-08 13:55:25.482 7372 7372 E AndroidRuntime: Process: com.ilm.sandwich, PID: 7372
05-08 13:55:25.482 7372 7372 E AndroidRuntime: Theme: themes:{default=overlay:system, iconPack:system, fontPkg:system, com.android.systemui=overlay:system, com.android.systemui.navbar=overlay:system}
05-08 13:55:25.482 7372 7372 E AndroidRuntime: java.lang.RuntimeException: Unable to resume activity {com.ilm.sandwich/com.ilm.sandwich.OsmMap}: java.lang.IllegalArgumentException: provider doesn't exist: network
I just received an update from Google Play, despite the last commit here being from 2017. Could you explain?
Direct tile access for MapQuest ist no longer supported
See: http://devblog.mapquest.com/2016/06/15/modernization-of-mapquest-results-in-changes-to-open-tile-access/
See also the screenshot below.
Device: LG Nexus 4
Android version: 5.1.1
smartnavi version: 2.3.2
//package name: com.ilm.sandwich
//version: 2.2.1f
java.lang.RuntimeException: Unable to resume activity {com.ilm.sandwich/com.ilm.sandwich.OsmMap}: java.lang.IllegalArgumentException: provider doesn't exisit: null
at android.app.ActivityThread.performResumeActivity(ActivityThread.java:2790)
at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:2819)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2266)
at android.app.ActivityThread.access$600(ActivityThread.java:141)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1256)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:5103)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:525)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:737)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.IllegalArgumentException: provider doesn't exisit: null
at android.os.Parcel.readException(Parcel.java:1435)
at android.os.Parcel.readException(Parcel.java:1385)
at android.location.ILocationManager$Stub$Proxy.requestLocationUpdates(ILocationManager.java:540)
at android.location.LocationManager.requestLocationUpdates(LocationManager.java:836)
at android.location.LocationManager.requestLocationUpdates(LocationManager.java:430)
at com.ilm.sandwich.tools.Locationer.startLocationUpdates(Locationer.java:152)
at com.ilm.sandwich.OsmMap.onResume(OsmMap.java:524)
at android.app.Instrumentation.callActivityOnResume(Instrumentation.java:1192)
at android.app.Activity.performResume(Activity.java:5211)
at android.app.ActivityThread.performResumeActivity(ActivityThread.java:2780)
Out from logcat:
PackageManager: com.android.server.pm.PackageManagerException: Package com.ilm.sandwich requires unavailable shared library com.google.android.maps; failing!
Please, use the already maps already downloaded on the device by OsmAnd. Also the online map cache could be shared.
Building the free flavor still requires play-services, because the code landed in src/main/. Just one example snippet:
:smartnaviapp:compileFreeReleaseJavaWithJavac/home/krt/src/fdroiddata/build/com.ilm.sandwich/smartnaviapp/src/main/java/com/ilm/sandwich/BackgroundService.java:24: error: package com.google.android.gms.analytics does not exist
import com.google.android.gms.analytics.HitBuilders;
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.