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 »

Tester-kun forced Developer-san to make changes... how was the vacation, DB-chan ?
Last edited by Simon on Sun Jan 13, 2013 5:46 pm, edited 2 times in total.
ePUB Generator <<Productive>> : BTE-GEN | Yay, I'm free. Let's see how long it takes for this place to go down.
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 »

damn repost...
ePUB Generator <<Productive>> : BTE-GEN | Yay, I'm free. Let's see how long it takes for this place to go down.
User avatar
Erakk
Digitalizer Editor
Posts: 152
Joined: Sat Jan 21, 2012 3:12 am
Favourite Light Novel:

Re: New Baka-Tsuki Android App: Development

Post by Erakk »

Nandaka wrote:Tadaima!

Back from the vacation, a lot of changes here and there I see!

@erakk: the latest code is uploaded to GitHub? Including your test code? or do you create a test branch?

@regarding AsyncTask: I'm using thread pool rather than single thread for the newer android, this should not be problem (?)

I'm using a tablet, but not much differences on UI.
Okaeri!

Some of it is. not the "Latest" changes. i'll upload mine now.
No branch created. I am also updating the Readme with the tasks.
Feel free to change anything that you feel necessary.

EDIT: uploaded. GitHub is up to date.
In theory, practice and theory are the same.
but, practically, they arent.
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 »

Updates:
- Remove unnecessary @Override
- fix crash when loading novel on Android < JELLY_BEAN, @Erakk: ImageView.setBackground() only available on Jelly Bean and up, you should check the API level :D

Will updates on the go.
Visit my blog for other applications.
User avatar
Erakk
Digitalizer Editor
Posts: 152
Joined: Sat Jan 21, 2012 3:12 am
Favourite Light Novel:

Re: New Baka-Tsuki Android App: Development

Post by Erakk »

Nandaka wrote:Updates:
- Remove unnecessary @Override
- fix crash when loading novel on Android < JELLY_BEAN, @Erakk: ImageView.setBackground() only available on Jelly Bean and up, you should check the API level :D

Will updates on the go.
I did that check, but i think it didnt went through on my first pull.
Check the second pull where i changed the versioning.

Question: Are we using downloadCallBack? if would be interesting to use that on the download List activity to get the actual file/download size instead of the parts being downloaded...
In theory, practice and theory are the same.
but, practically, they arent.
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 »

Erakk wrote:Question: Are we using downloadCallBack? if would be interesting to use that on the download List activity to get the actual file/download size instead of the parts being downloaded...
Only if we downloading a file (Images). For Novel parsing, no available file size as I'm using the given method from JSoup.

Edit:
Update
- remove unnecessary import.
- Add update service to download list.
- Add status message in download list.
- Fix issue #21: https://github.com/calvinaquino/LNReade ... /issues/21
Visit my blog for other applications.
User avatar
Lery
I.D.S.E Humanoid Interface [LSB]
Posts: 3343
Joined: Sun Nov 11, 2012 3:23 pm
Favourite Light Novel: Ahouka!
Location: Switzerland

Re: New Baka-Tsuki Android App: Development

Post by Lery »

Hello ^^

So I downloaded your app to test it.

I tried to manually add "Sword Art Online" french project to my Light Novels list and... it crashed! Well, I read somewhere it was normal, so I didn't care, reboot the app and then~~~ it was there, in the list. :D
But when I clicked it, it was almost empty. :?

It does only show the first paragraph and the cover... no band, no chapter, nothing else.
Is that normal? Do we do something wrong with our french project?

I though it would at least show the first tome...
Wiki user : Lery (talk)

Sysadmin, sometimes.
User avatar
Erakk
Digitalizer Editor
Posts: 152
Joined: Sat Jan 21, 2012 3:12 am
Favourite Light Novel:

Re: New Baka-Tsuki Android App: Development

Post by Erakk »

Small update
- small redesign on main menu
- added download list as submenu on all pages
- some naming fixes/renaming
- message when you leave content about Resume Novel (old Jump To Last Read)

up to date apk Link:
https://www.dropbox.com/s/jogl04j163zo3 ... tivity.apk
In theory, practice and theory are the same.
but, practically, they arent.
User avatar
Erakk
Digitalizer Editor
Posts: 152
Joined: Sat Jan 21, 2012 3:12 am
Favourite Light Novel:

