New Baka-Tsuki Android App: Development
Moderators: thelastguardian, Fringe Security Bureau, Senior Editors, Senior Translators, Alt. Language Translator/Editor, Executive Council, Project Translators, Project Editors
-
- Haruhiist Disciple
- Posts: 63
- Joined: Fri Dec 14, 2012 1:50 pm
- Favourite Light Novel:
Re: New Baka-Tsuki Android App: Development
External Chapters tested:
High School DxD Lets go to the Onsen
Kore wa Zombie Desu Ka Volume 2 Prologue, Chapter 1
Kikou Shoujo wa Kizutsukanai Volume 2: Chapter 1 & 2
They all just give me a prompt to open it in a web browser. Although, is it suppose to open it in a web browser or in the app?
The update NOTIFICATION only shows New Chapters. Even if there's a chapter update it won't show any sign of it.
It will only say xx New Chapters and WON'T display xx chapter updates even if there are chapter updates.
The update list in the app will, however, still show any New chapters and Chapter updates.
High School DxD Lets go to the Onsen
Kore wa Zombie Desu Ka Volume 2 Prologue, Chapter 1
Kikou Shoujo wa Kizutsukanai Volume 2: Chapter 1 & 2
They all just give me a prompt to open it in a web browser. Although, is it suppose to open it in a web browser or in the app?
The update NOTIFICATION only shows New Chapters. Even if there's a chapter update it won't show any sign of it.
It will only say xx New Chapters and WON'T display xx chapter updates even if there are chapter updates.
The update list in the app will, however, still show any New chapters and Chapter updates.
- 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
I'll check it out. Btw, do you use the compiled apk or compile by yourself?Bloodscythe wrote:External Chapters tested:
High School DxD Lets go to the Onsen
Kore wa Zombie Desu Ka Volume 2 Prologue, Chapter 1
Kikou Shoujo wa Kizutsukanai Volume 2: Chapter 1 & 2
They all just give me a prompt to open it in a web browser. Although, is it suppose to open it in a web browser or in the app?
The update NOTIFICATION only shows New Chapters. Even if there's a chapter update it won't show any sign of it.
It will only say xx New Chapters and WON'T display xx chapter updates even if there are chapter updates.
The update list in the app will, however, still show any New chapters and Chapter updates.
Visit my blog for other applications.
-
- Haruhiist Disciple
- Posts: 63
- Joined: Fri Dec 14, 2012 1:50 pm
- Favourite Light Novel:
Re: New Baka-Tsuki Android App: Development
I use the compiled apk by Erakk.
Unfortunately, I possess no Android Development skills so I don't even know how to compile apks.
Unfortunately, I possess no Android Development skills so I don't even know how to compile apks.
- Erakk
- Digitalizer Editor
- Posts: 152
- Joined: Sat Jan 21, 2012 3:12 am
- Favourite Light Novel:
Re: New Baka-Tsuki Android App: Development
Well my intent was to subclass WebView and grab on touch events/scrolling events... would that break JS?Nandaka wrote:I won't promise you whether it can track the scrolling, as I'm using javascript to detect the scrolling event and I don't think I can inject a javascript to the external webpage (except after downloading the whole page, but this might break the external page javascript)
In theory, practice and theory are the same.
but, practically, they arent.
but, practically, they arent.
- 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
As long you didn't inject the js, then should be ok. If you try to track based on the coordinate (x/y), you'll lost the scroll position if you do rotate or zoom. This is the reason I'm using js, so I can scroll to the element, rather than x/y.Erakk wrote:Well my intent was to subclass WebView and grab on touch events/scrolling events... would that break JS?Nandaka wrote:I won't promise you whether it can track the scrolling, as I'm using javascript to detect the scrolling event and I don't think I can inject a javascript to the external webpage (except after downloading the whole page, but this might break the external page javascript)
Visit my blog for other applications.
- Erakk
- Digitalizer Editor
- Posts: 152
- Joined: Sat Jan 21, 2012 3:12 am
- Favourite Light Novel:
Re: New Baka-Tsuki Android App: Development
I see...Nandaka wrote:As long you didn't inject the js, then should be ok. If you try to track based on the coordinate (x/y), you'll lost the scroll position if you do rotate or zoom. This is the reason I'm using js, so I can scroll to the element, rather than x/y.
Well i'll still use subclassing for webview dynamic buttons...
But honestly, i think we should leave the internal webview for a future update. Let's not hurt our heads with this, i want to push some interface modifications, fix some bugs, and publish 1.1. then we can either go for 1.1.1 for small things or just hold alittle bit and work on the next big update.
EDIT: i still have no internet at home, so i am setting up my environment at work... due to some silly thing my computer couldnt detect my phone USB so i have to wait for my brother to get online at work so he can send me the files for the merge.
In theory, practice and theory are the same.
but, practically, they arent.
but, practically, they arent.
-
- Astral Realm
Re: New Baka-Tsuki Android App: Development
I'm on build 32, can any of you confirm that bakemonogatari volume 2 works?
I downloaded it and when I opened it, it's left on a black blank page.
Are there any settings that might be messing with it?
I downloaded it and when I opened it, it's left on a black blank page.
Are there any settings that might be messing with it?
- 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
Yap, I don't intent to track the scrolling or zooming for external pages.Erakk wrote:EDIT: i still have no internet at home, so i am setting up my environment at work... due to some silly thing my computer couldnt detect my phone USB so i have to wait for my brother to get online at work so he can send me the files for the merge.
Visit my blog for other applications.
- Erakk
- Digitalizer Editor
- Posts: 152
- Joined: Sat Jan 21, 2012 3:12 am
- Favourite Light Novel:
Re: New Baka-Tsuki Android App: Development
Then, lets roll back the internal webview... it seems theres no much point to it? (well it was my idea lol, sorry =) )Nandaka wrote:Yap, I don't intent to track the scrolling or zooming for external pages.Erakk wrote:EDIT: i still have no internet at home, so i am setting up my environment at work... due to some silly thing my computer couldnt detect my phone USB so i have to wait for my brother to get online at work so he can send me the files for the merge.
In theory, practice and theory are the same.
but, practically, they arent.
but, practically, they arent.
- 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
Change Log:
- Update constants for novel divider, need db refresh (only the chapter list)
- Refactor method to Util class.
- Update handler for external page.
- Add js handler for complete load.
- Fix update notification message.
Uploaded to github
- Update constants for novel divider, need db refresh (only the chapter list)
- Refactor method to Util class.
- Update handler for external page.
- Add js handler for complete load.
- Fix update notification message.
Uploaded to github
Visit my blog for other applications.
-
- Astral Realm
Re: New Baka-Tsuki Android App: Development
Problem: Crash (Exception Class Name java.lang.IllegalArgumentException)
Source file: LoadedApk.java
Source Class: android.app.Loaded/Apk
Source Method: forgetServiceDispatcher
Line number: 888
process name: com.erakk.Inreader
Device: ST21i2 (Sony Xperia Tipo Dual)
SDK Version: 15
OS: 4.0.4
...I can understand a bit of programming (but rather not think about it since I'm not that good at it) but I think this info should suffice.
Source file: LoadedApk.java
Source Class: android.app.Loaded/Apk
Source Method: forgetServiceDispatcher
Line number: 888
process name: com.erakk.Inreader
Device: ST21i2 (Sony Xperia Tipo Dual)
SDK Version: 15
OS: 4.0.4
...I can understand a bit of programming (but rather not think about it since I'm not that good at it) but I think this info should suffice.
-
- Kyonite - The Haruhi Pacifier
- Posts: 144
- Joined: Sat Dec 01, 2012 12:27 pm
- Favourite Light Novel: Ahouka!
- Location: Germany
Re: New Baka-Tsuki Android App: Development
Thats because those chapters doesnt exist at all. Like here : http://www.baka-tsuki.org/project/index ... _Snake_001Imbatman wrote:I'm on build 32, can any of you confirm that bakemonogatari volume 2 works?
I downloaded it and when I opened it, it's left on a black blank page.
Are there any settings that might be messing with it?
- Erakk
- Digitalizer Editor
- Posts: 152
- Joined: Sat Jan 21, 2012 3:12 am
- Favourite Light Novel:
Re: New Baka-Tsuki Android App: Development
New Build 33 with the above changes:
https://www.dropbox.com/s/wv5v8wj7v8eqf ... 1-0-33.apk
IF you are wondering why the Readme on github is not updated:
I am having dificulty uploading my code on github from work. So ill keep track of it offline until i get those stupid ISP tech guys to fix my internet wires at home.
'til then, its dropBox baby.
https://www.dropbox.com/s/wv5v8wj7v8eqf ... 1-0-33.apk
IF you are wondering why the Readme on github is not updated:
I am having dificulty uploading my code on github from work. So ill keep track of it offline until i get those stupid ISP tech guys to fix my internet wires at home.
'til then, its dropBox baby.
In theory, practice and theory are the same.
but, practically, they arent.
but, practically, they arent.
-
- Haruhiist Disciple
- Posts: 63
- Joined: Fri Dec 14, 2012 1:50 pm
- Favourite Light Novel:
Re: New Baka-Tsuki Android App: Development
App now thinks EVERY chapter in watchlist is a new chapter and puts them all in the notifications and update list.
How do I know I'm not paranoid/crazy?
921 new chapter updates.
Yeah, above sentence says it all.
Come to think of it, wasn't this bug here before? Seems like it was brought back to life.
On an unrelated note, I'm suprised that there are 921 chapters in my watchlist.
EDIT:
The fix is to refesh your novel/watch list.
I didn't spot that before...
How do I know I'm not paranoid/crazy?
921 new chapter updates.
Yeah, above sentence says it all.
Come to think of it, wasn't this bug here before? Seems like it was brought back to life.
On an unrelated note, I'm suprised that there are 921 chapters in my watchlist.
EDIT:
The fix is to refesh your novel/watch list.
I didn't spot that before...
- 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
Sorry about thatBloodscythe wrote:EDIT:
The fix is to refesh your novel/watch list.
I didn't spot that before...

This is because I'm using very short constants for the chapters parent which causes problems with novels with special chars. I've changed it to much longer one.
Visit my blog for other applications.