partially working android build

Now the Android build should read PDF and EPUB documents
with limited gestures recognized such as "tap" and "swipe"
pull/593/head
chrox 10 years ago
parent 78a817b517
commit 3520e0c47e

@ -32,10 +32,8 @@ function Dbg:turnOn()
self.is_on = true
-- create or clear ev log file
if not isAndroid then
os.execute("echo > ev.log")
self.ev_log = io.open("ev.log", "w")
end
os.execute("echo > ev.log")
self.ev_log = io.open("ev.log", "w")
end
function Dbg:logEv(ev)

@ -117,6 +117,7 @@ function Device:isTouchDevice()
local model = self:getModel()
self.is_touch_device = (model == "KindlePaperWhite") or (model == "KindlePaperWhite2")
or (model == "KindleTouch") or self:isKobo() or util.isEmulated()
or util.isAndroid()
return self.is_touch_device
end

@ -1 +1 @@
Subproject commit 0a3acc6bc64fbe42b7072d5100724992faca1514
Subproject commit b74c59e886d4bbc316ac575bec06c1f15c428504
Loading…
Cancel
Save