New Baka-Tsuki Android App: Development

Forum for volunteer developers working on Baka-Tsuki related applications (Baka-Reader, BTprince, etc).

Moderators: thelastguardian, Fringe Security Bureau, Senior Editors, Senior Translators, Alt. Language Translator/Editor, Executive Council, Project Translators, Project Editors

Post Reply
Taper
Mikuru's Master
Posts: 23
Joined: Tue Jan 08, 2013 4:48 pm
Favourite Light Novel:

Re: New Baka-Tsuki Android App: Development

Post by Taper »

My Samsung Tab 7.0 was stolen few weeks ago, so I've since upgraded to a new android phone (HTC Desire620s) for my BakaReader EX reading experience. I was able to restore old backup to it, then later got a mircoSD card for the phone. However I haven't been able to transfer the app and its cache to the SD; the app menu says the app is listed as being on SD but when I check the DB within the app it says that its cache (as well as any image, LN, etc cache) is still at /storage/emulated/

I tried tapping at Database Save Location few times to see if I could change the location, but nothing. Given my phone's puny storage (thanks to all pre-installed apps that I can't uninstall), I can't help but think that the app is running out of space for LNs I've downloaded. In at least several cases I've had LNs that had their chapters missing despite having already been downloaded and read previously, forcing me to re-download them. If I add more LNs to watch list or download new chapters, would the older ones be pruned/removed without me knowing?

Also, for any given novel entry, there's refresh and download icons (I like them, btw- makes things much simpler), but do I have to refresh the novel entry first for latest updates, then hit download to grab new stuff? Or will the download automatically check for any new content and attempt to download them??
User avatar
Nandaka
Digitalizer Editor
Posts: 535
Joined: Thu Aug 09, 2012 9:46 am
Favourite Light Novel: Ahouka!
Location: Singapore
Contact:

Re: New Baka-Tsuki Android App: Development

Post by Nandaka »

Change Log for 1.1.36
- Update android build tool to v22.
- Update JSoup to 1.8.3.
- Fix index-out-of-bound when searching.
- Fix Issue #214: improve loading time for novel chapter list.
- Fix Update Info crash.

Download link = https://github.com/calvinaquino/LNReade ... tag/1.1.36
Play Store = https://play.google.com/store/apps/deta ... k.lnreader
Bug Report = https://github.com/calvinaquino/LNReader-Android/issues
Visit my blog for other applications.
User avatar
Nandaka
Digitalizer Editor
Posts: 535
Joined: Thu Aug 09, 2012 9:46 am
Favourite Light Novel: Ahouka!
Location: Singapore
Contact:

Re: New Baka-Tsuki Android App: Development

Post by Nandaka »

Taper wrote:My Samsung Tab 7.0 was stolen few weeks ago, so I've since upgraded to a new android phone (HTC Desire620s) for my BakaReader EX reading experience. I was able to restore old backup to it, then later got a mircoSD card for the phone. However I haven't been able to transfer the app and its cache to the SD; the app menu says the app is listed as being on SD but when I check the DB within the app it says that its cache (as well as any image, LN, etc cache) is still at /storage/emulated/

I tried tapping at Database Save Location few times to see if I could change the location, but nothing. Given my phone's puny storage (thanks to all pre-installed apps that I can't uninstall), I can't help but think that the app is running out of space for LNs I've downloaded. In at least several cases I've had LNs that had their chapters missing despite having already been downloaded and read previously, forcing me to re-download them. If I add more LNs to watch list or download new chapters, would the older ones be pruned/removed without me knowing?

Also, for any given novel entry, there's refresh and download icons (I like them, btw- makes things much simpler), but do I have to refresh the novel entry first for latest updates, then hit download to grab new stuff? Or will the download automatically check for any new content and attempt to download them??
1. DB location cannot be changed, only the image path.
2. Missing chapter = no pruning, except you do manually from Settings -> Maintenance menu.
3. Refresh icon -> then Download icon. Sorry for 2-step, this is to avoid stressing the server (:P).

