Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

Android build #71

Closed
tmcw opened this issue Feb 18, 2014 · 11 comments
Closed

Android build #71

tmcw opened this issue Feb 18, 2014 · 11 comments

Comments

@tmcw
Copy link
Contributor

tmcw commented Feb 18, 2014

Would be good to start tinkering with the Android NDK to see whether we can get LLMR running. The Android SDK will be traditional tiles for the first public release, but we'll have to leapfrog that shortly after.

@tmcw tmcw added the feature label Feb 18, 2014
@springmeyer
Copy link
Contributor

👍 I've tinkered with the NDK in the past getting Mapnik running and it all worked great. I did not try c++11 features yet, but it should work with the latest NDK releases. Overall the recent NDK releases have seen a lot of improvements so often older blog posts make it seem its harder to get C++ stuff working than it actually is.

@springmeyer
Copy link
Contributor

will be surfacing a sample project at https://github.com/springmeyer/hello-android-ndk over the next day or so as I try to remember how I got set up.

@kkaefer kkaefer added the build label Apr 22, 2014
@springmeyer
Copy link
Contributor

This work is still lingering partially done in a few test branches. I'll be returning to get this working soon.

@springmeyer
Copy link
Contributor

got llmr.a (mapboxgl.a) building on android both via linux and osx hosts: https://travis-ci.org/mapbox/mapbox-gl-native/builds/26826633. Next challenge is getting the app running: glfw3 does not appear to support android.

@springmeyer
Copy link
Contributor

I'll add that most work for this took place in mapnik-packaging: mapnik/mapnik-packaging@c591a26...57cd292

@kkaefer
Copy link
Member

kkaefer commented Jun 5, 2014

@springmeyer we can (and probably should) write a wrapper that uses Android/Java components and just calls out to the rendering routines, without building on glfw.

@springmeyer
Copy link
Contributor

@kkaefer 👍

@tmcw
Copy link
Contributor Author

tmcw commented Jun 5, 2014

Yeah - will just need to write the JNI bindings, right? Should this work happen in this repo, or in a mapbox-android-gl repo?

@incanus
Copy link
Contributor

incanus commented Jun 5, 2014

got llmr.a (mapboxgl.a) building on android both via linux and osx hosts

Awesome @springmeyer!

@Hassaan
Copy link

Hassaan commented Sep 25, 2014

Seems like most of the development for Android support for MapBox GL is happening in #334 now.

Adding a link for anyone coming from MapBox GL's blog post look for answers to a potential release date for an Android build.

@incanus
Copy link
Contributor

incanus commented Oct 30, 2014

Stale.

@incanus incanus closed this as completed Oct 30, 2014
acalcutt pushed a commit to acalcutt/mapbox-gl-native that referenced this issue Apr 30, 2022
With 72df165 the query annotations
shortcut was introduced using the previously used shortcut 'Q', which
was replaced by 'C'. Help was not updated for either.

Signed-off-by: Nuno Goncalves <nunojpg@gmail.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants