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
tensaigandy
Astral Realm

Re: New Baka-Tsuki Android App: Development

Post by tensaigandy »

Nandaka wrote:
tensaigandy wrote:Sorry if have been reported by someone else before, I'm on mobile for several day and cant and too lazy to lurk on previous pages xD It's about Force Close

My device is LG Optimus 3D, Gingerbread 2.3.5
Thanks :D
Have you tried the latest APK, you can get it from GitHub: https://github.com/calvinaquino/LNReader-Android

More details please, at least give the ADB log :)
sorry, I downloaded the one somewhere on this forum :?
and I dont know how to see my device ADB log. Can someone enlighten me ? :D

and for the program :
1. Force Close when I switch application
2. The backlight of selected menu should be changed (I dont know how to tell it right, but hope you guys understand it :D)
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 »

ShadowfoxEX wrote:About my comment about it jumping to the top of the screen. It does this frequently in many cases, when exiting the chapter to go read another novel, whenever you close the application, etc.
Weird, this shouldn't happen. The application will remember the last scroll position when goes to pause mode (not on top).
ShadowfoxEX wrote: Right now, I dont really care about it saving the place like the Adobe Acrobat reader does, what I'm looking for is kind of a scroll bar, where you can rapidly scroll to a portion of a novel, a quarter of the way or all the way close to the end, like when you scroll through songs in a list of your media player (there's usually a bar that allows you to scroll faster down). The reason for this is because when I read using the Baka reader, I also read directly from the Baka-tsuki website. Sometimes large segments of it. The result is that I often am close to the end but never really finish, so I wait until I'm on the train or bus and read it there, but spend awhile scrolling down.
Unfortunately, WebView doesn't provide a traditional scrollbar where you can click to specific section of the page. You can only flick to move as far as I know...

Anyway, here the latest Change Log:
  • Update repeating logic for Update Service to always use the application context.
  • Update dark CSS for white table, please tell if there is skipped one.
  • Download volume will also download the updated content.
APK: http://www.mediafire.com/?9ry01dth86157cy

EDIT: forgot to bump the version number...

and those who reporting a problem, please state your phone and android version, also how to replicate the bugs and if possible ADB log.
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 »

tensaigandy wrote: sorry, I downloaded the one somewhere on this forum :?
and I dont know how to see my device ADB log. Can someone enlighten me ? :D
1. Get Android SDK from here:
2. Download the Tools section from Android SDK Manager. http://i.imgur.com/NYduT.png
3. Enable debugging in your android device and connect to your PC.
4. Run DDMS from tools folder. http://i.imgur.com/rYGSGh.png
5. Create logcat filter, give name lnreader and filter by application = com.erakk.lnreader. http://i.imgur.com/HLDfd.png
6. For more details, see here: http://developer.android.com/tools/debugging/ddms.html .

tensaigandy wrote: and for the program :
1. Force Close when I switch application
2. The backlight of selected menu should be changed (I dont know how to tell it right, but hope you guys understand it :D)
1. What is your android version? This one need ADB log to get the exception.
2. Screen shot please? Currently we only the default app theme for styling the UI.

EDIT:
1. Misread your post: >> LG Optimus 3D, Gingerbread 2.3.5 <<, checking now.
EDIT2: Weird, no problem in emulator (Android 2.3.3), need your phone adb log.

EDIT3: To read
http://developer.android.com/distribute ... ablet.html
http://developer.android.com/training/b ... t-lib.html

EDIT4: For dark css class

Code: Select all

table:not([class]){
   background: #111 !important;
}
Visit my blog for other applications.
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 »

Two questions:
When do you think this will replace the one up on the Android Market?
And who is the guy who is in charge of the LN database? I want to ask if he could change all the thumbnails to have a better resolution
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 »

ShadowfoxEX wrote:Two questions:
When do you think this will replace the one up on the Android Market?
We need to finalized the application name and icon first.
ShadowfoxEX wrote: And who is the guy who is in charge of the LN database? I want to ask if he could change all the thumbnails to have a better resolution
The DB have nothing to do with the thumbnails. We only parsing the wiki and get the provided thumbnail from there.
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 v20121012:
  • Add option to download full res images.
  • Update dark.css
  • Update link handling
APK: http://www.mediafire.com/?nbdphf864o993n1
Git: https://github.com/calvinaquino/LNReader-Android

Please provide your device and the android version, screen shot or step to replicate the problems. ADB log is appreciated.
Visit my blog for other applications.
User avatar
Simon
Editor-in-Chief
Posts: 508
Joined: Wed Dec 28, 2011 9:06 am
Favourite Light Novel:
Location: !=

Re: New Baka-Tsuki Android App: Development

Post by Simon »

Going to add 'id="nav"' to the navigation tables at the bottom of the novels.
Nandaka, you said you needed them indicated so you can remove them.
Btw, just now realized where I have seen that window knob.
ePUB Generator <<Productive>> : BTE-GEN | Yay, I'm free. Let's see how long it takes for this place to go down.
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 »

