10ten-ja-reader icon indicating copy to clipboard operation
10ten-ja-reader copied to clipboard

request: android support

Open gkovacs opened this issue 7 years ago • 14 comments

You can probably look at zhongwen https://github.com/leezu/zhongwen/ https://addons.mozilla.org/en-US/firefox/addon/zhongwen-chinese-english/ for pointers on implementation - it is an analogous extension that does support the android version of firefox

gkovacs avatar Sep 17 '18 23:09 gkovacs

Thanks! How do you show the pop up on a touch device? By long-pressing on the word?

birtles avatar Sep 30 '18 08:09 birtles

You just tap the word

gkovacs avatar Sep 30 '18 16:09 gkovacs

Ah interesting. Do you need to enable the add-on from the menu first? Or is it always on?

birtles avatar Oct 01 '18 06:10 birtles

Yes you enable it from the add on menu first. You can just try the extension itself if you want details it's open source https://github.com/leezu/zhongwen/ and on the addons store https://addons.mozilla.org/en-US/firefox/addon/zhongwen-chinese-english/

Brian Birtles [email protected] 于 2018年9月30日周日 23:00写道:

Ah interesting. Do you need to enable the add-on from the menu first? Or is it always on?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/birtles/rikaichamp/issues/55#issuecomment-425797737, or mute the thread https://github.com/notifications/unsubscribe-auth/AADmOaZRMUAChW_JY2JE5FyPuiNTXL2Dks5uga-RgaJpZM4Ws7wl .

gkovacs avatar Oct 01 '18 17:10 gkovacs

Would love to see this!

nicolasmaia avatar Mar 21 '21 03:03 nicolasmaia

Apparently this works already on Firefox Nightly:

https://twitter.com/boardsmorgas/status/1384025797275447296

See also:

https://twitter.com/boardsmorgas/status/1384026419156590597

There probably is some work to be done with regards to selection handling, however:

i think the only thing that can improve it is forcing it to perform a dictionary search on the highlighted text instead of on whatever character my fat finger touches first 😉 (Source)

birtles avatar Apr 20 '21 04:04 birtles

I could not get it to work with Firefox Nightly. I could however got it working via Kiwi Browser which is Chromium based.

crashniels avatar Oct 25 '21 07:10 crashniels

That's interesting. I got it to work with Firefox Nightly without problem recently. The settings screen doesn't show/scroll, however.

birtles avatar Oct 25 '21 07:10 birtles

Note that for anyone else trying to use this on Android, you may be able to re-use the collection I created with the following details:

Collection owner (user ID): 6693726 Collection name: japanese

Here it is running on Nightly recently:

Screenshot_20211011-122605

birtles avatar Oct 25 '21 08:10 birtles

Weird. I changed my Collection from mine to yours and it started working. The settings page is broken now however.

crashniels avatar Oct 26 '21 15:10 crashniels

The settings page is broken now however.

Yeah, it doesn't open when you press the settings button (possibly a Firefox for Android bug) and if you access it through the menus, it doesn't scroll. Is that what you're seeing?

I'm hoping to look into those issues this week or next.

birtles avatar Oct 27 '21 00:10 birtles

Yes exactly.

crashniels avatar Oct 27 '21 09:10 crashniels

c48159a5fca0bb84830e8f2d8be3663cb716e0cc should fix the formatting of the options page making it scrollable.

birtles avatar Oct 28 '21 02:10 birtles

I filed https://github.com/mozilla-mobile/android-components/issues/11182 for the bug where the options page doesn't load.

birtles avatar Oct 28 '21 06:10 birtles