Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Onyx Boox

Notices

Reply
 
Thread Tools Search this Thread
Old 05-31-2016, 12:27 PM   #1
machinogodzilla
Addict
machinogodzilla can program the VCR without an owner's manual.machinogodzilla can program the VCR without an owner's manual.machinogodzilla can program the VCR without an owner's manual.machinogodzilla can program the VCR without an owner's manual.machinogodzilla can program the VCR without an owner's manual.machinogodzilla can program the VCR without an owner's manual.machinogodzilla can program the VCR without an owner's manual.machinogodzilla can program the VCR without an owner's manual.machinogodzilla can program the VCR without an owner's manual.machinogodzilla can program the VCR without an owner's manual.machinogodzilla can program the VCR without an owner's manual.
 
machinogodzilla's Avatar
 
Posts: 208
Karma: 176052
Join Date: Dec 2008
Device: PBook 902† Kindle† Nook SimpleTouch† Onyx M92† i86† M96 N96ML NotePro
Lightbulb [self-help] How to make ugly apps look great on your Onyx

It always annoys me when I download another Android app that actually works and would be very useful to have on my ereader but the UI looks plain ugly. The ugliness per se is not a problem, but try to read pastel text on white background or a very fashionable these days grey text on grey background and soon you will be heading for the delete button.

However, if you are willing to put some effort into it, there appears to be a way for making design corrections.

Here is an example. A popular off-line dictionary app ColorDict looks like this straight from Play store:



You can't see what you type, you can't see the history, the icons are too pale, and you can't see what dictionaries you have and enable/disable them. Well you can try blindly but it's not very nice. With a bit of tweaking though:



I will soon be writing a little tutorial how to go about making such corrections (if there is interest). Meanwhile, do you know any ugly ducklings that you would want to use but the UI stops you from putting them on your ereader?

Last edited by machinogodzilla; 08-02-2017 at 06:12 PM. Reason: photobucket got greedy
machinogodzilla is offline   Reply With Quote
Old 05-31-2016, 12:35 PM   #2
stardest
Enthusiast
stardest , Klaatu Barada Niktu!stardest , Klaatu Barada Niktu!stardest , Klaatu Barada Niktu!stardest , Klaatu Barada Niktu!stardest , Klaatu Barada Niktu!stardest , Klaatu Barada Niktu!stardest , Klaatu Barada Niktu!stardest , Klaatu Barada Niktu!stardest , Klaatu Barada Niktu!stardest , Klaatu Barada Niktu!stardest , Klaatu Barada Niktu!
 
Posts: 42
Karma: 5210
Join Date: Mar 2016
Device: None
Oh that is very helpful indeed! Off the top of my head ES File Explorer, when you click on the side menu (top left corner) the menu options are pretty dark.
stardest is offline   Reply With Quote
Old 05-31-2016, 01:56 PM   #3
increduloussus
Enthusiast
increduloussus , Klaatu Barada Niktu!increduloussus , Klaatu Barada Niktu!increduloussus , Klaatu Barada Niktu!increduloussus , Klaatu Barada Niktu!increduloussus , Klaatu Barada Niktu!increduloussus , Klaatu Barada Niktu!increduloussus , Klaatu Barada Niktu!increduloussus , Klaatu Barada Niktu!increduloussus , Klaatu Barada Niktu!increduloussus , Klaatu Barada Niktu!increduloussus , Klaatu Barada Niktu!
 
Posts: 30
Karma: 5210
Join Date: Apr 2016
Device: Onyx Boox N96
Wow, yes, that would be amazing. One of the biggest problems I'm seeing with the N96 so far is the issue of greyish text on greyish backgrounds. Wish I could universally correct this, and make ALL TEXT default to black, and all backgrounds default to white. The contrast on these screens is bad enough to begin with!
increduloussus is offline   Reply With Quote
Old 06-01-2016, 09:55 AM   #4
gdornick
Eager reader
gdornick began at the beginning.
 
gdornick's Avatar
 
Posts: 12
Karma: 10
Join Date: Apr 2010
Device: Kindle K3, PW1 & PW2, Nexus 5, iPad 2, Onyx Boox i86ML Plus
Oh yes, that would be very helpful.
I am experiencing the same problem with ColorDict.
Another app which I found difficult to work with is Titanium Backup (buttons are not readable).
I also have installed an old version of OneNote. If I open a note, the screen is black, the other screens are readable, but the notes themselves are not. Not sure if this is a OneNote bug (because it is an older version 15.0.2020 that can run on Android 4.0) or the same problem as ColorDict, which hopefully can be solved with your tutorial.

