Skip to content

Commit

Permalink
Remove Google Maps code
Browse files Browse the repository at this point in the history
  • Loading branch information
yuvipanda committed Feb 10, 2012
1 parent ad6692c commit e937bb7
Show file tree
Hide file tree
Showing 8 changed files with 0 additions and 556 deletions.
30 changes: 0 additions & 30 deletions assets/www/android/platform.js
Original file line number Diff line number Diff line change
Expand Up @@ -132,36 +132,6 @@ app.setCaching = function(enabled, success) {
}
}

//@Override
function getCurrentPosition() {
PhoneGap.exec(geoNameSuccess, geoNameFailure, "NearMePlugin", "startNearMeActivity", [preferencesDB.get('language')]);
}

function geoNameSuccess(wikipediaUrl) {
if(wikipediaUrl) {
$('#search').addClass('inProgress');
$.ajax({url: "https://en.m.wikipedia.org",
success: function(data) {
if(data) {
app.navigateToPage('https://'+wikipediaUrl)
} else {
noConnectionMsg();
navigator.app.exitApp();
}
},
error: function(xhr) {
noConnectionMsg();
},
timeout: 3000
});
}
}

function geoNameFailure(error) {
console.log(error);
alert('Google Maps service is not available on this device.');
}

window.preferencesDB.addOnSet(function(id, value) {
window.plugins.preferences.set(id, value, function(){}, function(){});
});
27 changes: 0 additions & 27 deletions src/org/wikipedia/ClickableDialog.java

This file was deleted.

66 changes: 0 additions & 66 deletions src/org/wikipedia/GeoName.java

This file was deleted.

42 changes: 0 additions & 42 deletions src/org/wikipedia/HttpApi.java

This file was deleted.

209 changes: 0 additions & 209 deletions src/org/wikipedia/NearMeActivity.java

This file was deleted.

Loading

0 comments on commit e937bb7

Please sign in to comment.