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

Hmmm.... Before in the app, you only got updates on the last novel on your watchlist which was bad.
But in the new version its fixed which is good.

The problem was when I got about 45 notifications about updates. Not only was it over the top but it caused the app to lag and I had to force close it. Its not that big of a deal and I'm actually wondering if there's a workaround for it...
Any ideas?

It seems that everytime I run an update I get one for EVERY CHAPTER in my watchlist.... Either Baka Tsuki had a huge editing spree or its the app.

http://db.tt/M171tCTZ
And here's a logcat file of the app overloading my phone with notifications.
That's just the tip the iceberg. I'm actually sure I had to close over 400 notifications...
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 »

Bloodscythe wrote:The problem was when I got about 45 notifications about updates. Not only was it over the top but it caused the app to lag and I had to force close it. Its not that big of a deal and I'm actually wondering if there's a workaround for it...
Any ideas?
Most likely I will move the notification to use custom activity like in DownloadList/BookmarkList style, so it doesn't clutter the notification area, e.g.: Only have 1 notification and when it tapped it will show the activity listing the updated/new chapter inside the application. (https://github.com/calvinaquino/LNReade ... t-12247209)

: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:
Bloodscythe wrote:The problem was when I got about 45 notifications about updates. Not only was it over the top but it caused the app to lag and I had to force close it. Its not that big of a deal and I'm actually wondering if there's a workaround for it...
Any ideas?
Most likely I will move the notification to use custom activity like in DownloadList/BookmarkList style, so it doesn't clutter the notification area, e.g.: Only have 1 notification and when it tapped it will show the activity listing the updated/new chapter inside the application. (https://github.com/calvinaquino/LNReade ... t-12247209)

:D
Then, ill get on implementing the Notifications List (a copy of Download List)
I guess ill put an option to show/hide download technical info...

Any feedback on visual changes? Like, do you want to be able to hide something or change something back the way it was?
Is there someone testing on small screens? These test versions, although they support any screens, may seem weird on small screens (i am using my SGS3 as a template for screen and 480x800 from the simulator).

@Nandaka i was thinking of creating a new WebViewClient to handle external views, what do you think? Instead of opening the Internet Browser. In that regard, we can respond to Jump To, Next, Previous, and we dont need to store the page.
We also can track if the user scrolled to the bottom to set state.READ and also Resume reading an external novel... but thats an idea.
In theory, practice and theory are the same.
but, practically, they arent.
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 »

I'm using a small screen with a horrific screen resolution of 240x320p. So far I don't see anything strange with the screen. Nothing out of the ordinary.

Hmmm.... visual changes, huh? Well, the original light novels list is really just taking up space in the main menu, only 3 novels, gee.
How about just 1 novel list where you can swipe left/right to go to a different tab? containing the teasers/original. I really have no idea how this will impact on anything. Just throwing ideas out.

Also, I've had this for a long time coming, is there some sort of function you can create where you can move to top of chapter quickly? This is because I re-read novels and, lo and behold, I'm at the bottom of the chapter whenever I do so, resulting in a ton of unnecessary exercise for my poor finger. or thumb, if you want to be a graphic calculator and say it isn't a finger...
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 »

Bloodscythe wrote:I'm using a small screen with a horrific screen resolution of 240x320p. So far I don't see anything strange with the screen. Nothing out of the ordinary.

Hmmm.... visual changes, huh? Well, the original light novels list is really just taking up space in the main menu, only 3 novels, gee.
How about just 1 novel list where you can swipe left/right to go to a different tab? containing the teasers/original. I really have no idea how this will impact on anything. Just throwing ideas out.

Also, I've had this for a long time coming, is there some sort of function you can create where you can move to top of chapter quickly? This is because I re-read novels and, lo and behold, I'm at the bottom of the chapter whenever I do so, resulting in a ton of unnecessary exercise for my poor finger. or thumb, if you want to be a graphic calculator and say it isn't a finger...
@Screen: good to know =)

@Visual changes: That is actually a terrific idea. I just implemented something like that on my work, like the Play Store. I was thinking of a way to implement on this app.
I predict its not that difficult to implement with the current code BUT, i dont know how it will impact older versions. (well, they have a support library so it might be fine)