Scopecat wrote:Manually adding novels to the Main page (for instance, adding web novels like Mushoku Tensei) now returns an error. Something about hierarchies.
Can you put the details in Github? https://github.com/calvinaquino/LNReader-Android/issues
DarknessMetal08 wrote:I updated this morning and started getting the error code 226. Full code was class android database.sqlite.SQliteDiskIOExecption: disk I/O error (code266). Anyone know how to get fix it.
From the sqlite website = The SQLITE_IOERR_READ error code is an extended error code for SQLITE_IOERR indicating an I/O error in the VFS layer while trying to read from a file on disk. This error might result from a hardware malfunction or because a filesystem came unmounted while the file was open.

looks like the storage got issue. try to backup first, the restore from different backup. You can access it from Settings -> Storage
Advenragon wrote:Hi, I found myself unable to save external since the last update (1.1.35). The app will said that it's already saved the external page to /storage/emulated/0/Android/data/com.erakk.Inreader/files/wac/"filename".wac but it will show unable to connect to the internet page rather than the saved page when there's no internet connection. Is there anyway to fix it?

And a little suggestion. Can you make a 'refresh all' button in the LN info page so we can refresh the content of an entire series rather than refresh it one by one per chapter?

Thanks
1. External site = It doesn't really 100% supported yet, due to different way of each site handling mobile page. What is the affected novel & chapter?
2. On the novel details page? Press the Refresh icon, then the Download icons.
Visit my blog for other applications.
User avatar
Seb2810low
Astral Realm

Re: New Baka-Tsuki Android App: Development

Post by Seb2810low »

The update fixed the main novel refresh issue and some of the image issue. however the image issue for the novels are not 100% fixed, I just clear my database as the last database had a lot of missing images. I found that if i download around 10 novels, the images are fine, anything more and the image downloads will be stuck at the retrying. I have tried it a few times already problems persists. there is around 4 gb empty space left in my phone so i do not think that it is a storage issue.
User avatar
Goodiehao
Astral Realm

Regarding BakaReader EX

Post by Goodiehao »

Hi,
I'm not sure if I am posting this at the correct place. But I had encounter this error after updating BakaReader EX to the latest version where the UI changed. Now, I cant load any single light novel. If i try to refresh i will get some null pointer or exceptional handling. Is it only me or it happened to specific region of people? :(
User avatar
Nandaka
Digitalizer Editor
Posts: 535
Joined: Thu Aug 09, 2012 9:46 am
Favourite Light Novel: Ahouka!
Location: Singapore
Contact:

Re: New Baka-Tsuki Android App: Development

Post by Nandaka »

Change Log for 1.1.37
- Fix Issue #215: closed DB when updating info.
- Fix Issue #217: crash when loading updates.
- Fix Issue #216: ensure table created.
- Add index on pages table to improve loading time.
- Add toast message if application failed to load due to device is not supported.

Download Link: https://github.com/calvinaquino/LNReade ... tag/1.1.37
Google Play: https://play.google.com/store/apps/deta ... k.lnreader
Report Issue at: https://github.com/calvinaquino/LNReader-Android/issues
Visit my blog for other applications.
User avatar
thyacis
Astral Realm

Re: New Baka-Tsuki Android App: Development

Post by thyacis »

Hi,
First of all, thank you very much for the app, I absolutely love it and is probably my most used app. I have been having a problem with it recently though. Whenever I try to manually update my watch list, or I go into my watch list and download all info, it seems like half way through it just stops. Every time I see this it says it is downloading an external chapter, and seems to just stop there. I will watch it and it will be like that for as long as I have the app open (granted an hour is as long as I have watched it). It seems to just cancel out the download eventually (no idea exactly what happens because this always happens when I switch tasks or lock my tablet for about 30 seconds). Any idea if it is just my problem or maybe how I could fix it? Thank you again, it is amazing how much work is put into all aspects of this site and I am very grateful.
After watching it a few times, it seems it stops on chapter 760 of 764 of Konjiki no Wordmaster. Has that been abandoned or is there a reason why it doesn't like that particular chapter?
User avatar
Saronin
Kyonist
Posts: 15
Joined: Sat Oct 18, 2014 10:58 am
Favourite Light Novel: Seirei Tsukai no Blade Dance, but it was Campione!
Location: The Unlimited Neutral Field
Contact:

