Thread: Glo Android on Glo
View Single Post
Old 11-17-2013, 09:16 PM   #113
dd366
Member
dd366 doesn't litterdd366 doesn't litter
 
Posts: 23
Karma: 186
Join Date: Jul 2013
Location: France
Device: Kobo glo
Touch rotation patch

Quote:
Originally Posted by MarekGibek View Post
Here is how touch rotation can be fixed in Android sources:
https://groups.google.com/forum/#!ms...c/7Zkh-WE1uuEJ

The problem is - last time I was trying to compile Android from source codes I failed with compiling 2.3.4 version. I succeeded to compile 4.2.2 or newer only.
Thanks for the link.

It make sense that the rotation be done in android and not in the driver

As I understand, the kolino is based on an early (and buggy) implementation of this functionnality ?
(Their custom app don't support landscape so they don't care)

So we need to recompile all the android stuff (without original source) ?
It is then the same difficulty than porting android on a new device, right ?

Not so easy I think...

------

I'm thinking of another (not so easy too) solution.

1) Compile a new IR driver (touchscreen) based on original with modification to send rotated coordonates
> could be done easily with the source avaliable.

2) Write an android App with a button for rotation.

This app would rotate screen manually and in the same time switch from Normal IR Driver to Rotated IR Driver
I think it's possible because I remember OTG patch work this way by switching drivers.

Better: This app could also emulate the missing orientation.
All users apps would then run normally with system orientation settings.
dd366 is offline   Reply With Quote