Commit Graph

692 Commits

Author SHA1 Message Date
Fragger
bc2f005155 Check for null host in shouldInterceptRequest to prevent FCs
base64 encoded image resources were causing .getHost() to return null and then a NullPointerException when .endswith was called on line 150
2014-01-05 19:49:59 -08:00
fkloft
5d674eee40 Use new log system 2014-01-05 23:51:44 +01:00
fkloft
1059e85324 Small forgotten fixes for new virtual URIs 2014-01-05 17:39:15 +01:00
fkloft
a1d03ec69b mobile: show loading progress in title bar 2014-01-05 16:42:59 +01:00
fkloft
1f47ca87dd Simplify source for virtual URIs 2014-01-05 16:38:48 +01:00
fkloft
b1bed90997 Use special domain with standard http(s) instead of custom protocol
(Avoids warning about insecure content when using https)
2014-01-05 16:33:43 +01:00
fkloft
7d10231aa4 Fix CalledFromWrongThreadException 2014-01-05 16:33:43 +01:00
fkloft
4dffaab36e Try to fix strange WebView bug on @leCradle's ROM
also, allow code input to grow as you type
2014-01-05 16:33:16 +01:00
fkloft
ab572055e3 Use custom Log 2014-01-03 20:07:02 +01:00
fkloft
14d3fe82c2 Fixed zoom controls not being hidden on mobile 2014-01-03 20:06:38 +01:00
fkloft
65f5308854 Enable running JS from debug interface 2014-01-03 20:06:38 +01:00
fkloft
5e25ebe083 Small changes to logging 2014-01-03 20:06:37 +01:00
fkloft
58dc56283a improved debugging interface 2014-01-03 20:06:37 +01:00
fkloft
9208552e29 use custom protocol for resources 2014-01-03 20:06:37 +01:00
Philipp Schaefer
0c4cb8479e use File.getParentFile() to get the tiles file path 2014-01-03 17:46:35 +01:00
Philipp Schaefer
cfdaf17ee6 improved tile caching by merging equal domains in one folder 2014-01-03 12:29:39 +01:00
fkloft
9976900255 amend IITCm contributors, small changes to strings 2014-01-02 21:01:17 +01:00
fkloft
4227c072f9 user-location: Avoid errors if plugin has not been initialized yet 2014-01-02 20:41:11 +01:00
Philipp Schaefer
bcaa757891 don't add stock plugins to the plugin section 2014-01-02 12:18:57 +01:00
Philipp Schaefer
4380111851 use new location pref while injecting scripts 2014-01-02 12:16:15 +01:00
Philipp Schaefer
b5ffcb5448 don't leave follow mode on mapmove for a variable zoom
the user may want to use different zooms in follow mode (for example
if he rides a bike or drives a car)...unfortunately, leaflet triggers
maps movestart event _before_ the zoomstart event. this makes it
impossible to differentiate between a mapmove triggered by a zoom-event
or a move-event. the user can leave the follow mode by pressing the
getLocation button...this should be enough.
2013-12-30 17:44:42 +01:00
Philipp Schaefer
be91809e84 changed update apk download description 2013-12-28 20:18:08 +01:00
Philipp Schaefer
3fe9b91a92 use current best location estimation from the android docs: http://developer.android.com/guide/topics/location/strategies.html#BestEstimate 2013-12-27 17:09:33 +01:00
fkloft
7ff4c79910 Don't start follow mode immediately 2013-12-24 11:48:01 +01:00
fkloft
4b415dba59 Only move map when marker reaches edge 2013-12-23 23:20:24 +01:00
fkloft
78f6e07457 Mobile: implement follow mode 2013-12-23 23:20:24 +01:00
fkloft
51064a29c4 Use CSS transition for arrow rotation 2013-12-23 23:20:24 +01:00
fkloft
2823450857 mobile/user-location: Do not reload when switching between loc+sensor and loc-only 2013-12-23 23:20:24 +01:00
fkloft
7f82671276 remove unused imports and fields; code formatting 2013-12-23 23:20:24 +01:00
Philipp Schaefer
1e75353eb3 added back possibility to move webviews cache to external storage
* in theory, this is not needed anymore since iitcm now has its own
 * tile cache. But the user may want to use tiles loaded by an external
 * plugin and cache them on sdCard. This would make use of the webviews
 * cache...to stay consistent with our external storage preference we
 * need this method.
2013-12-22 13:36:59 +01:00
Jon Atkins
c46967549b bump mobile version number 2013-12-21 20:46:45 +01:00
Philipp Schaefer
9a842496da add back webviews cache...needed for map tiles loaded by external plugins 2013-12-21 20:45:05 +01:00
Philipp Schaefer
b3ec24f177 removed not used return value 2013-12-21 20:22:50 +01:00
Philipp Schaefer
cd524c4e61 removed copy+pasted comment... 2013-12-21 19:39:12 +01:00
Philipp Schaefer
90e8764f49 removed not used imports 2013-12-21 18:41:26 +01:00
Philipp Schaefer
c624a789d5 update tiles if outdated (use lastModified tag and only update on wifi) 2013-12-21 18:39:50 +01:00
Philipp Schaefer
8f5072dda5 added tile support for bing, ovi and yandex maps...tileManager should now manage all iitc supported tiles 2013-12-21 17:59:50 +01:00
Philipp Schaefer
2e4b670bb3 outsourced webchromeclient 2013-12-21 17:40:51 +01:00
Philipp Schaefer
eed11120da changed google tile regex 2013-12-21 17:33:53 +01:00
Philipp Schaefer
3e5124022d removed default cache, since we cache tiles on our own it's not needed anymore 2013-12-21 17:25:31 +01:00
Philipp Schaefer
fa89fc67d8 new tile management 2013-12-21 17:16:21 +01:00
Philipp Schaefer
1e0e687b71 pause/resume webview too on activities pause/resume 2013-12-20 23:21:26 +01:00
Philipp Schaefer
d353bdf3d6 hint android system a slower sensor delay 2013-12-20 00:44:31 +01:00
Philipp Schaefer
4a70638750 - reduce cpu load onSensorChange...10 updates per second should be enough.
- needs some more tweaking
2013-12-19 17:24:30 +01:00
Philipp Schaefer
7afbd6d957 moved user location to sub preference screen 2013-12-19 16:47:01 +01:00
Philipp Schaefer
2af53b4699 made sensor orientation optional due to high cpu load 2013-12-19 16:35:07 +01:00
Jon Atkins
4828fd3fba limit zoom level on 'locate' function on mobile - otherwise you can end up *way* too close with maps supporting high zoom levels (e.g. bing, nokia ovi) 2013-12-19 03:49:31 +00:00
Philipp Schaefer
720135f89c check if actionbar is present before using it 2013-12-18 10:33:07 +01:00
Philipp Schaefer
269abc4e7b Merge branch 'orientation-sensor' of git://github.com/fkloft/ingress-intel-total-conversion into fkloft/orientation-sensor 2013-12-18 10:23:08 +01:00
fkloft
a2501f518f Show a little red dot on the northern resonator (details pane + mobile status bar) 2013-12-18 00:30:02 +01:00