Skip to content
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

The app still working? #34

Open
Quimisagi opened this issue Aug 3, 2022 · 10 comments
Open

The app still working? #34

Quimisagi opened this issue Aug 3, 2022 · 10 comments

Comments

@Quimisagi
Copy link

Hi there!
I just got a Ticwatch C2+ with WearOs and the first thing I wanted to try out was using Anki. Unfortunately, it seems I can't install this on my smartwatch. Is this app even compatible with Wear Os? I don't know, it doesn't seem that it has been updated for a while...

@wlky
Copy link
Owner

wlky commented Aug 4, 2022

Hi @Quimisagi,
there is still a way to install the app, but unfortunately it is a little bit more complicated now. you can look at #33 for more information.
I've been thinking about updating the app, but WearOs has changed so much that it is kinda hard and basycally everything would have to be rewritten.

@LemmusLemmus
Copy link
Contributor

@wlky I haven't really touched AnkiWear for quite some time now, so I guess I should leave some info if you are still considering updating the app (that said, rewriting the app is also an option). I have managed to update AnkiWear to the (then) latest version of Gradle, making it possible to use it with the latest version of Android Studio without any errors (tons of deprecation warnings though). It was primarily a matter of migrating the project to AndroidX. Some problems do however remain:

  • I updated my incomplete and most likely buggy fork and not the original project. I'm not yet knowledgeable enough about Android development to fix the graphical issues plaguing the fork (i.e. the buttons. I would prefer if they could adapt in size and shape to the size and shape of the screen. My simplest idea would be to simply let the buttons be thick lines with curved edges (curved lines in the case of a round screen), as to not take up much space on the screen).
  • Even though the Gradle version has been updated, installation of the app via the Google Play store has not been fixed.
  • When updating to the latest version of Gradle it appears as if the usually rounded scrollbar (when using a round screen) is no longer rounded. This is hardly an issue worth mentioning, but there might be more minor defects from updating which I have yet to notice.

@Quimisagi
Copy link
Author

@wlky Oh, I see
Then guess I will try to install it!

Anyway, I really would like to help updating the app! Haven't developed something for Wear OS yet but absolutelly would like to try.
I would also like to be able to review cards on the smartwatch without having to bring the phone with me, so if it's something that hasn't been implemented yet I would like to develop it.

@wlky
Copy link
Owner

wlky commented Aug 5, 2022

@Quimisagi lucky for you I have found the motivation to try and get an updated version of what @LemmusLemmus has done on his fork on the play store.
Not sure if it will work. Would you mind testing it? I have published it to the open beta channel but it might be in review for a couple of days. The internal testing should work though. You can opt in here:
https://play.google.com/apps/internaltest/4697948092754358322

@Quimisagi
Copy link
Author

@wlky I can't access the link because I have not been invited yet :(

@wlky
Copy link
Owner

wlky commented Aug 6, 2022

@Quimisagi actually the internal testing track is also in the "in review" state, so we might just have to wait for a couple more days.
You should be able to sign up for the open beta though, if you go to the app in the play store on your phone

@wlky
Copy link
Owner

wlky commented Aug 6, 2022

Update is now live. When opening the phone app for the first time it will open the file picker so the app can access card files. You have to navigate to AnkiDroid/collection.media folder and select it

@Quimisagi
Copy link
Author

Quimisagi commented Aug 7, 2022

@wlky Thanks for your work!
I managed to install the app on my smartwatch and it's working fine! But there's some times the "Good" and "Easy" buttons just won't work at all...

Let me know if you need some help fixing or improving the app. I'd be glad to help

@wlky
Copy link
Owner

wlky commented Aug 7, 2022

Nice, that's a good first step xD
Could you describe the issue? Are you trying to swipe them? For this release I changed it so you have to click the button to extend it and then click it again to select it.
The reason is, that swiping was causing issues on my galaxy watch because it triggers the default gestures (Close application from left to right and slide in options from top to bottom)
If that isn't the issue, could you take a video?

@Quimisagi
Copy link
Author

@wlky I was testing the application a little more and I think the problem was me. It seems that if I don't drag the button completely it just won't work. I thought that dragging it just a little was enough.

Probably it's not the most intuitive approach to implement the buttons...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants