Weaknespase wrote:Tegra 2@1Ghz, i have somewhat an "iron" reasoning, because exactly same process in my implementation takes from 20 to 30 seconds at exactly same conditions on same device. How many titles at once this app sends to server in api request? Take a note, that server accepts up to 50 titles\pageids in single request.
Also, i'm using v1.1 from market, maybe it's simply an old version misbehave. (Some earlier versions makes a 8x requests for fetching this list )
Spoiler! :
If you want, i can donate lightweight implementation of html parser xD. It has almost all 1 level functional (guess i'm feeling lazy?) as well as some level 2 functions. Interface is like generic js DOM interface. On my device it works twice as fast as JSoup, though, it is really simple and probably has some bugs.
For the chapter list, it should fetch at least 50 page info in one go.
If you want to contribute, you can clone the repository, do your stuff, and create a pull request.
Weaknespase wrote:I know about custom CSS support (reading this thread sometimes). I think i got worked up for nothing (it's 6 mm wide, not a 1cm, also 5% from right + 5% from left = 10% ), but i feel that for smartphones paddings can be decreased, maybe 10dip?
lol... I feel like I got the Ring and I need to get to Mordor =P
I have recently pushed an update that adds margin preferences so you can adjust the margin that suits you.
On a side note: I wonder if the main link on the home page of Baka-Tsuki can be redirected to the BakaReader EX app in the play store or to this forum.
It seems like you guys work so hard to get this app out and updated, but the Baka-Tsuki main site is still redirecting traffic to the old version.
Thatdot7 wrote:lol... I feel like I got the Ring and I need to get to Mordor =P
I have recently pushed an update that adds margin preferences so you can adjust the margin that suits you.
Merged.
Thatdot7 wrote:On a side note: I wonder if the main link on the home page of Baka-Tsuki can be redirected to the BakaReader EX app in the play store or to this forum.
It seems like you guys work so hard to get this app out and updated, but the Baka-Tsuki main site is still redirecting traffic to the old version.
Im putting up on the market the current one as 1.1.1 and also
Uploading to github the updated version. No changes on my end, im kinda full of school stuff i didnt do on my break =D
In theory, practice and theory are the same.
but, practically, they arent.
I got a weird layout issue that just cropped up today. The unfinished volumes in the series that I'm reading are being duplicated but when you try to view the volume it doesn't contain anything and is grayed out.I tried to email the dev but my email bounced back undelivered. I took a screenshot so hopefully it helps.Rebooting my galaxy nexus or nexus 7 doesn't fix the issue.Thanks.
looks pretty neat with the static top bar. the only thing I noticed in this version, is that the menu that pops up after long press on novel/volume/chapter has the font color black on the dark theme so yeah...^_^*
tabs05 wrote:I got a weird layout issue that just cropped up today. The unfinished volumes in the series that I'm reading are being duplicated but when you try to view the volume it doesn't contain anything and is grayed out.I tried to email the dev but my email bounced back undelivered. I took a screenshot so hopefully it helps.Rebooting my galaxy nexus or nexus 7 doesn't fix the issue.Thanks.
Not a bug, it is because they change the references (add title) so the application cannot found the parent (volumes) and the chapter is moved to the new parent (volumes with title on it).
You need to manually delete the old empty volumes.
tabs05 wrote:I got a weird layout issue that just cropped up today. The unfinished volumes in the series that I'm reading are being duplicated but when you try to view the volume it doesn't contain anything and is grayed out.I tried to email the dev but my email bounced back undelivered. I took a screenshot so hopefully it helps.Rebooting my galaxy nexus or nexus 7 doesn't fix the issue.Thanks.<Big image>
Redownload the novel info.
In theory, practice and theory are the same.
but, practically, they arent.
I made a pull request to GitHub today. I was wondering if you guys test it and give your opinion.
Here is the meat of the changes.
NOTE: I did not do anything to the original files that were in 1.1.1 (except for 1, will explain later). Everything done here can be accessed with the extra buttons on the main menu.
Fragment + Tablet UI
The meat of the update is that all the activity that housed the tabs/novel list/novel details have been changed to fragments.
The advantages of this is that you can readily move around these lists/details/tabs freely if you wish to change the UI in the future.
NOTE: the fragment containing the tabs will always display the other novel lists directly below it.
In the code I pushed, there are 2 layouts contained in "Test" and "Test 2" in the Main menu:
"Test"
This is basically what Nandaka suggsted.
In the novel listing area. When the tablet is on landscape, there will be 2 panes.
Left Panel = Tabs + novel list
Right Panel = Synopsis + chapter list
When a novel is pressed, the right panel will change to the respective synopsis/chapter list.
Once a chapter from the right pane is selected, it will go straight into the reader.
"Test 2"
I had a little think about what Erakk suggest, with shifting panes.
I was thinking that it would be a little bit crazy on the "back stack" (it will only change 1 pane at a time when the user presses "back"). Though, there is probably a way to get around that.
Till then, I made something similar. This consist of 2 area. 1 for the novel listing, 1 for the details. Novel List Area
Left Panel = nothing (yet)
Right Panel = Tabs + novel list
Novel Details
Left Panel = Synopsis
Right Panel = Chapter list
With these, there is a sliding transition between the 2 activities.
I have omitted the "Manual Add" and "Download All" functions from the overflow menu in these tests.
I will post a video soon about the purposed changes (as you can't really test this if you don't have a tablet device).
Updates:
- Refactor and update consolidated notification to reuse the id (no duplicated of update notification).
- Update onOptionsItemSelected method for resolving current activity because of SherlockActivity.
- Update ParseNovelList method to remove anchor/param from page name and reduce http request by using getUpdateInfo.
This reduce the request from 80 (every novel) to at least 2 request (API limit = 50 and url param limit = 2000char)
A few questions regarding how to download a massive number of updates to chapters without it being too much of a bother.
I tend to have a lot of novels in my watch list because that's where i put all the ongoing series i'm reading (a lot) and even a few finished ones that i liked. So for example i did run an update this week-end (last one being a week ago) and got hit by ~6 new chapters and ~200 updates. For new or updated chapters where the translation is published in stages i can download them as i read them, however most of those are minor edits done to clarify/improve the translation, which are nice to have but won't be enough motivation to make me want to read the chapter/book again.
As far as i can see, i've got two possibilities to make sure i've got the latest versions on local :
- redownload the full watch list (both things that were changed and things that were not), long and inefficient network wise though easy for the user (except for the time it'll take)
- download each changed chapter manually (or the full book if many chapters in a novel were changed): long and annoying for the user (and still not an optimal use of network)
I might have missed it but haven't seen a way that would allow me to launch a task to redownload only the chapters which were flagged as updated for the full watch list.
* Would it be possible to implement such a possibility ?
* Also regarding the display of all those updates in the window listing all the new updates, it's mostly unreadable when going on for over 200 lines. Having the same structure as in the watch list would be much more practical (or whatever way to group them by serie and possibly by book, with options to download all updated and/or new chapters for that serie or for that book).
* Being able to mark as read a full serie in one go (from the watch list menu) would also be nice, for example when i need to redownload the 30 volumes of the Index serie.
* And lastly, i saw that all series in the teasers section are being shown with "Last Update: 43 years ago". Only seems to affect the serie itself, getting in one of them all chapters seem to have a normal Last Update value. I'm using a Samsung Galaxy Ace and the last version published on Android market (as i'm on auto update).
Dje wrote:A few questions regarding how to download a massive number of updates to chapters without it being too much of a bother.
I tend to have a lot of novels in my watch list because that's where i put all the ongoing series i'm reading (a lot) and even a few finished ones that i liked. So for example i did run an update this week-end (last one being a week ago) and got hit by ~6 new chapters and ~200 updates. For new or updated chapters where the translation is published in stages i can download them as i read them, however most of those are minor edits done to clarify/improve the translation, which are nice to have but won't be enough motivation to make me want to read the chapter/book again.
As far as i can see, i've got two possibilities to make sure i've got the latest versions on local :
- redownload the full watch list (both things that were changed and things that were not), long and inefficient network wise though easy for the user (except for the time it'll take)
- download each changed chapter manually (or the full book if many chapters in a novel were changed): long and annoying for the user (and still not an optimal use of network)
I might have missed it but haven't seen a way that would allow me to launch a task to redownload only the chapters which were flagged as updated for the full watch list.
* Would it be possible to implement such a possibility ?
* Also regarding the display of all those updates in the window listing all the new updates, it's mostly unreadable when going on for over 200 lines. Having the same structure as in the watch list would be much more practical (or whatever way to group them by serie and possibly by book, with options to download all updated and/or new chapters for that serie or for that book).
* Being able to mark as read a full serie in one go (from the watch list menu) would also be nice, for example when i need to redownload the 30 volumes of the Index serie.
* And lastly, i saw that all series in the teasers section are being shown with "Last Update: 43 years ago". Only seems to affect the serie itself, getting in one of them all chapters seem to have a normal Last Update value. I'm using a Samsung Galaxy Ace and the last version published on Android market (as i'm on auto update).
Very good ideas you got there =) We will surelly take a look into it. But the update should take care of it automatically, unless i am missing something.
We will take a loot at the update date bug. 43 years is quite... some time. =D
In theory, practice and theory are the same.
but, practically, they arent.