Simon wrote:Going to add 'id="nav"' to the navigation tables at the bottom of the novels.
Nandaka, you said you needed them indicated so you can remove them.
Yap, any element to be removed/hidden need an id or class, so I can override the style using CSS.
Simon wrote:Btw, just now realized where I have seen that window knob.
:)
Visit my blog for other applications.
User avatar
jomkingal
Devoted Haruhiist
Posts: 53
Joined: Tue Apr 17, 2012 1:58 pm
Favourite Light Novel: Haruhi Suzumiya (Series)*(Dropped), Sword Art Online*(Dropped), Mahouka Koukou no Rettousei, Highschool DxD, Hyouka, Mahouka Koukou no Rettousei, Date A Live, Campione, etc.
Location: Kawakami City
Contact:

Re: New Baka-Tsuki Android App: Development

Post by jomkingal »

I hope you could add an option to move downloaded data and app to external/internal sd. using LG Optimus L3 E400 Cyanogenmod 9 Android 4.0.4 Thanks! :) I love this app!! :)
Currently Reading Mahouka Koukou no Rettousei, High School DxD, Shinmai Maou no Keiyakusha.
Currently playing Majikoi! (series) *(at Chris Route), Dota 2.
Saenai Heroine no Sodatekata(Hope to see this Light Novel here at Baka-Tsuki, <3 Kasumigaoka Utaha-senpai~)

I love Kawakami Momoyo~ <3
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 v20121014:
  • Enable Move to SD Card in Android Apps Settings.
  • Refactor asynctask for novel content.
APK: http://www.mediafire.com/?45glxf8mljiy74c

EDIT TODO Parser:
- http://www.baka-tsuki.org/project/index ... Uta_Tsukai = no chapter because the list is inside a table.
- http://www.baka-tsuki.org/project/index ... um_2_Omake = no structure..
- http://www.baka-tsuki.org/project/index ... u_no_Index = New Testament Vol.4 , why table...
- http://www.baka-tsuki.org/project/index ... ano_Sonata = External link? Somehow teaser not parsed.
- http://www.baka-tsuki.org/project/index ... le=Maru-MA = different identifier with the title.
- http://www.baka-tsuki.org/project/index ... leidoscope = must check, not sure why vol.1 is not parsed.

- External link, e.g: Drrrr. I thinks there are more.
- Add extra info for Side story/spin off, e.g.: Index NT, Seitokai Mokushiroku?
- Template:Abandoned, e.g.: NHK e youkouzo.
Visit my blog for other applications.
User avatar
Simon
Editor-in-Chief
Posts: 508
Joined: Wed Dec 28, 2011 9:06 am
Favourite Light Novel:
Location: !=

Re: New Baka-Tsuki Android App: Development

Post by Simon »

One thing that is pretty painful at night.

When you have the "Invert Color" function turned on and you're in the Main Screen.
You can use the function "Jump to last read novel". While it's being executed, the screen turns white. And it feels like a flash bang at night.
ePUB Generator <<Productive>> : BTE-GEN | Yay, I'm free. Let's see how long it takes for this place to go down.
User avatar
jomkingal
Devoted Haruhiist
Posts: 53
Joined: Tue Apr 17, 2012 1:58 pm
Favourite Light Novel: Haruhi Suzumiya (Series)*(Dropped), Sword Art Online*(Dropped), Mahouka Koukou no Rettousei, Highschool DxD, Hyouka, Mahouka Koukou no Rettousei, Date A Live, Campione, etc.
Location: Kawakami City
Contact:

Re: New Baka-Tsuki Android App: Development

Post by jomkingal »

Yatta!~ Thanks for the update Nandaka! :3 I really hope i could help with the development somehow soon. :) Currently studying Java Programming. haha! :)
Currently Reading Mahouka Koukou no Rettousei, High School DxD, Shinmai Maou no Keiyakusha.
Currently playing Majikoi! (series) *(at Chris Route), Dota 2.
Saenai Heroine no Sodatekata(Hope to see this Light Novel here at Baka-Tsuki, <3 Kasumigaoka Utaha-senpai~)

I love Kawakami Momoyo~ <3
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 »

Simon wrote:One thing that is pretty painful at night.

When you have the "Invert Color" function turned on and you're in the Main Screen.
You can use the function "Jump to last read novel". While it's being executed, the screen turns white. And it feels like a flash bang at night.
This is because the HW acceleration being enabled, if it is turned off, the search highlighting doesn't work.
Visit my blog for other applications.
User avatar
Simon
Editor-in-Chief
Posts: 508
Joined: Wed Dec 28, 2011 9:06 am
Favourite Light Novel:
Location: !=

Re: New Baka-Tsuki Android App: Development

Post by Simon »

Nandaka ?
Do you use: ~/index.php?title= to get the content ?
Why not: ~/index.php?action=render&title= ?
Less garbage.
ePUB Generator <<Productive>> : BTE-GEN | Yay, I'm free. Let's see how long it takes for this place to go down.
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 »

Simon wrote:Nandaka ?
Do you use: ~/index.php?title= to get the content ?
Why not: ~/index.php?action=render&title= ?
Less garbage.
Noted. I'm using /index.php?title because easier to check the style in browser and I don't know the second one.

I thought the action=render belong to API, apparently not :). This one have smaller footprint.

Anyway also just realized, Sword Art Online: Material Editions << Why in h5 tag? better use h3 so can be parse as a book.
Visit my blog for other applications.
Post Reply

Return to “Developers and Code”