-
Notifications
You must be signed in to change notification settings - Fork 9
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
Implement back key emulation on Tecla HUD #53
Comments
Back end method created, still need to hook up to HUD |
Side button highlighting is required to use the method at the front end. |
Will create the resource ASAP |
I guess I will create a resource layout xml with the back button, that will resolve this issue and #60 . |
The resource is already created, what has not been created is a highlight for it. @sagarchandarana123 how comfortable are you with inkscape? |
@jorgeSilva I have never used inkspace. But I think the same type of tasks are done by inkspace and photoshop. I am quite familiar with photoshop. What exactly is to be done here? I will get my hands on inkspace, too. |
@sagarchandarana123 inkscape is an excellent free tool for vector graphics. You may also want to try gimp, which is another good free tool for editting layed graphics. If you don't mind purchasing photoshop, it's fine using that. |
@ericwan78 Well currently I am using photoshop in trial mode! I went through some tools of inkspace and it's amazing. Moreover, there are thousands of tutorial available on the internet for inkspace. I think it's one of the most favorite tools for all when it comes to vector graphics. I will try out gimp too. Thanks! |
The current structure created a circular dependency. The back key method cannot be used, possibly due to build issue. Please verify this problem |
Any branch or additional detail of what the problem is? Can we obtain an instance of the running IME in the framework and use that instance to run the methods within? |
@jorgeSilva you are correct. The method did not return an instance of the IME. I got a null pointer exception. How is the IME object normally created? |
Which method? IMEs cannot be instantiated, we have to keep a reference to the class itself... we should provide some kind of static method to keep the instance after the IME onCreate method. This has to be done within some class that we know is running at the time the IME is created so that the A11y service can access it. We may have to add an Application class to the framework for this. |
Also @ericwan78 please provide links to the code you are referring to (or at least the branch) in your issue comments |
@jorgeSilva please first refer to java/src/ca/idrc/tecla/framework/TeclaIME.java in the develop branch. From what I observed here, the TeclaIME class needs to be outside of tecla-framework. Do you have a suggestion that allows TeclaIME to stay in the current project? |
@ericwan78 I used the following trick in Flash once. Suppose in the current project(tecla-framework) we have a class ABC.java, which requires the instance of LatinIME.
Hope this helps. |
thank you. Yes, it helps. |
Closed with 408a30a |
This should be done through a Tecla IME Service class inside the framework library. Eventually, the target IME will extend this custom class instead of the standard IME Service.
The text was updated successfully, but these errors were encountered: