Giter Club home page Giter Club logo

smartnavi's People

Contributors

dritte avatar julianharty avatar naofum avatar phantast avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

smartnavi's Issues

Quick settings tile for background service

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:

  • User taps the tile
  • Setup screen will come up if necessary (for mock locations and ADB/root)
  • SmartNavi will activate system location (if permission given by ADB or root)
  • Background service will be activated
  • Current location will be requested once using GPS or SmartNavi will pop up for the user to manually set the location (optional)
  • Apps can use location using SmartNavi

And when toggled: 

  • Background service will be stopped
  • Location will be deactivated (if permission given)

app crashes when launching

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

Use offline maps OsmAnd

Please, use the already maps already downloaded on the device by OsmAnd. Also the online map cache could be shared.

java.lang.IllegalArgumentException: provider doesn't exisit: null

//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)

not understanding how to use offline maps, 'follow our tutorial' always pops up

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?

Have error

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?

Permissions <READ_PHONE_STATE, ACCESS_COARSE_LOCATION> are declared but not used

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

Suspicious update

I just received an update from Google Play, despite the last commit here being from 2017. Could you explain?

Cannot build free flavor

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;

Idea: Find location by cell towers and WiFi access points (e.g. using Mozilla Location Service)

Idea:

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).

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]

  • Website
  • API-Documentation
  • Example coverage map of munich
  • Costs: "The service is currently provided as-is, free of charge, without any guarantee on availability, accuracy of results or continued existence. We don't offer any commercial plans for the service and have no plans to provide such." [source]

app crashes on moto defy

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

More Info

Out from logcat:

PackageManager: com.android.server.pm.PackageManagerException: Package com.ilm.sandwich requires unavailable shared library com.google.android.maps; failing!

algorithm for step detection and sampling frequency of sensors

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.