I have put up a new version of AndNav2 containing a couple of new features, that were previously posted here in the news. Its not well tested, but should work the same or better than the previous versions. There for I call it 'bleeding', because it represents the latest development-status and is updated like every or every 2nd day.
the API you, as a developer, can interfere with AndNav2 has been extended. You can now make AndNav2 display a couple of GPS-locations along with a title and a description.
This is what looks like having sent out some locations:
This is how it works:
// Only AndNav2 will react! public static final String ANDNAV2_VIEW_ACTION = "org.andnav2.intent.ACTION_VIEW";
private void sampleLocationRequest() { // Create a bundle that will transfer the location-information final Bundle b = new Bundle();
final ArrayList locations = new ArrayList(); // Add as many locations as you want here
// "Latitude,Longitude;Title;Description" locations.add("50.119539,8.658031;Frankfurt;City Center"); // "Latitude,Longitude;Title;Description" locations.add("50.133089,8.66729;Frankfurt (title is optional);" + "Just an optional description.. put anything here =) !!"); // "Latitude,Longitude;Title" locations.add("50.133089,8.63729;Just a title, no decription"); // "Latitude,Longitude" locations.add("50.124089,8.64729");
// Add the locations to the bungle using "locations" as the key b.putStringArrayList("locations", locations);
// Create and broadcast an Intent that will // start an AndNav-Map with the locations marked final Intent locationIntent = new Intent(ANDNAV2_VIEW_ACTION); locationIntent.putExtras(b); sendBroadcast(locationIntent); }
This will be available from the very next version of AndNav2!
the next version of AndNav2 will have an really neat new feature of the drawing-engine. If you zoomed to a specific level and there was no maptile for that zoomlevel downloaded yet, AndNav2 now generates a intermediate maptile from the ones of the above zoomlevel.So the time you are running without Maptile, especially while having Auto-Zoom enabled, is dramatically reduced!
This is how it looks like. (Keep an eye, on the pebbly pixels directly after zooming in):
today we want to make you familiar with the new neat feature of AndNav2. We have added an interface to OpenStreetBug (website) which also is available right here on andnav.org.
With this tool, you can report bugs in the OpenStreetMap-Data, which can get commented and closed by other members of the OpenStreetMap/AndNav-Community.
Such bugs are i.e.:
Missing streets
Misspelled streetnames
Oneways in the wrong direction
New roundabouts
etc...
This feature will be included in the very next version of AndNav2.