microg / android_frameworks_mapsv1 Goto Github PK
View Code? Open in Web Editor NEWMapsV1: A system library, providing the functionality of Google Maps API v1
License: Apache License 2.0
MapsV1: A system library, providing the functionality of Google Maps API v1
License: Apache License 2.0
Could it ever be within the scope of the project to be able to use local OSM map data, rather than having to use a Tile Server?
This is using the v0.1.0 released zip file. Seems that #7 has not been completely fixed yet.
D/AndroidRuntime( 3342): Shutting down VM
E/AndroidRuntime( 3342): FATAL EXCEPTION: main
E/AndroidRuntime( 3342): Process: de.hafas.android.vgs, PID: 3342
E/AndroidRuntime( 3342): java.lang.IllegalArgumentException: Resource not found: person.png
E/AndroidRuntime( 3342): at org.osmdroid.DefaultResourceProxyImpl.getBitmap(DefaultResourceProxyImpl.java:91)
E/AndroidRuntime( 3342): at org.osmdroid.views.overlay.MyLocationOverlay.<init>(MyLocationOverlay.java:152)
E/AndroidRuntime( 3342): at org.osmdroid.views.overlay.MyLocationOverlay.<init>(MyLocationOverlay.java:136)
E/AndroidRuntime( 3342): at com.google.android.maps.MyLocationOverlay.<init>(MyLocationOverlay.java:35)
E/AndroidRuntime( 3342): at de.hafas.android.b.j.<init>(ProGuard:252)
E/AndroidRuntime( 3342): at de.hafas.android.b.c.run(ProGuard:74)
E/AndroidRuntime( 3342): at de.hafas.android.a.c.a.a(ProGuard:965)
E/AndroidRuntime( 3342): at de.hafas.android.b.b.a(ProGuard:64)
E/AndroidRuntime( 3342): at de.hafas.a.cc.<init>(ProGuard:62)
E/AndroidRuntime( 3342): at de.hafas.a.cc.<init>(ProGuard:44)
E/AndroidRuntime( 3342): at de.hafas.main.i.D(ProGuard:2675)
E/AndroidRuntime( 3342): at de.hafas.main.i.a(ProGuard:2513)
E/AndroidRuntime( 3342): at de.hafas.a.d.a(ProGuard:217)
E/AndroidRuntime( 3342): at de.hafas.a.b.onClick(ProGuard:593)
E/AndroidRuntime( 3342): at android.view.View.performClick(View.java:4789)
E/AndroidRuntime( 3342): at android.view.View$PerformClick.run(View.java:19881)
E/AndroidRuntime( 3342): at android.os.Handler.handleCallback(Handler.java:739)
E/AndroidRuntime( 3342): at android.os.Handler.dispatchMessage(Handler.java:95)
E/AndroidRuntime( 3342): at android.os.Looper.loop(Looper.java:135)
E/AndroidRuntime( 3342): at android.app.ActivityThread.main(ActivityThread.java:5294)
E/AndroidRuntime( 3342): at java.lang.reflect.Method.invoke(Native Method)
E/AndroidRuntime( 3342): at java.lang.reflect.Method.invoke(Method.java:372)
E/AndroidRuntime( 3342): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:904)
E/AndroidRuntime( 3342): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:699)
E/AndroidRuntime( 3342): at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:114)
W/ActivityManager( 810): Force finishing activity 1 de.hafas.android.vgs/de.hafas.main.Hafas
If I'm understanding right this library is a system library, so ROM builders/modders use it as a replacement for Google Maps v1.
I'd like to link the library into my app, so that it can access Google Maps on any device. So this is a feature request to make this possible.
Following the trend of other microg projects, and given that this project can be used as a library replacement for the proprietary Google Maps in applications, would it be possible to re-license this project as Apache 2.0? This would make inclusion in applications easier license-wise as it could be included in non-GPL'd projects.
From the wording in the license of the previous version of this project, it appeared that this project was only GPL licensed because osmdroid was LGPL licensed at the time. This is no longer the case as osmdroid is now also Apache 2.0 licensed, so the base license of this project could be safely changed (if there is no other GPL'd code).
@mar-v-in: Please set automatic builds on every commit.
I could not sign in into my account in Maps. After previous MicroG update, I tried but if I sign in, the Maps software becomes unfunctional, and laggy and does not load any information anymore
Hello there,
I am quite unsure if I missed something obvious, but after installing the flashable zip (latest release, following the wiki instructions), the situation didn't really change for good on my phone.
The three (unfortunately for me quite essential) apps that I know to rely on the maps api v1, at least in former attempts to get rid of google services, are either still not installable/recoverable (HVV and Stadtrad Hamburg) or not showing proper replacements of a map view (Öffi 8.99.1-google).
In the case of Öffi, my S3 rather shows a window asking which app should be used to open the location (only option is opening osmand for me).
Can someone point me in the right direction? Or rather help me to make this a proper error report, if it ain't?
Thank you and best regards,
Nix
After adding the following lines to my manifest.xml
<project path="frameworks/mapsv1" name="microg/android_frameworks_mapsv1" revision="master" />
<project path="external/slf4j" name="microg/android_external_slf4j" revision="master" />
<project path="external/osmdroid" name="microg/android_external_osmdroid" revision="master" />
And adding this to PRODUCT_PACKAGES
PRODUCT_PACKAGES += \
com.google.android.maps \
com.google.android.maps.xml
I get the following error
make: *** No rule to make target `out/target/common/obj/JAVA_LIBRARIES/osmdroid-android_intermediates/javalib.jar', needed by `out/target/common/obj/JAVA_LIBRARIES/com.google.android.maps_intermediates/classes-full-debug.jar'. Stop.
Any idea what I'm missing?
"Öfi" crashes on startup, with
E/AndroidRuntime( 3324): java.lang.RuntimeException: Unable to create application de.schildbach.oeffi.Application: java.lang.ClassCastException: org.slf4j.impl.AndroidLoggerFactory cannot be cast to ch.qos.logback.classic.LoggerContext
E/AndroidRuntime( 3324): at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4596)
E/AndroidRuntime( 3324): at de.robv.android.xposed.XposedBridge.invokeOriginalMethodNative(Native Method)
E/AndroidRuntime( 3324): at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:668)
E/AndroidRuntime( 3324): at android.app.ActivityThread.handleBindApplication(<Xposed>)
E/AndroidRuntime( 3324): at android.app.ActivityThread.access$1600(ActivityThread.java:154)
E/AndroidRuntime( 3324): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1382)
E/AndroidRuntime( 3324): at android.os.Handler.dispatchMessage(Handler.java:102)
E/AndroidRuntime( 3324): at android.os.Looper.loop(Looper.java:135)
E/AndroidRuntime( 3324): at android.app.ActivityThread.main(ActivityThread.java:5294)
E/AndroidRuntime( 3324): at java.lang.reflect.Method.invoke(Native Method)
E/AndroidRuntime( 3324): at java.lang.reflect.Method.invoke(Method.java:372)
E/AndroidRuntime( 3324): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:904)
E/AndroidRuntime( 3324): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:699)
E/AndroidRuntime( 3324): at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:115)
E/AndroidRuntime( 3324): Caused by: java.lang.ClassCastException: org.slf4j.impl.AndroidLoggerFactory cannot be cast to ch.qos.logback.classic.LoggerContext
E/AndroidRuntime( 3324): at de.schildbach.oeffi.Application.initLogging(Application.java:156)
E/AndroidRuntime( 3324): at de.schildbach.oeffi.Application.onCreate(Application.java:44)
E/AndroidRuntime( 3324): at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1012)
E/AndroidRuntime( 3324): at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4593)
E/AndroidRuntime( 3324): ... 13 more
Saarfahrplan crashes when touching the "map" icon.
Is your feature request related to a problem? Please describe.
No
Describe the solution you'd like
I would like to have a way of installing this framework using Magisk.
Describe alternatives you've considered
There exists a ZIP in #16 but the checksums for the JARs in the ZIPs don't match.
Hi is mapsv1 not compatible with android 10 and microg? I have installed it and made sure all the permissions are correct however, when installing an apk that requires mapsv1 it fails and says "Reconcile failed: Package com.banksimple requires unavailable shared library com.google.android.maps; failing!]"
Thanks!!!!
Hi,
I've got an Android.mk at https://github.com/gfreed/MapsAPI/blob/master/com.google.android.maps/Android.mk
Feel free to use it.
I'm currently assembling a full FLOSS ROM - Gravity free distribution (a ROM that does not try to drag you into some commercial cloud). It's already running on my old galaxy nexus. The biggest bug I'm having right now is that I can't get openpgp keychain and the k-9 fork to work. And I should switch to Conversation as the XMPP chat application.
Details are available at https://github.com/gfreed/android_vendor_gfreed and a list of packages can be found at
https://github.com/gfreed/android_vendor_gfreed/blob/android-4.4/fetch-apps.sh
https://github.com/gfreed/android_vendor_gfreed/blob/android-4.4/config/packages.mk
and
https://github.com/gfreed/gfreed/blob/android-4.4/default.xml
Ping me if you'd like to run s.th. similar on your phone.
I see that there's another issue (#7) here about Öffi crashing, which I don't experience. Regardless I thought I should post a new issue regarding my own current problem. It relates to another app which doesn't have a Bug Tracker so I thought I'd document it here and then e-mail him with a link to it - I hope that's OK.
I installed the most recent .zip to my Android device running CM12.1 (so Android 5.1.1), also with microg installed from F-Droid (up to date, AFAIK). Before I did this, the "normal" builds of Öffi in the developer's own F-Droid repo refused to install - afterwards, the install was successful.
There are a few modes in Öffi that can display a map, e.g. the one for showing nearby stations. The map pane is visible along with a location marker (indeed, when in an appropriate route mode, other location markers are also visible, e.g. for your destination too), but with no map content. I wondered whether there was a setting or something that I'd forgotten to properly configure but as far as I can see there isn't a settings menu for this Maps "package".
I will have time later in the week to try to get some actual debug output, and once I do, I'll post that in a reply. Also if there's any other information that would be useful, don't hesitate to ask. I'll provide that too once I have the time.
In readme file I found that "Release builds may be found on the release page", but release page is empty. It would be great if the build files were available as well.
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.