Comments (5)
Guess you would have to call javascript functions to call clickevent of '+' and '-' in gecko view. Can you register listeners that fire javascript on the currently loaded page? i guess then it is easy...
there are javaScript functions zoomIn() and zoomOut() that zoom, so you could just call them to zoom in and out from a javascript console. you can try it in your browser.
Following calls could be handy:
Center map on car: centermode = false; toggleCenter()
(centermode needs to be false so it centers again, else it will just toggle on/off
Zoom in: zoomIn()
Zoom out: zoomOut()
Enable night mode: nightmode= false;toggleNight()
Enable day mode: nightmode= true;toggleNight()
from abrptransmitter.
How to inject Javascript:
https://stackoverflow.com/questions/57244592/how-to-inject-javascript-to-geckoview-on-android
So it actually should be possible to use the wheel know and others to interact with the map.
from abrptransmitter.
That way doesn't work. You have to write a web extension. Only problem is that v67 of geckoview doesn't seem to support them.... At least the guides I found don't match the functionality in geckoview v67.
https://mozilla.github.io/geckoview/consumer/docs/web-extensions
And newer geckoviews don't work anymore on Android 4.2...
When I tried v71 and v72 I got an verifyexception. But not only on the navi, also on an Android emulator.
I then tried to just send the keyevenz zoom in/out but that zooms the whole website.
from abrptransmitter.
v67 got only initial webextension support, almost nothing i need is working :(
https://mozilla.github.io/geckoview/javadoc/mozilla-central/org/mozilla/geckoview/doc-files/CHANGELOG
from abrptransmitter.
resolved with cdfac4e
from abrptransmitter.
Related Issues (20)
- Reload button stops working HOT 1
- Make version visible HOT 1
- Share next stop sometimes not working HOT 1
- add oauth2 authentication HOT 1
- clock showing HH:00 in fullscreen mode
- next/previous song not working when app is visible HOT 2
- disable fragment swipe HOT 1
- Not Uploading any live data HOT 1
- Support offline mode HOT 3
- Right knob for zoom doesn't work HOT 2
- New interface not loading (white screen) HOT 1
- Send data from "offline" session. HOT 3
- Capture charge speed and send to ABRP HOT 1
- Suggestion: Data upload to cloud HOT 2
- is there any way to use GreenCarManager , CarInfoManager, HvacManager to get VW ID.3 details HOT 1
- getting this error while running app in android emulator HOT 2
- Is this still functional? HOT 4
- next step sharing do not work on 211027 HOT 2
- libvitnavijni_45ECN.so - question about it HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from abrptransmitter.