forked from smeir/berlin-vegan-guide
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex_android.html
More file actions
71 lines (62 loc) · 3.12 KB
/
index_android.html
File metadata and controls
71 lines (62 loc) · 3.12 KB
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<!-- Change this if you want to allow scaling -->
<meta name="viewport" content="width=default-width; user-scalable=no" />
<meta http-equiv="Content-type" content="text/html; charset=utf-8">
<title>Berlin Vegan Guide</title>
<!-- Sencha Touch CSS -->
<link rel="stylesheet" href="resources/css/android.css" type="text/css">
<!-- Custom CSS -->
<link rel="stylesheet" href="resources/css/index.css" type="text/css">
<link rel="stylesheet" media="screen and (-webkit-device-pixel-ratio: 0.75)" href="resources/css/index-240px.css" type="text/css" />
<!-- Google Maps JS -->
<!-- <script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=true"></script>-->
<!-- Sencha Touch JS -->
<script type="text/javascript" src="lib/touch/sencha-touch.js"></script>
<script type="text/javascript" charset="utf-8" src="lib/android/cordova.js"></script>
<script type="text/javascript" src="http://www.berlin-vegan.de/app/data/ShopStoreData.js"></script>
<script type="text/javascript" src="http://www.berlin-vegan.de/app/data/RestaurantStoreData.js"></script>
<script type="text/javascript" src="http://www.berlin-vegan.de/app/data/CafeStoreData.js"></script>
<script type="text/javascript" src="http://www.berlin-vegan.de/app/data/Textfiles.js"></script>
<script type="text/javascript" src="index-min.js"></script>
<script type="text/javascript" charset="utf-8">
BVApp.utils.AppUtils.android =true;
device = {}; // add device object for compatibility, newer phonegap version expose device only with additional plugins. :-(
device.name = bvappDevice.getName();
device.platform = bvappDevice.getPlatform();
device.version = bvappDevice.getVersion();
// If you want to prevent dragging, uncomment this section
function preventBehavior(e) {
e.preventDefault();
}
// use phonegap implementation instead of builtin html5
//Geolocation.usingPhoneGap =true;
document.addEventListener("touchmove", preventBehavior, false);
function onBodyLoad(){
console.log("onBodyLoad()");
document.addEventListener("deviceready",onDeviceReady,false);
// document.addEventListener("resume",appActive,false);
// document.addEventListener("onresume",appActive,false);
}
/* When this function is called, PhoneGap has been initialized and is ready to roll */
function onDeviceReady(){
console.log("onDeviceReady()");
//BVApp.Main.init();
}
/** called if app is resumed (multitasking, fast app switching) */
/*function appActive() {
BVApp.Main.ui.determinePositionMask.show();
BVApp.utils.CurrentGeoPosition.updateLocation(function(){
BVApp.Main.ui.locationReady.call(BVApp.Main.ui);
});
}*/
//BackButton.override();
</script>
<!-- online data
-->
</head>
<body onload="onBodyLoad()">
<!--<body>-->
</body>
</html>