ev-map / EVMap

Android app to find electric vehicle charging stations - compatible with community databases such as GoingElectric.de and OpenChargeMap.org.
https://ev-map.app/
MIT License
204 stars 56 forks source link

Librem5 / Pinephone / desktop app? #210

Closed programmin1 closed 1 year ago

programmin1 commented 2 years ago

This appears to be Java and Android only...? Can we have a GTK+ Linux app so everyone on Librem phone, Pinephone and Linux laptops can use the app please?

Might be a good Hacktoberfest project if you are open to collaboration.

johan12345 commented 2 years ago

Phew... that's a big project 😅

So far, EVMap is a native Android app developed in Kotlin, yes. While I appreciate the idea and am open to collaboration, I'm afraid I wouldn't have the time to be the responsible maintainer for any ports to other platforms (and especially platforms that I don't regularly use myself). So somebody else would need to lead the effort and keep it updated in the future. EVMap on Android already has two independent UIs (on the phone, and for Android Auto/Android Automotive OS on the car screen) that need to be maintained, and there is still a significant backlog of feature requests to be implemented.

If it helps, it should be possible to extract some reusable parts from EVMap's backend code into a pure Kotlin library (e.g., data classes and API clients). But the vast majority of the code depends on the Android SDK, either because it's dealing directly with the UI, or using convenient Android-specific libraries such as Room and ViewModel).

Also, I have no experience so far with GTK+ GUI development using Java/Kotlin - and I imagine the audience (users of non-Android Linux phones that also drive an EV) would not be large enough to really justify the significant effort of porting all the features and making the UI as polished as it is on Android right now?

Laptop/desktop users can already easily use the web interfaces of our data sources (GoingElectric.de, OpenChargeMap, Chargeprice) to get most of the relevant features, and the latter even works reasonably well in mobile browsers. I even thought about a web version of EVMap a couple of times, but that's definitely not a concrete plan yet and would probably only have a significantly reduced feature set.

With a quick search I found that it seems to be possible to use Android apps on these phones using Anbox, have you considered that? If there's something specific about EVMap that's preventing it from running in Anbox there might be ways to address that.

johan12345 commented 1 year ago

closing as it's not planned from my side