Commit Graph

452 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
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
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
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
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
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
Philipp Schaefer
720135f89c check if actionbar is present before using it 2013-12-18 10:33:07 +01:00
fkloft
be05945eac Use native Android API for user-location (WebView causes high cpu load, even when IITC is stopped)
Also, move all user-location related functions into new class IITC_UserLocation.
2013-12-17 21:30:36 +01:00
Philipp Schaefer
e1b33fa3d4 retrieve correct resource id when package name is overriden 2013-12-15 19:33:39 +01:00
Philipp Schaefer
78e2f8a62f don't use hard coded strings for app name 2013-12-15 18:52:03 +01:00
Philipp Schaefer
58b85e4c24 new actionbar title for permalink 2013-12-10 22:14:24 +01:00
fkloft
18afab9952 Improved intent sorting
(default app listed first again, sorting broke this)
2013-12-10 22:13:48 +01:00
Philipp Schaefer
04d521f71c use kitkats new SYSTEM_UI_FLAG_IMMERSIVE on navbar hide (thx Simeon Mac) 2013-12-07 21:29:08 +01:00
Philipp Schaefer
3e00645f4a boost performance on kitkat:
ignore result of javascript. it's slow and we only can use it on kitkat.
2013-12-07 21:27:11 +01:00
Philipp Schaefer
8e7e4ec14a receiver should be unregistered only onDestroy 2013-12-07 15:37:51 +01:00
Philipp Schaefer
1a25fd1c66 unregister package installer broadcast receiver when iitc is stopped 2013-12-07 15:08:36 +01:00
Philipp Schaefer
bfc0824014 scale listView icons of shareActivity to the same size 2013-12-07 15:07:48 +01:00