Home / Companies / PubNub / Blog / Post Details
Content Deep Dive

Publishing Real-time Location with the Android MapBox API

Blog post from PubNub

Post Details
Company
Date Published
Author
Michael Carroll
Word Count
2,140
Company Posts That Month
7
Language
English
Hacker News Points
-
Post removed?
No
Summary

This blog post provides a step-by-step guide on creating a real-time location-sharing and viewing application for Android using PubNub and the MapBox API. The tutorial outlines setting up the necessary libraries, including PubNub for receiving location data and MapBox for visualizing it on a live-updating map. Readers are guided through initializing PubNub to subscribe to a channel where location data is broadcasted and modifying the map view to display a location marker, draw a line tracing previous locations, and center the map on the current location. The article emphasizes the importance of updating the user interface dynamically by handling tasks on the UI thread due to Android’s architecture, offering a foundational framework for users to expand upon and create sophisticated location-based applications.

Trends Found in this Post
Trend Post Mentions Total Month Mentions Posts Companies MoM
Real-time 1 115 33 17 -38%
Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.