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

The data folder under root doesn't contain anything... but the images are stored in mnt/sdcard/.... there's no /data/data/com.erakk.lnreader/ directory and no database files... :(
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 »

jomkingal wrote:The data folder under root doesn't contain anything... but the images are stored in mnt/sdcard/.... there's no /data/data/com.erakk.lnreader/ directory and no database files... :(
If there is no /data/data/com.erakk.lnreader/, then the data shouldn't be in the internal memory. Can you search for pages.db? This is the db where I store the text. I suspect the db also in the /mnt/sdcard/Android/data/com.erakk.lnreader/databases or somewhere.
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 »

oh man... I searched the root for pages.db... it didn't show up... also, /mnt/sdcard/Android/data/com.erakk.lnreader/ folder only contains /files/project/ and 2 folders inside. /images/ and /skins/... :( no database folders....
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
ben1234
Lord Temporal Duke
Posts: 3928
Joined: Wed Jan 10, 2007 12:03 pm
Favourite Light Novel: Ahouka!
Location: Vancouver, B.C. Canada

Re: New Baka-Tsuki Android App: Development

Post by ben1234 »

Moving the app to the SD card doesn't move the databases folder to the SD card with it for me either.

I'm doing some quick comparisons with the internal and external folders and I'm not seeing a difference when I "move" to SD card.
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 »

Based on Android SDK documentation (http://developer.android.com/guide/topi ... ation.html):
The .apk file is saved on the external storage, but all private user data, databases, optimized .dex files, and extracted native code are saved on the internal device memory.
I'll check if it is possible to move the db to external memory, probably need some code to handle this.

EDIT: for my reference: http://stackoverflow.com/questions/5332 ... -path-name
Last edited by Nandaka on Sun Oct 21, 2012 5:16 am, edited 1 time in total.
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 »

Thanks man. haha! didn't know that it was too much trouble. :( anyway, i'll think of some cool options that you could add to the app sometime. :) ja ne!~
Edit: the lnreader unexpectedly stops when updating automatically. It happens when there is new update. Is it just me?
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 »

Any error messages?
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 »

it says "LNReader unexpectedly stopped" then the update still appears on the notification pane. and when you open the notification, it opens normally.
//================
another crashing problem is that when you open a not downloaded chapter in the chapter list, the LNReader crashes.
another thing when you clear the images and novel database, there appears a message box that says LNReader is not responding but when you press wait, LNReader continues functioning like nothing happened. :)
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 »

jomkingal wrote:it says "LNReader unexpectedly stopped" then the update still appears on the notification pane. and when you open the notification, it opens normally.
This need the ADB log, can you provide the step by step to replicate the error?
jomkingal wrote:another crashing problem is that when you open a not downloaded chapter in the chapter list, the LNReader crashes.
This is weird, mine is just open and try to download the chapter.
jomkingal wrote:another thing when you clear the images and novel database, there appears a message box that says LNReader is not responding but when you press wait, LNReader continues functioning like nothing happened
This is normal, as currently I don't show a dialog box to mention the deletion is still in process.

Anyway you can post an issue through https://github.com/calvinaquino/LNReade ... id/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 »

Change log for v20121022:
  • Add Baka-Tsuki:Copyright in Settings
  • Refactor DisplayLightNovelDetailsActivity.
  • Hide preview table to avoid FC because of heap grow caused by animated gif (ZnT vol3ch1).
  • Change Alarms to use set, rather than setInterval to avoid duplicated alarms when application is restarted.
APK: http://www.mediafire.com/?c8zy5vkvq4x0tcv

Put issues in https://github.com/calvinaquino/LNReader-Android/issues with your device model, android version, and step to replicate the error.
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 »

okay. i'm gonna try to recreate the problem on the latest update. gonna post on the page probably this week. haha! :3 ja ne!~
another problem: can you put a keep screen on option? it seems that whenever i download a light novel, when the screen timeouts, the download unexpectedly stops. :( try setting your screen timeout to 30 seconds then download a light novel(i downloaded high school dxd and sword art online) then while downloading, the screen turns off, then when you press the home button to see what's happening, you will notice that the download isn't responding anymore. it's stuck on the last image or text it has been downloading. :(
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
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 »

You know what, just remove the zoom buttons entirely. It's good enough to pinch-to-zoom, we dont need a button.

As for the alarms change, does that mean that it wont vibrate and/or chime for like a few seconds when it "updates" 30 chapters at once and then gives a notification for each of them?
User avatar
ben1234
Lord Temporal Duke
Posts: 3928
Joined: Wed Jan 10, 2007 12:03 pm
Favourite Light Novel: Ahouka!
Location: Vancouver, B.C. Canada

Re: New Baka-Tsuki Android App: Development

Post by ben1234 »

I personally like having buttons to zoom with. Have that as an option in the settings?
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 »

Button or no button, that is the question.
Probably I'll create an option to hide the zoom button, please note zoom button hiding only work on Android Honeycomb+.
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 »

Nandaka wrote: Probably I'll create an option to hide the zoom button, please note zoom button hiding only work on Android Honeycomb+.
Or, Or, you could move the zoom button, like on the middle of the right side rather than the bottom (then rotate it if it gets in the way)
Post Reply

Return to “Developers and Code”