My favorites
▼
|
Sign in
mixare
Mixare is an open source Augmented Reality Engine for Android smartphones
Project Home
Downloads
Wiki
Issues
Source
Export to GitHub
READ-ONLY: This project has been
archived
. For more information see
this post
.
Search
Search within:
All issues
Open issues
New issues
Issues to verify
for
Advanced search
Search tips
Subscriptions
Issue
74
attachment: 01.patch
(1010 bytes)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
--- src/org/mixare/MixListView.orig.java 2011-01-11 14:24:24.097029997 +0100
+++ src/org/mixare/MixListView.java 2011-01-11 14:07:23.737030002 +0100
@@ -72,6 +72,7 @@
public static String customizedURL="http://mixare.org/geotest.php";
private static Context ctx;
private static String searchQuery = "";
+ private static String haveLink = " (Link)";
public static List<Marker> searchResultMarkers;
public static List<Marker> originalMarkerList;
@@ -138,7 +139,13 @@
for (int i = 0; i < jLayer.getMarkerCount(); i++) {
Marker ma = jLayer.getMarker(i);
if(ma.isActive()) {
- listViewMenu.add(ma.getTitle());
+ if (ma.getURL()!=null) {
+ /* Add (link) after the title if website is available*/
+ listViewMenu.add(ma.getTitle() + haveLink);
+ } else {
+ /* Or add nothing */
+ listViewMenu.add(ma.getTitle());
+ }
/*the website for the corresponding title*/
if (ma.getURL()!=null)
selectedItemURL.add(ma.getURL());
Powered by
Google Project Hosting