robotmedia / droid-comic-viewer Goto Github PK
View Code? Open in Web Editor NEWA comic and manga reader for Android
A comic and manga reader for Android
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>
Steps to reproduce:
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 on Nexus 4, ACV 1.4.1.4:
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.
F-Droid repository contains an outdated copy that don't support CBR at all (Google play has beta CBR support)
Could not find were to report this very minor thing, sorry
http://developer.android.com/reference/android/content/Context.html#getCacheDir()
Possibly add .nomedia to prevent images being added to the Gallery when Media Scanner does its job.
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
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!
I have installed ACV 1.4.1.4 from F-Droid. Unfortunately I can't access the external sd card. It can only access contents within /storage/emulated/0.
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.
...and mention it in the app's description in the F-Droid repository.
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.
Update junrar with latest version from github: https://github.com/edmund-wagner/junrar
This might even fix the out of memory error with some CBR files.
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.
Currently the user manual is an online web. If the user is offline she can't access the help contents.
...and mention it in the app's description in the F-Droid repository.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.