@Back to Top: well, not hard to implement.. i just need to a way to put this option in there...
I am checking gestures so maybe ill add gesture to go to next or back (swipe right or left) and to go to top/bottom (two finger swipe down/up)... Maybe.
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 »

New build 28:
https://www.dropbox.com/s/jogl04j163zo3 ... tivity.apk

changes since last build:
- Novels, Teasers and Original novels lists are all shown under "Light Novels", separated by tabs.
- Added option to enable auto downloading an undownloaded chapter on the download list "Touch for Download". default is False/Off
In theory, practice and theory are the same.
but, practically, they arent.
Azyrion
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

Post by Azyrion »

Erakk wrote:New build 28:
https://www.dropbox.com/s/jogl04j163zo3 ... tivity.apk

changes since last build:
- Novels, Teasers and Original novels lists are all shown under "Light Novels", separated by tabs.
- Added option to enable auto downloading an undownloaded chapter on the download list "Touch for Download". default is False/Off
can neither see or change the tab. I only got a black bar on top of the list.

LG E510 Optimus Hub. Screensize 320x480
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 »

Azyrion wrote:
Erakk wrote:New build 28:
https://www.dropbox.com/s/jogl04j163zo3 ... tivity.apk

changes since last build:
- Novels, Teasers and Original novels lists are all shown under "Light Novels", separated by tabs.
- Added option to enable auto downloading an undownloaded chapter on the download list "Touch for Download". default is False/Off
can neither see or change the tab. I only got a black bar on top of the list.

LG E510 Optimus Hub. Screensize 320x480
Android version?
In theory, practice and theory are the same.
but, practically, they arent.
Azyrion
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

Post by Azyrion »

oh yeah^^* android 2.3.6 rooted
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 »

Confirmed, i simulated on 2.2 also and it's all black... well gotta find the culprit, thanks for the feedback Azyrion!
In theory, practice and theory are the same.
but, practically, they arent.
Azyrion
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

Post by Azyrion »

glad to be of help^^

and on another note:
do we have a sudden rise of editors that goes through all the LN we have? I always get like 40+ on notifications.
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 »

Azyrion wrote:glad to be of help^^

and on another note:
do we have a sudden rise of editors that goes through all the LN we have? I always get like 40+ on notifications.
No, just like you I get about 300 notifications EVERYTIME I run an update. If I run an update, close all resulting notifications and run update again, I'll still get the same vast number of notifications. I'm pretty sure its a bug.
Also, now the main menu is looking empty, hahaha. Could you put back settings into the main menu? Not only will it fill up the menu list but I'm sure people new to the app won't know where the settings is, so this will make them notice it, right?
Besides, settings are always in main menus.
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 »

@Notifications issue: Is being looked at.
We are considering using a internal list like the download list to show updates, and only show ONE notification no matter how many updates.

@Empty Main Menu: Yep, i though the same... might add Settings back.

@Blacked Tab Bars: I still don't know the problem...
Last edited by Erakk on Tue Jan 15, 2013 5:33 pm, edited 1 time in total.
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:@Nandaka i was thinking of creating a new WebViewClient to handle external views, what do you think? Instead of opening the Internet Browser. In that regard, we can respond to Jump To, Next, Previous, and we dont need to store the page.
We also can track if the user scrolled to the bottom to set state.READ and also Resume reading an external novel... but thats an idea.
Sure, I think you can just load the url using the same WebView in that activity.
Erakk wrote:@Blacked Tab Bars: I still don't know the problem...
Are you using ActionBar for the Tab? ActionBar only supported in Android 3.x and up.
Erakk wrote:@Notifications issue: Is being looked at.
We are considering using a internal list like the download list to show updates, and only show ONE notification no matter how many updates.
Any changes on Wiki revision date will be counted as update, even if there is no content changes. This is from Wiki API. Btw, what is the affected novel name? Maybe you can check on the History in the website.
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:Are you using ActionBar for the Tab? ActionBar only supported in Android 3.x and up.
No, i am using tabWidget/TabHost for the sake of compatibility.

EDIT: gitHub updated.

APK:
https://www.dropbox.com/s/jogl04j163zo3 ... tivity.apk
In theory, practice and theory are the same.
but, practically, they arent.
Post Reply

Return to “Developers and Code”