Last edited by gdornick; 06-01-2016 at 09:57 AM.
gdornick is offline   Reply With Quote
Old 06-01-2016, 09:53 PM   #5
stjoe
Connoisseur
stjoe began at the beginning.
 
Posts: 80
Karma: 10
Join Date: Jul 2010
Location: Singapore
Device: Kindle DXG, Pocket eDGe, Kindle Paperwhite, Sony, Onyx N96, Onyx Nova
Yes, looking forward for the tutorial..
stjoe is offline   Reply With Quote
Old 09-10-2016, 02:42 AM   #6
gdornick
Eager reader
gdornick began at the beginning.
 
gdornick's Avatar
 
Posts: 12
Karma: 10
Join Date: Apr 2010
Device: Kindle K3, PW1 & PW2, Nexus 5, iPad 2, Onyx Boox i86ML Plus
Hi Machinogodzilla,

I was wondering if there is any progress with the tutorial. I still hope you would like to share your tweaks with us. Let me know if I can help you with it.
gdornick is offline   Reply With Quote
Old 06-19-2017, 12:07 PM   #7
Kumabjorn
Basculocolpic
Kumabjorn ought to be getting tired of karma fortunes by now.Kumabjorn ought to be getting tired of karma fortunes by now.Kumabjorn ought to be getting tired of karma fortunes by now.Kumabjorn ought to be getting tired of karma fortunes by now.Kumabjorn ought to be getting tired of karma fortunes by now.Kumabjorn ought to be getting tired of karma fortunes by now.Kumabjorn ought to be getting tired of karma fortunes by now.Kumabjorn ought to be getting tired of karma fortunes by now.Kumabjorn ought to be getting tired of karma fortunes by now.Kumabjorn ought to be getting tired of karma fortunes by now.Kumabjorn ought to be getting tired of karma fortunes by now.
 
Kumabjorn's Avatar
 
Posts: 4,356
Karma: 20181319
Join Date: Jul 2010
Location: Sweden
Device: Kindle 3 WiFi, Kindle 4SO, Kindle for Android, Sony PRS-350 and PRS-T1
This needs to be bumped.

Sent from my GT-N8010 using Tapatalk 4
Kumabjorn is offline   Reply With Quote
Old 06-21-2017, 05:27 AM   #8
filippo80x
Member
filippo80x began at the beginning.
 
Posts: 10
Karma: 10
Join Date: Jan 2017
Device: Onyx Boox Max
Same problem with com.styluslabs.write and android.androidVNC. A tutorial to solve this issue would be of great help!
filippo80x is offline   Reply With Quote
Old 06-21-2017, 05:18 PM   #9
plusz
Addict
plusz is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!plusz is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!plusz is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!plusz is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!plusz is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!plusz is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!plusz is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!plusz is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!plusz is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!plusz is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!plusz is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!
 
Posts: 384
Karma: 50008
Join Date: Feb 2017
Device: 13.3" Boox Max2, 7" Kobo H2O
Nice idea to share this - better yet we should share fixed apps, with screenshots etc. Regarding free apps there should be no problem, at least not moral problem, right?

Any idea where to host patched apk's with tutorial what was changed and pictures?

Simple tutorial how I do it:
0. Prerequisite: AndroidStudio and ability to compile/run/understand any very simple hello world example app. The tools which comes with it are needed, plus you need the very basic understanding of an apk resources.
1. Download apktool https://ibotpeaches.github.io/Apktool/
2. Install it on your system
3. Use apktool on the desired apk to disassemble it apktool d your.apk- you should not be interested in reading/understanding smali files but if you do, check also smaliidea plugin to be able to debug your changes in smali files https://github.com/JesusFreke/smali/wiki/smalidea
4. Modify icons and colors - usually you will find all color constants used by the app in colors.xml file (res\values\colors.xml)
5. Use apktool to build apk from the unpacked an modified folder apktool b yourFolder
6. Sign the apk https://support.symantec.com/en_US/a...WTO124063.html
7. The app your_signed.apk is ready to be installed adb install your_signed.apk or copy it to sd card and execute in the device to install it

You may actually want smalidea plugin to be able to preview your layout/color changes in the AndroidStudio designer view

For step #6 make sure the unsigned apk name does not contain spaces if you want to use the shell script downloaded from the web - it has a bug, does not handle names like "your tool 2.apk"
plusz is offline   Reply With Quote
Old 06-23-2017, 06:19 PM   #10
mdp
Wizard
mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.
 
