Coder Social home page Coder Social logo

droid-comic-viewer's People

Contributors

hpique avatar jdomizz avatar lhw avatar sole avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

droid-comic-viewer's Issues

Truncated error message; `Unable to load image. This gene`

The text displayed is only Unable to load image. This gene (partial "e").

Gingerbread phone with a small screen (480×800), its an old'ish phone so small everything including memory :-) The device is a http://en.wikipedia.org/wiki/HTC_Desire.

Message text is truncated when moving to (page 46) of a comic.

From grep'ing the source code it looks like res\values\strings.xml line 61:

<string name="dialog_page_error_text">Unable to load image. This generally happens because of an out of memory error.\n\nFor CBR/RAR files, try extracting into a folder and open the folder with a long tap.\n\nFor the rest, closing ACV and trying again after a while might help.</string>

Crash on phones without Google Play

Steps to reproduce:

  1. open Menu
  2. select Settings
  3. select About
  4. select Google Play listing

On a phone without Google Play Store, this would cause a crash.
You may catch the exception, and then use this type of url to show the product on google play:
http://play.google.com/store/apps/details?id=<package_name>

On phones sold on some markets, the Google Services are not present, so this may be a serious problem.

Crash when long-pressing a folder

Crash on Nexus 4, ACV 1.4.1.4:

  1. start the app
  2. click menu
  3. choose "open"
  4. go to directories like /mnt
  5. long-press a folder, like "secure"
  6. crash

The reason is that, when you don't have permission, File.list() would return null. But this is not checked. The problem happens in src/net/robotmedia/acv/ui/SDBrowserActivity.java:111, where you called file.list() and later used the result. The return code may be null.

In this case, it's due to permission, so maybe it's not that interesting. However, it may also return null due to other reasons. Anyway, showing an error message is better than crashing.

The source code is uncompilable

After I import your project into the eclipse, it is uncompilable with some errors.
In your AndroidManifest.xml, there is android:targetSdkVersion="13"

(1)Using:API 13:
file:SuperImageView.java
line 225:
error:This method is not overriding anything with the current build target, but will in API level 16 (current target is 13): net.robotmedia.acv.ui.widget.SuperImageView#getMaxWidth

But in API 16:
line 225:
error:The return type is incompatible with ImageView.getMaxWidth()

(2)

How can I get the Android Billing Library?
Can I prase the source code of the https://github.com/robotmedia/AndroidBillingLibrary/tree/0153cf5bf3f41c79220bf8bdfa226e86e4dfd537 into your project?
Can you discuss it more?

(3)
Using: API 13:
file:BuildUtils.java
line 27:
error:CE_CREAM_SANDWICH cannot be resolved or is not a field

Nook buttons

Hello! I use "ACV" version v1.4.1.4 on my nook (Android 1.6). As far as I know, your app is the best way to read CBZ on this ancient Android version.

If I had one wish, it would be that page turn would work with the nook's physical buttons. They actually work with most apps, I'm not sure why they won't work with yours. I can help diagnose/test the issue if you do not have a nook.

Thanks!

App not properly handling premium status after data wipe

I bought the premium version when it came out. When JB came out I had to wipe /data. Now I'm unable to get the app to accept that I have already bought it, even though Market pops up a message saying I already own it. In other apps I noticed that the same message comes up but clicking ok usually takes me back to the app and unlocks whatever functionality that purchase enabled.

It seems ACV app does not properly handle that response.

Optimise image loading code

Currently the entire images are loaded and then downsampled if required. This could be optimised by not loading the entire image if possible (then adjusting to match the maximum size).

Also the code for loading images is scattered & somehow duplicated in several files (RarComic.getBitmapFromFileHeaderIfNeeded, ZipComic.getBitmapFromEntryIfNeeded, FolderComic.resampleAndSave) so that could maybe be refactored.

Decoding image without resizing

Dear developers,
When loading an image, Google suggests us to resize the image before decoding them, so as to save memory resource and avoid OutOfMemory exception:
" To avoid java.lang.OutOfMemory exceptions, check the dimensions of a bitmap before decoding it, unless you absolutely trust the source to provide you with predictably sized image data that comfortably fits within the available memory "
I noticed that in the following code, image resizing is correctly applied:
net.robotmedia.acv.comic.ZipComic: android. resample()

However, in the code below, images are decoded directly without resizing:
(1) com.flurry.android.z: a()

I am curious about the latter cases. Why these methods do not resize images? Perhaps we should resize the images before decoding them, which can reduce time and memory overhead and help make app more smooth in user interaction.
Could you kindly have a look at this issue? Thanks.

Offline help / User manual

Currently the user manual is an online web. If the user is offline she can't access the help contents.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.