Jump to content
CCleaner Community Forums

CCleaner in Android for x86


Recommended Posts

I found a black swan problem. Fortunately, it should be easy for developers to address.

 

x86 tablets do exist, but probably most Android x86 users are working with an ordinary desktop or laptop, and rotating the screen is impractical at best. I run Jelly Bean for x86 as a VirtualBox guest, and there is no provision for rotating the window.

 

CCleaner starts up in portrait mode unconditionally, even if lock rotation is turned on. The screen and mouse remain in landscape mode, thus making the app extremely hard to use. Even after leaving the app, portrait mode remains in effect. At that point, about all I can do is reboot the guest.

 

To solve the problem, check whether the CPU is x86 or ARM. If ARM, continue as usual. If x86, start in landscape and stay there until/unless an orientation change event takes place. As a backup method, if the device type is a tablet and orientation is landscape, start in landscape and stay there until a change event. If device type is tablet and orientation is portrait, go ahead and start in portrait.

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...