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
ShadowfoxEX
Haruhiist Specialist
Posts: 78
Joined: Sun Sep 16, 2012 9:53 pm
Favourite Light Novel:

Re: New Baka-Tsuki Android App: Development

Post by ShadowfoxEX »

Something's not clearing my download list. Anytime I download something that I have all the chapters on, the download "completes" and then leaves a download bar reading "com.erakk.lnreader.task.DownloadNovelContentTask@########", you get the idea with the last #s, probably the directory for the novel. But otherwise it doesnt remove itself, and after a while, if I try to download a few novels, it crashes
User avatar
Trollhand
Astral Realm

Re: New Baka-Tsuki Android App: Development

Post by Trollhand »

Hi.
After upgrading to the new version, Fullscreen option doesn't work properly for me.
The OS buttons disappear as before, but the application header remains . The result can be seen on the screenshot.
Spoiler! :
Image
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 v1.1.32-beta3
- Enable toolbar for Settings Activity.
- Fix Issue #202: Default Zoom based on screen density.
- Fix null pointer exception when loading novel details.
- Fix Issue #200: Screen rotation lock.
- Fix Issue #197: Download List cleanup.
- Fix Novel List & Details title update.
- Fix Issue #194: Item list color.

Download Link: https://github.com/calvinaquino/LNReade ... 1.32-beta3

Please put any bug on GitHub issue tracker: https://github.com/calvinaquino/LNReader-Android/issues
Visit my blog for other applications.
User avatar
seb2810low
Astral Realm

Re: New Baka-Tsuki Android App: Development

Post by seb2810low »

I can't download illustrations with the new update. The timer times out after multiple tries, now I'm lacking the most of the illustrations for the novels.
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.32
- Enable toolbar for Settings Activity.
- Fix Issue #202: Default Zoom based on screen density.
- Fix null pointer exception when loading novel details.
- Fix Issue #200: Screen rotation lock.
- Fix Issue #197: Download List cleanup.
- Fix Novel List & Details title update.
- Fix Issue #194: Item list color.
- Fix unhandled exception on novel list.
- Update thumb.php handling.
- Fix page reload when resuming activity in fullscreen mode.

Download the apk in https://github.com/calvinaquino/LNReade ... d/releases or wait until google push the updates
Report bugs on https://github.com/calvinaquino/LNReader-Android/issues
seb2810low wrote:I can't download illustrations with the new update. The timer times out after multiple tries, now I'm lacking the most of the illustrations for the novels.
Try the new version.
Is it for all novels/chapters?
it should works unless for some reason you got network issue (try different isp/wifi).
Visit my blog for other applications.
User avatar
Lionspork
Astral Realm

Re: New Baka-Tsuki Android App: Development

Post by Lionspork »

Newest version still having the problem where the thumbnails don't work even after downloading a whole volume, if there is no Internet connection.

A particular thumbnail will display with no connection if it has recwntly been viewed beforehand with a connection present (I guess it's cached in webview or something) but if I download a volume without viewing it, then turn on airplane mode and try to view a downloaded chapter, the thumbnails are broken.

Oh also thumbnails are still being saved all in the images folder root with weird filenames instead of sorted into folders and with .jpg extensions. Is this normal behavior now with updated php handling?

And, yeah, https still breaks thumbnails entirely.
User avatar
dogi
Astral Realm

Re: New Baka-Tsuki Android App: Development

Post by dogi »

Windowed mode on the newest version has this grey gap on the top of the screen. And it's not constant but a lot of times when resuming a novel on the most recent versions it resumes at the start of the chapter instead of wherever I was. Full screen's also missing the Prev/Next buttons still

http://i.imgur.com/2hCR65x.png

Reading on a Nexus 7 2013 on 4.4.4
User avatar
defnoob
Astral Realm

Re: New Baka-Tsuki Android App: Development

Post by defnoob »

Is it possible to manually add other novels in the database? I.e. light novels that aren't in any lists of baka tsuki.
User avatar
seether28
Astral Realm

Re: New Baka-Tsuki Android App: Development

Post by seether28 »

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

Re: New Baka-Tsuki Android App: Development

Post by Guest »

Hello. Since the latest update, I have been unable to use the app. The app opens just fine but if I try to read a chapter, the app hangs and then force closes. Any suggestions to solve this problem? Just in case it is important, I am using android 2.3. Thanks in advance.
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.33
- Update Issue#199: Add touch listener for toolbar when in fullscreen mode.
- Remove srcset from image parser.
- Add feature#180: Add option to reset Zoom level from Settings -> Reading Layout -> Group 1 -> Reset Zoom Level.
- Fix toggle fullscreen on older android (Gingerbread).
- Fix some null pointer exception error.

Download link: https://github.com/calvinaquino/LNReade ... tag/1.1.33
App Store: https://play.google.com/store/apps/deta ... k.lnreader

Report any issue on https://github.com/calvinaquino/LNReader-Android/issues

This should fix issues mentioned by @Lionspork and @dogi.
defnoob wrote:Is it possible to manually add other novels in the database? I.e. light novels that aren't in any lists of baka tsuki.
Nope.
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?
Guest wrote:Hello. Since the latest update, I have been unable to use the app. The app opens just fine but if I try to read a chapter, the app hangs and then force closes. Any suggestions to solve this problem? Just in case it is important, I am using android 2.3. Thanks in advance.
I don't have android 2.3 anymore, you should consider to upgrade the device. If not possible, can you upload the log cat. See: http://forum.xda-developers.com/showthr ... ?t=1726238 for details on how-to-logcat.
Visit my blog for other applications.
User avatar
seb2810low
Astral Realm

Re: New Baka-Tsuki Android App: Development

Post by seb2810low »

Just updated to the new version, full screen not working properly again. The bottom and top is covered, covering the title and text.
User avatar
Guest
Astral Realm

Re: New Baka-Tsuki Android App: Development

Post by Guest »

Seems the latest update fixed the crashing problem. Thanks!
User avatar
Lionspork
Astral Realm

Re: New Baka-Tsuki Android App: Development

Post by Lionspork »

Thumbnails saving and HTTPS do appear to be all fixed now. Thanks for all your efforts Nandaka!
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 »

Hello Nandaka,

I was trying to understand how your app retrieves and parses information information from the site? In particular, which pages you retrieve the list of project pages from and what type of commands you use to do it (api list=categorymembers, parsing category page html, etc).

I want to be able to understand how changes to the wiki organization (category or page structure) would help or hurt the app (such as did my recategorizing some projects into "Web_novel_(English)" prevent the app from working for those projects?).


I did look through the gitHub a bit, and I think I found some of those answers, but the size and complexity of the project is a bit too much for me to be able to follow everything or be confident about what I do find. I'll summarize what I think I understand so far, so could you correct anything I got wrong?

For finding project titles, you go to the language page, such as "Category:English" and look at the subcategories. You then retrieve the list of the pages from each subcategory, such as "Light_novel_(English)" (how do you do this, mediawiki api or parsing html?). I think that info was laid out in a readme for altnernate languages, but I assume it works the same for English projects?

For each project page, you parse links from the html page content and determine whether the link is formatted like a chapter (not a user page or other type of link. You then process content of each chapter page, the details of which I think matter less for my question, as any changes made to wiki organization shouldn't affect chapter page content.
Post Reply

Return to “Developers and Code”