Re: New Baka-Tsuki Android App: Development

Post by Saronin »

Is there a way to open the web novels like mushoku tensei in the app? If not, please incorporate, otherwise, mui magnifique(don't know if I spelled it right).
MyAnimeList Profile

~The world would be a much better place,
~If only fantasy became reality.
User avatar
Nandaka
Digitalizer Editor
Posts: 535
Joined: Thu Aug 09, 2012 9:46 am
Favourite Light Novel: Ahouka!
Location: Singapore
Contact:

Re: New Baka-Tsuki Android App: Development

Post by Nandaka »

thyacis wrote:Hi,
First of all, thank you very much for the app, I absolutely love it and is probably my most used app. I have been having a problem with it recently though. Whenever I try to manually update my watch list, or I go into my watch list and download all info, it seems like half way through it just stops. Every time I see this it says it is downloading an external chapter, and seems to just stop there. I will watch it and it will be like that for as long as I have the app open (granted an hour is as long as I have watched it). It seems to just cancel out the download eventually (no idea exactly what happens because this always happens when I switch tasks or lock my tablet for about 30 seconds). Any idea if it is just my problem or maybe how I could fix it? Thank you again, it is amazing how much work is put into all aspects of this site and I am very grateful.
After watching it a few times, it seems it stops on chapter 760 of 764 of Konjiki no Wordmaster. Has that been abandoned or is there a reason why it doesn't like that particular chapter?
need to check this.
Saronin wrote:Is there a way to open the web novels like mushoku tensei in the app? If not, please incorporate, otherwise, mui magnifique(don't know if I spelled it right).
Hi, Mushoku Tensei is listed in Web Novel category. I'll fix it in the next update.
Visit my blog for other applications.
User avatar
Nandaka
Digitalizer Editor
Posts: 535
Joined: Thu Aug 09, 2012 9:46 am
Favourite Light Novel: Ahouka!
Location: Singapore
Contact:

Re: New Baka-Tsuki Android App: Development

Post by Nandaka »

Visit my blog for other applications.
User avatar
Nandaka
Digitalizer Editor
Posts: 535
Joined: Thu Aug 09, 2012 9:46 am
Favourite Light Novel: Ahouka!
Location: Singapore
Contact:

Re: New Baka-Tsuki Android App: Development

Post by Nandaka »

Change Log for 1.1.39-beta1:
- Fix Issue #221: Skip external/linked chapter when downloading all chapter from context menu.
- Fix Issue #223: Avoid padding when using high res cover.
- Fix Issue #222: Keep fragment states on rotate.
- Fix small action bar title on landscape mode.

Download Link: https://github.com/calvinaquino/LNReade ... 1.39-beta1
or from Google Play Testing Channel: https://play.google.com/apps/testing/com.erakk.lnreader

Report any issue in here or GitHub: https://github.com/calvinaquino/LNReader-Android/issues
Visit my blog for other applications.
Taper
Mikuru's Master
Posts: 23
Joined: Tue Jan 08, 2013 4:48 pm
Favourite Light Novel:

Re: New Baka-Tsuki Android App: Development

Post by Taper »

There are several novels that have blank or near-blank entries, despite having content on BakaTsuki site. Two examples that I can think of are Zhan Long (no volumes listed) and Xian ni (just blank page).

Is there any particular reason why updates page would be unresponsive whenever trying to pull it up? I have two android devices. I can pull it up just fine on my Samsung Tab, but on HTC Desire it just... hangs or something. Absolutely no action at all. The phone acknowledges me trying to hit return/back button (vibration and beeping is there) but it doesn't change a thing, and the only action I can do at that point is using home button to return to Android screen. Then if I return to the app, I'm back to the update page which is still in same hang-up mode, so I'd have to kill the app directly in order to be able to use app again. I now try to avoid using update page whenever possible (which is annoying since there's no other way of knowing what's new or updated).

Finally, one last request. As I mentioned, I have two android devices. Do you think you could implement something like sync or remote backup option that would allow me to mirror the contents and settings between two devices? I use the phone to read stuff on move then use Tab for home reading, so it would be convenient I could simply pick up where I left off from one Android on other, and vice versa. As it is right now, I have to update both devices every time with new content (so I'm essentially downloading same content twice) and manually search for where I left off on one device in order to resume on the other device.
User avatar
Nandaka
Digitalizer Editor
Posts: 535
Joined: Thu Aug 09, 2012 9:46 am
Favourite Light Novel: Ahouka!
Location: Singapore
Contact:

Re: New Baka-Tsuki Android App: Development

Post by Nandaka »

>> Zhan Long (no volumes listed) and Xian ni (just blank page).

I think these novels already removed?
I cannot find it from below pages:
- https://www.baka-tsuki.org/project/inde ... inal_novel
- https://www.baka-tsuki.org/project/inde ... _(English)
- https://www.baka-tsuki.org/project/inde ... _(English)
- https://www.baka-tsuki.org/project/inde ... _(English)

>> updates page would be unresponsive whenever trying to pull it up

As you said, I'm not sure why. I've tested on my devices and emulator/bluestack and it is working properly. Most likely something specific on HTC android implentation (Heck, I even sometimes got bug on Samsung devices android).

>> Sync

No option for this one, even if I'm able to, most likely I will only sync the bookmark. Also, I think this feature need a server, or use dropbox/google drive api.

-----------------------------------
Change Log for 1.1.39-beta2:
- Fix Issue #221: Skip external/linked chapter when downloading all chapter from context menu.
- Fix Issue #223: Avoid padding when using high res cover.
- Fix Issue #222: Keep fragment states on rotate.
- Fix small action bar title on landscape mode.
- Implement #224: Enable custom color for <div> without class.

Download Link: https://github.com/calvinaquino/LNReade ... 1.39-beta2
or from Google Play Testing Channel: https://play.google.com/apps/testing/com.erakk.lnreader

Report any issue in here or GitHub: https://github.com/calvinaquino/LNReader-Android/issues
Visit my blog for other applications.
SystemRez
Reader
Posts: 4
Joined: Tue Jul 28, 2015 11:12 am
Favourite Light Novel:

Re: New Baka-Tsuki Android App: Development

Post by SystemRez »

Hi,

My device is a Samsung Galaxy S3 mini with Android 4.4.2.

I wanted to ask if anyone could help me with getting images on my SD card. My current device does not have a lot of storage and images are taking a lot of space. I want to move my storage location to my SD Card but I am having issues.

I believe I have the path right, I am using "/mnt/extSDcard/Images" with the "Images" being the folder I created but when trying to download images they will fail.

Thanks for the help.
mike211
Kyonist
Posts: 11
Joined: Thu Jan 19, 2012 5:27 am
Favourite Light Novel:

Re: New Baka-Tsuki Android App: Development

Post by mike211 »

Hi Nandaka,
I just want to inform you that there is a problem with "Konjiki no Wordmaster". When updating it get stuck on "Downloading external chapter info 762 of 769".
This problem made the "update service" and "download all info" for web function to be stuck due to the same problem.

I check the website and it seem there is a few chapters unlinked.
Regarding Unlinked Chapters

There are several chapters here that have been unlinked from translators who has been commercializing their translation of Konjiki no Wordmaster. Please read Baka Tsuki's Commercialism Policy. Do not post links to any external translation group that violates these rules, instead link the ones that are not commercialized.
Could this be the cause of the update getting stuck?
Post Reply

Return to “Developers and Code”