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
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 »

For English novel list, I'm using Category:Light_novel_(English), which defined in https://github.com/calvinaquino/LNReade ... .java#L147

Then it just download the page and do html parsing to get all the li elements.

I'm also using the mediawiki api to get the last modified date of the page, so I can check which page have update.

There is some differences for alt. language parser. It is govern by the xml defining the root category page (https://github.com/calvinaquino/LNReade ... g_info.xml) and it will parse the subcategory(#mw-subcategories) and and pages (#mw-pages).
Visit my blog for other applications.
Cthaeh
Yuki-Nagator
Posts: 647
Joined: Sun Nov 11, 2012 6:54 pm
Favourite Light Novel:

Re: New Baka-Tsuki Android App: Development

Post by Cthaeh »

It sounds like my creating a new Web_novel_(English) category would have broken things then. Whoops... Sorry about that. Umm, I think we want to have that category separate. One current question is how we should set things up to be more robust and efficient going forward. Some of this is already in the pm I sent, but one option would be to either have a category containing all projects, or alternatively having a page that just lists all members of the separate category pages. The difference between those two being the first is an actual mediawiki category, whereas the second is just a list of pages in separate mediawiki categories (so the second would only work if you were parsing html, and wouldn't work if you're using mediawiki api to get category members).

Setting it up like this might make it more robust in the sense than any rearrangement that happens to the project categories can just be updated on the wiki page without needing an update to the app. But maybe there are other reasons that wouldn't be ideal.
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, I have a small issue I found that I would like to report.

The issue is when reading on landscape and you press the power button and then come back, the location that you are reading is lost and is moved to the very top.
This issue will happen as long as you press the power button on landscape and returning on either landscape or portrait will result in your reading spot lost.
The issue will not happen when pressing the power button on portrait.

My device is a Samsung Galaxy S3 Mini (Android 4.4.2)

I also want to say I am a long time user of this app and want to thank the developers for their efforts.
DarknessMetal08
Devoted Haruhiist
Posts: 50
Joined: Fri Apr 04, 2014 10:13 am
Favourite Light Novel:

Re: New Baka-Tsuki Android App: Development

Post by DarknessMetal08 »

Is there anyway we have the next button back next to the previous button again? Sometimes its really annoying only having the previous button on the upper right. Even if you had shorten the buttons so you only saw Pre/Ne it would be a great help. Regardless I thank all who have worked on this app, as it has saved me from hours of boredom.
User avatar
seether28
Astral Realm

Re: New Baka-Tsuki Android App: Development

Post by seether28 »

Nandaka wrote:
seether28 wrote:Empty Bitmap for covers, no thumbs or full version of illustrations. I think thumbs were working a couple months ago, but the rest was like this.

Android 5.0.1 on a Galaxy S4 using WiFi.
For thumbs/full version, it should be fixed in this version. As for cover, what is the affected novel?
Using 1.1.33 from the app store.
Thumbs/full version still aren't working for me, and all novels I've checked have the empty bitmap covers.

When I load a novel illustrations page it speeds through several retries while downloading, gives me bunch of broken thumbs on a page. Loading one gets it to try and download again and then gives me a broken image and the location it supposedly loaded from. The image save location is still set to its default, which is

Code: Select all

/storage/emulated/0/Android/data/com.erakk.lnreader/files
If that makes any difference. This is with any novel chosen at random.
User avatar
Scopecat
Astral Realm

Re: New Baka-Tsuki Android App: Development

Post by Scopecat »

How does image relinking work? I wanted to move thumbs save location from the internal storage to the external SD card, so I moved the already downloaded files from /storage/sdcard0/Android/data/com.erakk.lnreader/files to /storage/extSdCard/Android/data/com.erakk.lnreader/files, changed the path in settings, then pressed "Relink Images". It then processed everything, told me that 0 images were relinked, but the thumbnails were all broken. In the end changing the image path required me to clear the database and thumbs and redownload everything.
User avatar
Shadow Slayer
Astral Realm

BakaReader EX image storage problems

Post by Shadow Slayer »

Note: This is for the android app (latest version)
Phone Info:
Droid MAXX running Android 4.4.4

For some reason, all of the images that I have downloaded can not be deleted. I've tried clearing and deleting chapter cache, but the images still remain in /storage/emulated/0/Android/data/com.erakk.Inreader/files/project/... I'm not sure if I'm doing something wrong, or if this is a bug. Right now my only solution is deleting the images directly with another app (problem is that I have to delete all of the images, because is is too tedious otherwise).
User avatar
IchsanWin32
Reader
Posts: 6
Joined: Thu Sep 11, 2014 1:01 am
Favourite Light Novel:

Re: New Baka-Tsuki Android App: Development

Post by IchsanWin32 »

HI i just faoun a bug in the app...
im using Baka Reader EX ver 1.1.34 (201507310).
the problem is the update feature is not downloading update of my novel watchlist.
the novel is Sword Art Online (Indonesia) vol 16 chapter 17. at first i tough the chapter was already finish translating. but i found the content was different with the website.
so i decided to download manually and the novel now match with the web. and i got the new content.
i think the update feature will always download the updated contents from the watch list... and yes my auto download update is selected (ticked).
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 »

Cthaeh wrote:Web_novel_(English) category would have broken things then
This will be updated in the next release if I have time, a bit busy on office :P
Also I need to get the possible top level category(e.g. Category:Light_novel, Category:Teaser, Category:Web_novel + the Language), most likely managed manually in list.

Most likely, I will group the novels based on category in the future.

You better create an issue on github tracker: https://github.com/calvinaquino/LNReader-Android/issues
SystemRez wrote:The issue is when reading on landscape and you press the power button and then come back, the location that you are reading is lost and is moved to the very top.
This issue will happen as long as you press the power button on landscape and returning on either landscape or portrait will result in your reading spot lost.
The issue will not happen when pressing the power button on portrait.
Confirmed, will fix in next release.
DarknessMetal08 wrote:Is there anyway we have the next button back next to the previous button again? Sometimes its really annoying only having the previous button on the upper right. Even if you had shorten the buttons so you only saw Pre/Ne it would be a great help. Regardless I thank all who have worked on this app, as it has saved me from hours of boredom.
Try https://github.com/calvinaquino/LNReade ... 1.35-beta2
I've changed it to use icon.
seether28 wrote:Thumbs/full version still aren't working for me, and all novels I've checked have the empty bitmap covers.
Is it possible to create an issue in GitHub and upload the log file?
Scopecat wrote:How does image relinking work?
It should be like what you described, unless the application cannot get the access to read the path. By right, it should create a log file containing the reports (RelinkImageTask_yyyyMMdd_HHmmss.log) in the new root path...
Shadow Slayer wrote:For some reason, all of the images that I have downloaded can not be deleted. I've tried clearing and deleting chapter cache, but the images still remain in /storage/emulated/0/Android/data/com.erakk.Inreader/files/project/..
When you delete the chapter cache, it will not delete the image, because it might be used by another chapter (e.g. Illust page).
IchsanWin32 wrote:the novel is Sword Art Online (Indonesia) vol 16 chapter 17. at first i tough the chapter was already finish translating. but i found the content was different with the website.
so i decided to download manually and the novel now match with the web. and i got the new content.
i think the update feature will always download the updated contents from the watch list... and yes my auto download update is selected (ticked).
Ensure the novel is starred, the Update Interval is set, and the Auto Download Updated Chapter is tick. If it is still not detected, create an issue in github and upload the log file.


New beta release v.1.1.35-beta2
Change Log:
  • Update bookmark loading logic.
  • Update update history loading logic.
  • Update menu icon.
  • Fix context menu for Novel List.
  • Refactor DB model.
  • Update android sdk and android studio.
Download Link: https://github.com/calvinaquino/LNReade ... 1.35-beta2
Please report bug to GitHub issue tracker: https://github.com/calvinaquino/LNReader-Android/issues

Fyi, I'm bit busy with office work nowadays, so the updates will be delayed :P
Visit my blog for other applications.
User avatar
Niyabi
Astral Realm

Baka Reader EX does not download pics

Post by Niyabi »

Hello

For some time I have problem that BR EX does not download novel illustrations. It tries to download then shows retry x1, retry x2 and in the end pic is not downloaded. What should I do to fix it?
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.35
- Update bookmark loading logic.
- Update update history loading logic.
- Update menu icon.
- Fix context menu for Novel List.
- Refactor DB model.
- Update android sdk and android studio.
- Fix Issue #213: Position is not saved in landscape mode.
- Try to fix Issue #210: Reaching End of Chapter Doesn't Mark as Read
- Update logic for relink images.
- Update keystore.
- Add log file for unhandled exception to image folder.

Download Link: https://github.com/calvinaquino/LNReade ... tag/1.1.35
Google Play: https://play.google.com/store/apps/deta ... k.lnreader
Report Bug at https://github.com/calvinaquino/LNReader-Android/issues
Niyabi wrote:Hello

For some time I have problem that BR EX does not download novel illustrations. It tries to download then shows retry x1, retry x2 and in the end pic is not downloaded. What should I do to fix it?
Which page? is it for any chapter? Where do you set the save folder for the images?
Visit my blog for other applications.
DarknessMetal08
Devoted Haruhiist
Posts: 50
Joined: Fri Apr 04, 2014 10:13 am
Favourite Light Novel:

Re: New Baka-Tsuki Android App: Development

Post by DarknessMetal08 »

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.
User avatar
Advenragon
Astral Realm

Unable to save External page

Post by Advenragon »

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
User avatar
seb2810low
Astral Realm

Re: New Baka-Tsuki Android App: Development

Post by seb2810low »

Hi,

I have the same problem with the images for the app, it will retry and still turn up empty, it happens throughout all the different novels, furthermore when I clear my database to try and re-download the novel, the app says database locked.
User avatar
Scopecat
Astral Realm

Re: New Baka-Tsuki Android App: Development

Post by Scopecat »

Manually adding novels to the Main page (for instance, adding web novels like Mushoku Tensei) now returns an error. Something about hierarchies.
Post Reply

Return to “Developers and Code”