Skip to content

Commit

Permalink
temp
Browse files Browse the repository at this point in the history
  • Loading branch information
joey-mbk committed May 11, 2012
1 parent 08712b4 commit 30a5500
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion AndroidManifest.xml
Expand Up @@ -4,7 +4,7 @@
android:versionCode="1"
android:versionName="1.0" >

<uses-sdk android:minSdkVersion="8" />
<uses-sdk android:minSdkVersion="8" android:targetSdkVersion="8" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
<uses-permission android:name="android.permission.ACCESS_GPS"/>
<uses-permission android:name="android.permission.LOCATION"/>
Expand Down
6 changes: 4 additions & 2 deletions src/com/mobilecityguide/activity/PoisList.java
Expand Up @@ -120,8 +120,10 @@ private void setListeners() {
HashMap<Integer, POI> poiHashMap;
try {
poiHashMap = UserController.selectedItinerary.getPOIList();
for (Entry<Integer, POI> entry : poiHashMap.entrySet())
pois.add(entry.getKey(), POIController.getPOIName(entry.getValue()));
pois = new ArrayList<String>();
for (int i = 1; i < poiHashMap.size(); i++) {
pois.add(POIController.getPOIName(poiHashMap.get(new Integer(i))));
}
} catch (Exception e) {
e.printStackTrace();
}
Expand Down

0 comments on commit 30a5500

Please sign in to comment.