Re: New Baka-Tsuki Android App: Development

Post by Erakk »

Lery wrote:Hello ^^

So I downloaded your app to test it.

I tried to manually add "Sword Art Online" french project to my Light Novels list and... it crashed! Well, I read somewhere it was normal, so I didn't care, reboot the app and then~~~ it was there, in the list. :D
But when I clicked it, it was almost empty. :?

It does only show the first paragraph and the cover... no band, no chapter, nothing else.
Is that normal? Do we do something wrong with our french project?

I though it would at least show the first tome...
You added manually the french one corrent?
I am going to verify.

Crashing, although its wrong, will still fetch the novel.

EDIT: Confirmed. i'll look into it. If i am not mistaken, the parser might have dificulties with different languages because of special characters...
In theory, practice and theory are the same.
but, practically, they arent.
User avatar
Lery
I.D.S.E Humanoid Interface [LSB]
Posts: 3343
Joined: Sun Nov 11, 2012 3:23 pm
Favourite Light Novel: Ahouka!
Location: Switzerland

Re: New Baka-Tsuki Android App: Development

Post by Lery »

Yep, I though it may have been something like that.
Hope you find it out. Anyway, it's not very important I guess : there aren't a lot of foreign language project which are consequent.
Wiki user : Lery (talk)

Sysadmin, sometimes.
Bloodscythe
Haruhiist Disciple
Posts: 63
Joined: Fri Dec 14, 2012 1:50 pm
Favourite Light Novel:

Re: New Baka-Tsuki Android App: Development

Post by Bloodscythe »

About the new toast notification for resuming a novel. It pops up whenever you leave.
All the time. When using next/previous, going to settings etc.
Also, toast notifications puts a bit of a strain on the phone resources. So there's a bit of lag when leaving a novel.
Could you please put in a way to disable the toast notification?
User avatar
Erakk
Digitalizer Editor
Posts: 152
Joined: Sat Jan 21, 2012 3:12 am
Favourite Light Novel:

Re: New Baka-Tsuki Android App: Development

Post by Erakk »

Lery wrote:Yep, I though it may have been something like that.
Hope you find it out. Anyway, it's not very important I guess : there aren't a lot of foreign language project which are consequent.
Although it's kind of difficult to support other languages, we want to, even if the user has to do a small effort in the beggining.

@Bloodscythe
Removed. it's damn annoying.
https://www.dropbox.com/s/jogl04j163zo3 ... tivity.apk
In theory, practice and theory are the same.
but, practically, they arent.
User avatar
Erakk
Digitalizer Editor
Posts: 152
Joined: Sat Jan 21, 2012 3:12 am
Favourite Light Novel:

Re: New Baka-Tsuki Android App: Development

Post by Erakk »

Updated test version:
- Add Orignal Light Novels List
- Teaser and Original list to use Download List Model
- Clicking an undownloaded chapter will add it to the download list if it hasn't been downloaded. If it's already downladed, will open normally.

https://www.dropbox.com/s/jogl04j163zo3 ... tivity.apk
In theory, practice and theory are the same.
but, practically, they arent.
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 »

Erakk wrote:Updated test version:
Uploaded to Git? Anyway, it is better to upload the source as long it can be compiled and running as soon as possible so it is easier to merge :D, and if there is any error, we can just rollback to the last commit :D
Visit my blog for other applications.
User avatar
Erakk
Digitalizer Editor
Posts: 152
Joined: Sat Jan 21, 2012 3:12 am
Favourite Light Novel:

Re: New Baka-Tsuki Android App: Development

Post by Erakk »

Nandaka wrote:
Erakk wrote:Updated test version:
Uploaded to Git? Anyway, it is better to upload the source as long it can be compiled and running as soon as possible so it is easier to merge :D, and if there is any error, we can just rollback to the last commit :D
Uploaded. I am having internet problems at the moment...
That's why it took soo long.
Last edited by Erakk on Mon Jan 14, 2013 6:23 pm, edited 1 time in total.
In theory, practice and theory are the same.
but, practically, they arent.
Post Reply

Return to “Developers and Code”