-
Notifications
You must be signed in to change notification settings - Fork 443
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Android update request -- bounty with cash payment #939
Comments
@IntnsRed: @ecm-pushbx has noted in #901 (comment) onwards that they've fixed a few things, including what you've mentioned. Maybe support the continued development there? |
If all you want is just the layout, it isn't hard to port it over to something like AnySoftKeyboard. I ported the compact layout in just a few minutes and include the other two in a few more minutes.
I doubt the days worth of work and understanding the changes between android version needed to port hackerkeyboard would be worth doing for just $50. The only kind of people who would do so are those who would are interested in getting HK working on newer version of android. |
Which is why I mentioned @ecm-pushbx, who's already done such, in spite of GPlay's artificial limiting of HK. |
you missed the front part, All ecm did was patch a few functions, not port it to modern android, and ecm last touched on it on Mar 2023. master...ecm-pushbx:hackerskeyboard:master ecm also already state he doesn't know how much work it would take to modernize the code base.
Originally posted by @ecm-pushbx in #901 (comment) I am just saying @IntnsRed is better off looking for people to port the layout if that's all he wanted, chances are that it's easier to find people who know how and might even be willing to do so for free since it's mostly be a copy and paste from some part of hackers keyboard into an addon for AnySoftKeyboard. I did the compacted layout because I wanted it and I added the 'default' and full layout to make it a 'complete-ish' pack that would satisfy what most user would be looking for. |
*she |
To be fair, enough of those kinds of people exists that it may happen eventually... maybe... Idk I got HK up to a newer version of gradle and have kinda been bumbling my way around warnings android studio gives me. Works so far, but the keys themselves don't look too great anymore. I gotta go over eventually and see what I broke. Most of my progress will probably be on https://github.com/SeventhM/hackerskeyboard/tree/workingBranch For the record, I've spent... basically zero amount of seconds actually reading the code and understanding what's going on... so... this might take a while before I get my version of HK up to a working standard |
Ok, been working on other projects here and there, but working back on this, I think I'm at the point where I can do a progress update
|
AnySoftKeyboard/AnySoftKeyboard#3740 (comment)
Oh hey, would you look at that, the three basic hackerkeyboard layouts for AnySoftKeyboard I worked on is now out on the play store. Just saying it's easier to just port the layout to another 'modern' keyboard, they just might not fully support special keys. But then again, what apps other than rdp/vnc would need keys like f1-f12, which would be better off with a physical keyboard anyway. |
@SeventhM - the issues you are describing are exactly the kind of thing which made me reluctant to try to update the code. The source is ancient (it's based on the Android 2.3 Gingerbread LatinIME from 2010) and a lot has changed in Android since then. About the dictionaries, I don't remember the full history for them. If I recall, this was largely a repackaging of dictionaries distributed with Android at the time, and they are also ancient. The Ukrainian and Turkish dictionaries were external contributions, I found the following building instructions in an old mailing list message:
Overall I agree with @asl97 that it seems much more reasonable to move on to a more modern maintained keyboard. |
You say that as if
|
You say that as if
VID_20240314_032341.mp4
Not sure what else specifically you need, unless you mean the f1-f12 keys, alt, super/win and other keys in the fn layout which is rarely if ever used by android apps Just goes to show it worth trying rather than assume it doesn't exist/works, it's easier to copy paste the layout code from HK to ASK than to scout stack overflow for codes to update the code base. |
@klausw, & @ALL: If those of us who love & use HK were reasonable people, you wouldn't see the usage nymbers you do. HK is as much part of our psychological Android framework at least as much as our launcher or preferred device brand/model. Reminds me of those scenes when there's a transition in royal leadership.
|
Using shift + arrow key for highlighting. Particularly, Crtl+shift+home is very common for me when making longer write-ups is one of the main reasons for switching to HK. And your video uses a gesture to access the quick menu when I'd very much perfer a button and tend to disable most gestures in most apps
HK's extra keys menu is accessible from a clear and obvious button. You're telling me I gotta actually add this stuff separately? Also, does ctrl+home or ctrl+end work correctly? |
Actually, let me clarify something to make it very clear: my goal isn't to just get what I was doing working again. This is a side project that I do because I feel like it. If anything banging my head against the wall because of AndroidX is a win-win because I get to (attempt to) learn AndroidX. I'm not really interested in the immediate solution unless you can say, for certain, that another keyboard provides one-to-one parity. Even if all the other keys worked the same, the lack of shift highlighting keys is an instant deal breaker There's also the discussion of trying to argue what is easier or harder. Upgrading gradle versions was easy. Android Studio literally has a tool for doing it automatically and there's very little manual intervention. Converting the menus to AndroidX is relatively straightforwards once you know what to do. Even SeekbarPerference was somewhat simple once I got the right link and it's just some particulars I have to sort through to get it working because of how it expects you to split the functions and how HK uses it in a way that some seem not to. Moving to AnySoft is more *reasonable* because all it would be is the layout with most of the rest of the maintenance handled for you. Moving to AnySoft wouldn't necessarily be easier, though with the exception of a few fringe cases, some of which I'd rather the challenge and knowledge I'd gain working on HK anyways I know you want to talk about the work you've done that you're proud of, but we have very different end goals |
Do you see that smiley button? that open the smiley keyboard. you don't even need to use the quick menu, just add the home and end button directly to the keyboard in the layout
you make it sound like HK's extra keys menu isn't a layout and just exists. fun fact, it is a layout and it didn't just exists in android, 'this stuff' was created and added by HK 'separately': https://github.com/klausw/hackerskeyboard/blob/master/app/src/main/res/xml/kbd_compact_fn.xml so of course if you want the layout, it need to be copy over, which I didn't see much point since the whole set of Fn keys doesn't work and I didn't want to hurt the likelihood of getting the basic layout merged into ASK.
That sounds more like you, ie wanting to talk about your work, you clearly have different end goals from OP (@IntnsRed) which seem very clear to be layout specific and not functionality.
|
Am aware, but the functionality of the shift key isn't a layout, the possibility to open from a notification (assuming I get that working) isn't a layout. Finding weird uses of some of the extra keys (did you know most browsers, even on mobile, accept f5 correctly) isn't a layout. And again, if the only goal here was learning what could be an upgrade, that's counted as a win in my books
Ok, but I, and ecm's previous post, made it pretty clear we're looking to update the *app*, not the layout. I've mentioned multiple times I barely even took any amount of time trying to figure out how the keyboard even works. I'm not going around trying to push people onto AnySoft any second they get. You're the one trying to argue with me on what is the correct move here when I made it plenty clear I don't really care about that. You're the one trying to push your PR to AnySoft when I've deliberately not made an apk and have explicitly made clear it'll take me time before I'm done. You're the one trying to push what I should or shouldn't be doing when I'm just out here noting where I am on updating HK |
It just a shift key, it's not magic
keyword 'some', it depends on the app implementing handling of those extra keys, HK isn't doing anything special, it just passing the keycode If an app doesn't handle f5, no amount of change to HK is gonna make f5 magically works. just saying it isn't a layout is dumb cause it is just a layout on HK. If it isn't working on ASK, it's probably because it's doing something stupid or it doesn't handle and pass the keycode on properly.
That's just what you want and not what this issue is really about, let me point out the key part again.
Here it is again in point form, what the issue is asking for
you clearly don't care about what this issue is about
Am I really?
When I'm just out here noting that contributing to ASK isn't a deadend and most likely the easier path to address not only OP needs, but also reaches the play store. In case you didn't notice, menny posted his/her comment within 24 hours of mine, I was merely posting an update on what happen to said mentioned HK layout port on ASK. My comment was in no way adressing to yours and it's yours whose implying ctrl+c and ctrl+v and such doesn't work on ASK.
Only then did I post a comment address a comment from you Also Dvorak on AnySoftKeyboard AnySoftKeyboard/AnySoftKeyboard@main...asl97:AnySoftKeyboard:Hacker_Keyboard_Pack |
Yes, but that key is probably the key that I need working if you're to say "just move to a different keyboard". Again, that not working is an instant dealbreaker; any advantages HK or ASK has over that or far more niche in my eyes over Gboard and isn't worth caring about. And frankly, a half functional HK still has a better layout in my eyes over ASK, so I'm just not interested in the suggestion to just move on
If your point here is "you're off topic" then just say it directly and let's not waste people's time. I never implied in any way whatsoever that I was focused on getting the layout working, so arguing this point down on me is a waste off time. This very clearly comes off as telling me what I should or should not do with my own fork of HK.
And then I gave you my response: I don't care. Simple as that. Worst care, I get to learn more about the backend, have an extra project to fill time. Best case, I resurrect an old keyboard from the grave, even if it's just on my own phone for me. You're the going on and on and on that this works in ASK or that works in ASK and talking past me. My simple response to you is simply "I don't give a damn, I'm working on my project". If the goal is to push me out to stay on topic, that's fair. Otherwise, you're the one pushing your work in ASK as if I should care, as if my goals lines up perfectly with OP's or even as if OP necessarily will switch to ASK just for your layout. I didn't respond to you, I responded to Klaus. If you're goal was to give your thoughts on what the op should do, you've already done your part, and this argument with me is a complete waste of time. If your goal is to try to push the idea that my efforts isn't needed, well, I don't care, I'm working on my fork of HK anyways, so go away and go bother someone else Btw
Let's talk about that
|
Progress report:
The problem with this file is that it extends @Override
public void onDisplayPreferenceDialog(@NonNull Preference preference) {
if (preference instanceof SeekBarPreference) {
DialogFragment dialogFragment = SeekBarDialog.newInstance(preference.getKey());
dialogFragment.setTargetFragment(this, 0);
dialogFragment.show(getParentFragmentManager(), getTag());
} else super.onDisplayPreferenceDialog(preference);
}
TLDR;
|
Progress report: Ok, actually, looking at where I am and how much I have done, there's very little actually left to fix that's actually noteworthy. I might just throw an apk on my fork, make an issue about steps to upgrade (in case someone wants to know what's going on in my fork), and then carry on with what I was doing. The main thing that makes me less interested in fix more minor stuff is just that some of the code google deprecated but never actually made a good alternative for (specifically the "setTargetFragment" line in my last update), and more or less there genuinely isn't much left to work on besides bug fixing, maybe some layout stuff, and maybe some conversions from inches to actual pixel sizes (something I did before I reset my work but it looked awful the first time I tried I'm currently looking into to seeing how much effort converting to Kotlin might be. Seems like auto-conversion is more or less going fine, very few stuff needs manual edits (often times just turning stuff into lateinit variables). Though looking at the code... Man do I like Kotlin so much more than Java. Much cleaner language imo I still need to actually take the time to hunt down the dictionary situation. I have mostly been only doing tests on a backup phone where I hadn't already had the old English completion dictionary. Now that the app is a bit more stable, I'll probably install it on my main phone that does have the old dictionary. I doubt it'll work, but who knows Lastly, it doesn't look like I can solve the problem of being unable to open the keyboard from a notification. Most likely, I'll have have to make use of accessibility settings now. I need to spend some time researching some other keyboards that do something of the sort, especially since Julow/Unexpected-Keyboard#497 gave up halfway. That'll take much more time |
If interested, follow @SeventhM's updates @ SeventhM#3 |
I'm saddened to see that Klaus or whoever doesn't seem to want to update the Hacker's Keyboard any more.
I use the app because of its one-of-a-kind, stellar DVORAK keyboard layout -- no other reason. (?!) But unfortunately, the English completion add-on is broken, and it seems the Hacker's Keyboard is due to die an outdated death on some future "upgrade" of Android.
I've got $50 or perhaps a bit more that I'll happily contribute as a "bounty" to encourage someone (Klaus?) to update the app. I need no features or bug fixes (aside from the English completion add-on being updated to work with modern Android), just to have the app/add-on updated to work.
Any others willing to contribute a "bounty"? Perhaps we can make it worthwhile for Klaus or someone to update this fine app.
The text was updated successfully, but these errors were encountered: