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

Where is GTO and TLG...
ePUB Generator <<Productive>> : BTE-GEN | Yay, I'm free. Let's see how long it takes for this place to go down.
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 »

Could you make the zoom bar something like "tap to show"? It gets in the way of scrolling sometimes, and when I get to the end, it blocks the button to go to the next chapter a lot.
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:Could you make the zoom bar something like "tap to show"? It gets in the way of scrolling sometimes, and when I get to the end, it blocks the button to go to the next chapter a lot.
It should auto hide after you do the zoom. What is your android version?
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 v20121016:
  • Update parser, see readme.txt in GitHub for more details.
APK: http://www.mediafire.com/?12a1pqjygw6s9d1
GitHub: https://github.com/calvinaquino/LNReader-Android
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:It should auto hide after you do the zoom. What is your android version?
It does auto hide, but that's when I'm not touching the screen. It always reappears when I touch the screen to scroll. It reappears any time I touch the screen really. And then I have to wait until it goes away :/
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:
Nandaka wrote:It should auto hide after you do the zoom. What is your android version?
It does auto hide, but that's when I'm not touching the screen. It always reappears when I touch the screen to scroll. It reappears any time I touch the screen really. And then I have to wait until it goes away :/
I can hide the zoom controls and you still able to pinch to zoom, but only works in android HoneyComb or newer.

No way to hide the zoom control but allow you to zoom before HoneyComb.
Visit my blog for other applications.
User avatar
S.O.
Astral Realm

Re: New Baka-Tsuki Android App: Development

Post by S.O. »

Would it be possible to have an option disabling zoom? I really like the straightforward operation of this application, but accidentally zooming text is not productive for reading.
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 »

Hi Nandaka! :) I tried the last update and moved the app to SD but i noticed that it still saves some downloaded files to "Data" which eats a lot of Internal Memory... :( Is it possible to save all the downloaded files on "SD Card" so that it would consume less memory on Internal Memory? :)
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:Hi Nandaka! :) I tried the last update and moved the app to SD but i noticed that it still saves some downloaded files to "Data" which eats a lot of Internal Memory... :( Is it possible to save all the downloaded files on "SD Card" so that it would consume less memory on Internal Memory? :)

That's weird, because all the downloaded files (besides the text, which is saved to db) is saved to external storage.

You can check it in this line: https://github.com/calvinaquino/LNReade ... s.java#L22

Code: Select all

 public static final String IMAGE_ROOT = Environment.getExternalStorageDirectory().getAbsolutePath().toString() + "/Android/data/" + Constants.class.getPackage().getName() + "/files"
Can you provide the IMAGE_ROOT being resolved to? Mine is goes to /sdcard/Android/data/com.erakk.lnreader/files/.
I need your phone model and android version.
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, i see. I'm gonna try reformatting and reinstalling the app. There might be some data left from before the update. I'm gonna post later the results. :) By the way, I'm using LG Optimus L3 E400 Cyanogenmod 9 Nightly Android 4.0.4.
Edit: The place where the image gets save is the same as yours. at /sdcard/Android/data/com.erakk.lnreader/files/ but the images are the only ones saved there. is there a way to save the text also in there?
Last edited by jomkingal on Fri Oct 19, 2012 6:52 am, edited 1 time in total.
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 for v20121019
  • Add option to disable zoom
  • Show the default save location on settings, the base path is from Environment.getExternalStorageDirectory().getAbsolutePath().toString()
  • Refactor DisplayImageActivity and DisplayLightNovelContentActivity
APK: http://www.mediafire.com/?am8i0mf6fv7fllh
Full History: https://github.com/calvinaquino/LNReade ... its/master

Can someone create a new icon for the application? You can put it in viewtopic.php?f=1&t=5487
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 tried reinstalling and downloaded high school dxd and sword art online, it ate 10 mb for the thumbs which were stored on sd and 10 mb for the text which is stored in data. Can you put an option that saves text in sd too? Haha! Because my device only have 100mb user internal memory. Haha! :) sorry for the trouble. :)
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:Okay. I tried reinstalling and downloaded high school dxd and sword art online, it ate 10 mb for the thumbs which were stored on sd and 10 mb for the text which is stored in data. Can you put an option that saves text in sd too? Haha! Because my device only have 100mb user internal memory. Haha! :) sorry for the trouble. :)
If you click the Move to SD Card, it should move the database files too, you can verify it by browsing to the sdcard location.
Once you move it, the db also should be moved to the sdcard.

Default database location is on /data/data/com.erakk.lnreader/databases/pages.db, can you check the file size?
Default files location is on /mnt/sdcard/Android/data/com.erakk.lnreader/files/*, can you also check the folder size?
You can use ES File Explorer to check.

EDIT: you can check where it saved the images files from Settings -> Storage .
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 already moved it to sd. I can confirm that the images are stored in /mnt/sdcard/Android/data/com.erakk.lnreader/files/*, and the size is 5.23 MB. Then i checked /data and there is no content. Its empty. :( but I am sure that i moved the app to sd card. :( btw, i also use ES File Explorer. :) Here's the App info:
Total 23.50 MB
App 724 KB
USB Storage App 2.06 MB
Data 10.36 MB
SD Card 10.38 MB
- i just downloaded the complete ln list, download all Sword art online, and High school DxD. hi-res images download is disabled.
- still using cm9 nightly Android 4.0.4 for LG Optimus L3 E400
oh dude... what should i do.... :'( i really love using 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 »

jomkingal wrote:I already moved it to sd. I can confirm that the images are stored in /mnt/sdcard/Android/data/com.erakk.lnreader/files/*, and the size is 5.23 MB. Then i checked /data and there is no content. Its empty. :( but I am sure that i moved the app to sd card. :( btw, i also use ES File Explorer. :) Here's the App info:
Total 23.50 MB
App 724 KB
USB Storage App 2.06 MB
Data 10.36 MB
SD Card 10.38 MB
- i just downloaded the complete ln list, download all Sword art online, and High school DxD. hi-res images download is disabled.
- still using cm9 nightly Android 4.0.4 for LG Optimus L3 E400
oh dude... what should i do.... :'( i really love using this app...
what about the /data/data/com.erakk.lnreader/databases/ ? it should only contains pages.db and webview caches.
is there any files in /mnt/sdcard/Android/data/com.erakk.lnreader/ folders?
Visit my blog for other applications.
Post Reply

Return to “Developers and Code”