Posts: 1,481
Karma: 9010563
Join Date: Jul 2013
Device: none
Quote:
Originally Posted by plusz View Post
Any idea where to host patched apk's with tutorial what was changed and pictures?
Apart from this very thread?

I posted in this forum several patched .apk , though none to fix readability. To upload them, I just append a .zip to the filename and in the description I advise to remove it.
mdp is offline   Reply With Quote
Old 08-02-2017, 05:52 PM   #11
machinogodzilla
Addict
machinogodzilla can program the VCR without an owner's manual.machinogodzilla can program the VCR without an owner's manual.machinogodzilla can program the VCR without an owner's manual.machinogodzilla can program the VCR without an owner's manual.machinogodzilla can program the VCR without an owner's manual.machinogodzilla can program the VCR without an owner's manual.machinogodzilla can program the VCR without an owner's manual.machinogodzilla can program the VCR without an owner's manual.machinogodzilla can program the VCR without an owner's manual.machinogodzilla can program the VCR without an owner's manual.machinogodzilla can program the VCR without an owner's manual.
 
machinogodzilla's Avatar
 
Posts: 208
Karma: 176052
Join Date: Dec 2008
Device: PBook 902† Kindle† Nook SimpleTouch† Onyx M92† i86† M96 N96ML NotePro
I'm sorry for not responding earlier, busy with other things lately...

The steps are basically what plusz listed but I will dump my notes from when I was playing with ColorDict anyway, even though there is an overlap, in case that helps somebody.

The steps are only to get to the guts of an app and then put it back together. Once you've accessed the internals you will need Android Studio for making the actual changes to the look of the app. This editor comes with a visual editor that makes it easier to manipulate the XML files that define the UI of the app, that's all you need this editor for. Here is an example screenshot (the definition file, one of many, is on the left and the preview on the right).

Once reassembled you will probably want to install and try your app on a phone as it is less painful than using an ereader for this, especially that it is likely you will go over this process multiple times before you get the look you are after.

The Process

Get the apk file, for example, colordict.apk.

APK is nothing more than a ZIP with compiled source code of the app. You can extract the archive but everything will be garbled, even resource text files such as XML files will be unreadable. You need to disassemble resources to nearly original form with apktool:

Code:
$ apktool d colordict.apk 
I: Using Apktool 2.1.1 on colordict.apk
...
Now you can open the unpacked directory in Android Studio and tinker with the content.

Once you've finished editing the UI you have to rebuild the app:

Code:
$ apktool b colordict
// builds colordict folder into colordict/dist/colordict.apk file
In order to run the rebuilt application you must resign it. You can sign the app from the command line using standard tools from the Android SDK and the JDK.

Generate a private key using keytool:
Code:
$ keytool -genkey -v -keystore <my-release-key>.keystore -alias <some-alias> -keyalg RSA -keysize 2048 -validity 10000

// for example

$ keytool -genkey -v -keystore release_key.keystore -alias modified_app -keyalg RSA -keysize 2048 -validity 10000
This example prompts you for passwords for the keystore and key, and to provide the Distinguished Name fields for your key. It then generates the keystore as a file called release_key.keystore. The keystore contains a single key, valid for 10000 days. The alias is a name that you will use later when signing your app.

Sign your app with your private key using jarsigner:

Code:
$ jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore release_key.keystore colordict.apk modified_app
This example prompts you for passwords for the keystore and key. It then modifies the APK in-place to sign it.

Verify that your APK is signed. For example:

Code:
$ jarsigner -verify -verbose -certs colordict.apk
Align the final APK package using zipalign.

Code:
$ zipalign -v 4 colordict.apk colordict_aligned.apk
zipalign ensures that all uncompressed data starts with a particular byte alignment relative to the start of the file, which reduces the amount of RAM consumed by an app.

You can install and run the app now.

To make it easier to yourself you can bundle all these commands into a single script:

Code:
#!/bin/bash

apktool b colordict
cp colordict/dist/colordict.apk .
jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore release_key.keystore colordict.apk modified_app
rm colordict_aligned.apk
zipalign -v 4 colordict.apk colordict_aligned.apk
echo "DONE!"

