Re: Official Baka-Tsuki Android App: BakaReader Available no
Posted: Sun Aug 12, 2012 11:50 am
by Erakk
The Cover Image is not being downloaded first it seems, since its returning null/empty bitmap.
I setup a expandableListView under Synopsys so you can ditch the chapters in sublists under the volume.
i also created a customLayout (novel_list_item i think) to show up a checkBox (id/novel_is_watched) so we can choose to set it to watchlist.
It just needs to be hooked to the listbuilder (im not good with adapters yet)
Ill be creating the watch list later, removing the store_images preferences since its useless.
Maybe look into presenting the synopsys/chapters the same way we present the novelList (asynchronously, with the progressBar2 (circle loading animation)
EDIT:
added menu options:
you can now go directly from (at the moment, almost) anywhere to settings screen.
Main menu has "Go to last read" wich will open the last chapter read.
(not fully implemented yet, but it alread responds)
Watch List now has "loading content" + progress bar ready AND is listView ready.
Re: Official Baka-Tsuki Android App: BakaReader Available no
Posted: Sun Aug 12, 2012 5:05 pm
by Nandaka
>> The Cover Image is not being downloaded first it seems, since its returning null/empty bitmap.
welp, can you check the adb and see what is the debug log? probably timed-out
Re: Official Baka-Tsuki Android App: BakaReader Available no
Posted: Sun Aug 12, 2012 5:13 pm
by KuroiHikari
Are you going to grab the image generated by the server as a thumbnail(part of the html), or going to grab the original un-resized image?
Re: Official Baka-Tsuki Android App: BakaReader Available no
Posted: Sun Aug 12, 2012 6:13 pm
by Erakk
Nandaka wrote:>> The Cover Image is not being downloaded first it seems, since its returning null/empty bitmap.
welp, can you check the adb and see what is the debug log? probably timed-out
That's what it seems, since sometimes it shows the image...
But by the log it seems it does, but my toast seems to show its empty.
This is what i get from 7_Nights, wich is not showing the image:
this is what i get for Chrome Shelled Regios, wich IS showing the image:
* i deleted these calls because they were the same and too much (and chapter listing too)
@Erakk:
can you clear the db and see the log after the insert novel details or do step @line 135 in NovelsDao and check the result.
btw, what IDE and git client you are using? somehow the diff is always replacing the whole code from me (see https://github.com/calvinaquino/LNReade ... 5686b3cb8b in the DownloadFileTask.java actually only add this line:
Re: Official Baka-Tsuki Android App: BakaReader Available no
Posted: Sun Aug 12, 2012 7:12 pm
by Erakk
I noticed it too, its replacing the whole file for simple edits...
Im using Windows 7 Ultimate 64 With Eclispe Juno and the latest Android SDK, testing on my Samsung Galaxy SII
im using the GitHub for Windows to acces the github.
Re: Official Baka-Tsuki Android App: BakaReader Available no
Posted: Sun Aug 12, 2012 7:22 pm
by ben1234
Do you have the original apk decompiled for reference?
Re: Official Baka-Tsuki Android App: BakaReader Available no
Posted: Sun Aug 12, 2012 7:31 pm
by Erakk
ben1234 wrote:Do you have the original apk decompiled for reference?
No. i was unable to contact the original developer.
Re: Official Baka-Tsuki Android App: BakaReader Available no
Posted: Sun Aug 12, 2012 7:37 pm
by Mystes
Reminds me, Erakk. Is it possible to make the readers agree with the TLG agreement before reading/after installing the app? Like the "I agree" box you need to check before you install a program.
Re: Official Baka-Tsuki Android App: BakaReader Available no
Posted: Sun Aug 12, 2012 7:49 pm
by Erakk
Kira0802 wrote:Reminds me, Erakk. Is it possible to make the readers agree with the TLG agreement before reading/after installing the app? Like the "I agree" box you need to check before you install a program.
It is, but not the same way.
The way some apps do is to present an agreement popup the first time the app is run, if you agree, then you can use the app and it wont appear anymore,
but if you disagree, it just quits and asks you again next time.
@Nandaka:
After clearing database, i tested opening 3 LNs:
BakaTest:
Re: Official Baka-Tsuki Android App: BakaReader Available no
Posted: Sun Aug 12, 2012 9:36 pm
by Nandaka
Erakk wrote:I noticed it too, its replacing the whole file for simple edits...
Im using Windows 7 Ultimate 64 With Eclispe Juno and the latest Android SDK, testing on my Samsung Galaxy SII
im using the GitHub for Windows to acces the github.
Can you set up the encoding to utf-8 and new text line delimiter to unix in eclipse? I will set my config too. See the stackoverflow link.
As for the error, it is caused by unique constraint I think, need to fix the db schema.
EDIT: add schema: http://pastebin.com/vgka1hjN
EDIT2: Update the parser to fix db insert error, apparently I forgot to add one of the requiered column from the parser orz... btw the encoding and new-line delimiter is working. Now waiting for C82 doujin , check my archive comparer to compare contents inside archive w/o need to extract
EDIT3: Change the display light novel to use asynctask, @erakk: please update the UI for the progressBar :p
EDIT4: Weird, the diff still replace the whole file, I'll try to recreate my local repo from github.
EDIT5: Stumbled on this: https://help.github.com/articles/dealin ... ne-endings, @erakk: can you normalize the github repo?
Re: Official Baka-Tsuki Android App: BakaReader Available no
Will do. Just gotta get home (at work) =D
Yesterday was a tiring day...
EDIT: (Self reminder) Implement color code on all activities; Settings options to work in chapterAtivity; Implement checkbox on novelActivity; Set up the expandableListView (gotta learn to mess with that)
Re: Official Baka-Tsuki Android App: BakaReader Available no
Posted: Tue Aug 14, 2012 9:50 pm
by anon
um, for some reason, on my galaxy sii, kokoro connect isnt loading? it keeps on saying 'error; cant connect', but my internet is fine and all the other light novels work great...
Re: Official Baka-Tsuki Android App: BakaReader Available no
Posted: Wed Aug 15, 2012 8:14 am
by ben1234
It's a known bug that we can't do anything about without the dev. Just read from the wiki if you don't mind the inability to toggle the really white background
Re: Official Baka-Tsuki Android App: BakaReader Available no
Posted: Wed Aug 15, 2012 8:49 am
by Erakk
anon wrote:um, for some reason, on my galaxy sii, kokoro connect isnt loading? it keeps on saying 'error; cant connect', but my internet is fine and all the other light novels work great...
Just tested on my Galaxy SII, i also can't connect to Kokoro Connect (no pun intended), but on the new app, i can... hmmm...