helloworld1 / AnyMemo

Advanced Spaced Repetition flashcard learning software for Android.
http://www.anymemo.org
GNU General Public License v2.0
151 stars 53 forks source link

Long click on a card to pop up a full screen image dialog #307

Closed helloworld1 closed 9 years ago

helloworld1 commented 9 years ago

Original issue 300 created by helloworld1 on 2014-01-31T18:52:50.000Z:

Sometimes, images are way too small and hard to see. Using TextView instead of WebView limited AnyMemo's card ability to pinch zoom. Popping up a image is much more feasible. The scenario would be:

  1. When the card has an image
  2. User long click that card
  3. A full screen dialog or image viewer will be popped up to display the image in full size
  4. When the card has no images or has multiple images
  5. User long click that card
  6. Nothing will happen
helloworld1 commented 9 years ago

Comment #1 originally posted by helloworld1 on 2014-02-01T06:10:10.000Z:

I would find this feature very valuable! Images are the simplest way to deal with mathematical formulas. Also, for learning languages, it can be very intuitive to work with pictures. I pledge 20.- US$ if this feature arrives in a nightly build :-)

helloworld1 commented 9 years ago

Comment #2 originally posted by helloworld1 on 2014-02-01T07:08:02.000Z:

To display the image, I can just invoke the android's built in gallery or image view of your choice. So I will not need to write a image viewer my own and the user experience could be better. Once the image is displayed in full screen. Then you click back to go back to the card. I attached some screenshots to illustrate the scenario. First screenshot: A card contain a image. You can long click on the question field to invoke the gallery. Second screenshot: The gallery is displaying the image. Press "Back" key to go back to the card. Third screenshot: You can choose your favorite image viewer to display it. Once you clicked "Always", the dialog will not be displayed again.

helloworld1 commented 9 years ago

Comment #3 originally posted by helloworld1 on 2014-02-01T07:09:40.000Z:

Let me know if this is good for you, and your concerns/suggestion if not.

helloworld1 commented 9 years ago

Comment #4 originally posted by helloworld1 on 2014-02-01T11:00:48.000Z:

Wow, that was fast :-)

If it works for both, question and answer images, I find this a perfect solution! And it is in keeping with the Android philosophy of re-using existing Activities.

helloworld1 commented 9 years ago

Comment #5 originally posted by helloworld1 on 2014-02-01T18:35:12.000Z:

I will make sure it works for both question and answer. The screenshot are my proof-of-concept code. Once I implemented the real thing, I will update this issue.

helloworld1 commented 9 years ago

Comment #6 originally posted by helloworld1 on 2014-02-02T09:29:02.000Z:

Great, this will make Anymemo even more awesome - looking forward to a future version!

helloworld1 commented 9 years ago

Comment #7 originally posted by helloworld1 on 2014-02-02T09:29:34.000Z:

Great, this will make AnyMemo even more awesome - looking forward to a future version!

helloworld1 commented 9 years ago

Comment #8 originally posted by helloworld1 on 2014-02-04T02:59:44.000Z:

Implemented. It should be in tomorrow's nightly build (Build # 105) I have also created a wiki entry for this feature http://anymemo.org/wiki/index.php?title=Display_card_images_in_an_image_viewer#How_to_use

If there are any bugs/problems, please let me know.

helloworld1 commented 9 years ago

Comment #9 originally posted by helloworld1 on 2014-02-05T05:56:48.000Z:

I have tested the Pro version, images work great! The promised donation has been made and raised to 30.- US$ to reward total awesomeness :-)

I am VERY glad you fixed access to FlashcardExchange. It is the only one that accepts images in questions and answers. (Maybe you can update the name to StudyMode/cram).

BTW: What is the difference between free and Pro? How do I officially obtain Pro? (I do not use Google Play, I have a Jolla with Alien Dalvik. Amazon app store is fine).

helloworld1 commented 9 years ago

Comment #10 originally posted by helloworld1 on 2014-02-05T06:42:15.000Z:

Thank you very much for your generous donation! It is really helpful to cover the server cost of anymemo website.

I will close this issue. All further discussion can be done in email or new issues.

Flashcard Exchange (Cram) need a lot of work to be in a good shape like Quizlet. We need to point to their latest web service APIs and add back the function to access private cards.

There is virtually NO difference between pro and free. At first I thought to limit quizlet/flashcardexchange/dropbox/google drive to pro only and add ads to free version. But I just hate ads and limitations so I never actually did that.

So now the pro version only has a different name and does not have "donate" link in the app. It is just a token of donation.

AnyMemo only released to Google play. Also officially signed APKs can also be downloaded here: http://anymemo.org/index.php?page=download-releases

helloworld1 commented 9 years ago

Comment #11 originally posted by helloworld1 on 2014-02-05T06:42:56.000Z:

Issue 270 has been merged into this issue.