Last edited by machinogodzilla; 08-02-2017 at 06:34 PM.
machinogodzilla is offline   Reply With Quote
Old 08-02-2017, 11:05 PM   #12
Kumabjorn
Basculocolpic
Kumabjorn ought to be getting tired of karma fortunes by now.Kumabjorn ought to be getting tired of karma fortunes by now.Kumabjorn ought to be getting tired of karma fortunes by now.Kumabjorn ought to be getting tired of karma fortunes by now.Kumabjorn ought to be getting tired of karma fortunes by now.Kumabjorn ought to be getting tired of karma fortunes by now.Kumabjorn ought to be getting tired of karma fortunes by now.Kumabjorn ought to be getting tired of karma fortunes by now.Kumabjorn ought to be getting tired of karma fortunes by now.Kumabjorn ought to be getting tired of karma fortunes by now.Kumabjorn ought to be getting tired of karma fortunes by now.
 
Kumabjorn's Avatar
 
Posts: 4,356
Karma: 20181319
Join Date: Jul 2010
Location: Sweden
Device: Kindle 3 WiFi, Kindle 4SO, Kindle for Android, Sony PRS-350 and PRS-T1
But you can't upload those revised apps as specific e-ink editions to Play Store?
Kumabjorn is offline   Reply With Quote
Old 08-03-2017, 02:21 AM   #13
mdp
Wizard
mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.
 
Posts: 1,481
Karma: 9010563
Join Date: Jul 2013
Device: none
Quote:
Originally Posted by Kumabjorn View Post
But you can't upload those revised apps as specific e-ink editions to Play Store?
The Play Store is for the original authors.
Customizations, I (for instance) publish here (in the forum).
I suggested that this thread could host .apk of customizations to fix readibility on EPD.

Last edited by mdp; 08-03-2017 at 02:24 AM.
mdp is offline   Reply With Quote
Old 08-03-2017, 06:28 AM   #14
Kumabjorn
Basculocolpic
Kumabjorn ought to be getting tired of karma fortunes by now.Kumabjorn ought to be getting tired of karma fortunes by now.Kumabjorn ought to be getting tired of karma fortunes by now.Kumabjorn ought to be getting tired of karma fortunes by now.Kumabjorn ought to be getting tired of karma fortunes by now.Kumabjorn ought to be getting tired of karma fortunes by now.Kumabjorn ought to be getting tired of karma fortunes by now.Kumabjorn ought to be getting tired of karma fortunes by now.Kumabjorn ought to be getting tired of karma fortunes by now.Kumabjorn ought to be getting tired of karma fortunes by now.Kumabjorn ought to be getting tired of karma fortunes by now.
 
Kumabjorn's Avatar
 
Posts: 4,356
Karma: 20181319
Join Date: Jul 2010
Location: Sweden
Device: Kindle 3 WiFi, Kindle 4SO, Kindle for Android, Sony PRS-350 and PRS-T1
That would certainly be a welcome solution.
Kumabjorn is offline   Reply With Quote
Old 08-03-2017, 06:29 AM   #15
machinogodzilla
Addict
machinogodzilla can program the VCR without an owner's manual.machinogodzilla can program the VCR without an owner's manual.machinogodzilla can program the VCR without an owner's manual.machinogodzilla can program the VCR without an owner's manual.machinogodzilla can program the VCR without an owner's manual.machinogodzilla can program the VCR without an owner's manual.machinogodzilla can program the VCR without an owner's manual.machinogodzilla can program the VCR without an owner's manual.machinogodzilla can program the VCR without an owner's manual.machinogodzilla can program the VCR without an owner's manual.machinogodzilla can program the VCR without an owner's manual.
 
machinogodzilla's Avatar
 
Posts: 208
Karma: 176052
Join Date: Dec 2008
Device: PBook 902† Kindle† Nook SimpleTouch† Onyx M92† i86† M96 N96ML NotePro
I suppose once you've done all this heavy lifting you could contact the original authors, explain the problem, show them your work, your prototype and maybe they would incorporate (and improve upon) the changes into their app by, say, introducing an ereader friendly theme. That's much nicer than simply going to them and demanding stuff, especially when the app is free.
machinogodzilla is offline   Reply With Quote
Reply

Tags
app design, app development, onyx, user interface


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Help me to make ebook from files of Apps black_snake General Discussions 3 10-21-2015 01:31 PM
Please make sticky post for onyx i62 Frankr Feedback 1 10-06-2012 07:50 PM
CM7 - two great apps for books and video Hoods7070 Nook Color & Nook Tablet 7 07-05-2012 01:41 AM
Readability/instapaper-like apps on onyx boox M92? Acryde Onyx Boox 2 04-26-2012 10:05 AM


All times are GMT -4. The time now is 08:04 PM.


MobileRead.com is a privately owned, operated and funded community.