New Baka-Tsuki Android App: Development
Moderators: thelastguardian, Fringe Security Bureau, Senior Editors, Senior Translators, Alt. Language Translator/Editor, Executive Council, Project Translators, Project Editors
- Erakk
- Digitalizer Editor
- Posts: 152
- Joined: Sat Jan 21, 2012 3:12 am
- Favourite Light Novel:
Re: Official Baka-Tsuki Android App: BakaReader Available no
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.
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.
In theory, practice and theory are the same.
but, practically, they arent.
but, practically, they arent.
- Nandaka
- Digitalizer Editor
- Posts: 535
- Joined: Thu Aug 09, 2012 9:46 am
- Favourite Light Novel: Ahouka!
- Location: Singapore
- Contact:
Re: Official Baka-Tsuki Android App: BakaReader Available no
>> 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
welp, can you check the adb and see what is the debug log? probably timed-out
Visit my blog for other applications.
-
- Fish Miner
- Posts: 822
- Joined: Fri Apr 16, 2010 1:01 am
- Favourite Light Novel:
Re: Official Baka-Tsuki Android App: BakaReader Available no
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?
- Erakk
- Digitalizer Editor
- Posts: 152
- Joined: Sat Jan 21, 2012 3:12 am
- Favourite Light Novel:
Re: Official Baka-Tsuki Android App: BakaReader Available no
That's what it seems, since sometimes it shows the image...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
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:
Spoiler! :
* i deleted these calls because they were the same and too much (and chapter listing too)
Spoiler! :
In theory, practice and theory are the same.
but, practically, they arent.
but, practically, they arent.
- Nandaka
- Digitalizer Editor
- Posts: 535
- Joined: Thu Aug 09, 2012 9:46 am
- Favourite Light Novel: Ahouka!
- Location: Singapore
- Contact:
Re: Official Baka-Tsuki Android App: BakaReader Available no
Only the generated thumbnail for now, technically can fetch the full one by cleaning up the thumbnail name, e.g:KuroiHikari wrote:ou going to grab the image generated by the server as a thumbnail(part of the html)
http://www.baka-tsuki.org/project/images/thumb/d/d9/7_nights_picture.jpg/225px-7_nights_picture.jpg ==> http://www.baka-tsuki.org/project/image ... icture.jpg
@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:
Code: Select all
// I'm not using it AT them moment, but don't remove, might be useful for real.
Can you confirm you eclipse settings? You can refer this: http://stackoverflow.com/questions/1886 ... s-newlines
Visit my blog for other applications.
- Erakk
- Digitalizer Editor
- Posts: 152
- Joined: Sat Jan 21, 2012 3:12 am
- Favourite Light Novel:
Re: Official Baka-Tsuki Android App: BakaReader Available no
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.
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.
In theory, practice and theory are the same.
but, practically, they arent.
but, practically, they arent.
- ben1234
- Lord Temporal Duke
- Posts: 3928
- Joined: Wed Jan 10, 2007 12:03 pm
- Favourite Light Novel: Ahouka!
- Location: Vancouver, B.C. Canada
Re: Official Baka-Tsuki Android App: BakaReader Available no
Do you have the original apk decompiled for reference?
- Erakk
- Digitalizer Editor
- Posts: 152
- Joined: Sat Jan 21, 2012 3:12 am
- Favourite Light Novel:
Re: Official Baka-Tsuki Android App: BakaReader Available no
No. i was unable to contact the original developer.ben1234 wrote:Do you have the original apk decompiled for reference?
In theory, practice and theory are the same.
but, practically, they arent.
but, practically, they arent.
- Mystes
- Heaven's Blade Successor
- Posts: 15932
- Joined: Thu Aug 05, 2010 6:54 am
- Favourite Light Novel:
- Contact:
Re: Official Baka-Tsuki Android App: BakaReader Available no
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.
Kira0802
#campione at rizon for some #campione discussions~~ And other stuffs.
#campione at rizon for some #campione discussions~~ And other stuffs.
- Erakk
- Digitalizer Editor
- Posts: 152
- Joined: Sat Jan 21, 2012 3:12 am
- Favourite Light Novel:
Re: Official Baka-Tsuki Android App: BakaReader Available no
It is, but not the same way.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.
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:
Spoiler! :
Spoiler! :
Spoiler! :
In theory, practice and theory are the same.
but, practically, they arent.
but, practically, they arent.
- Nandaka
- Digitalizer Editor
- Posts: 535
- Joined: Thu Aug 09, 2012 9:46 am
- Favourite Light Novel: Ahouka!
- Location: Singapore
- Contact:
Re: Official Baka-Tsuki Android App: BakaReader Available no
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.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.
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?
Visit my blog for other applications.
- Erakk
- Digitalizer Editor
- Posts: 152
- Joined: Sat Jan 21, 2012 3:12 am
- Favourite Light Novel:
Re: Official Baka-Tsuki Android App: BakaReader Available no
Will do. Just gotta get home (at work) =DNandaka wrote:EDIT5: Stumbled on this: https://help.github.com/articles/dealin ... ne-endings, @erakk: can you normalize the github repo?
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)
In theory, practice and theory are the same.
but, practically, they arent.
but, practically, they arent.
-
- Astral Realm
Re: Official Baka-Tsuki Android App: BakaReader Available no
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...
- ben1234
- Lord Temporal Duke
- Posts: 3928
- Joined: Wed Jan 10, 2007 12:03 pm
- Favourite Light Novel: Ahouka!
- Location: Vancouver, B.C. Canada
Re: Official Baka-Tsuki Android App: BakaReader Available no
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
- Erakk
- Digitalizer Editor
- Posts: 152
- Joined: Sat Jan 21, 2012 3:12 am
- Favourite Light Novel:
Re: Official Baka-Tsuki Android App: BakaReader Available no
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...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...
In theory, practice and theory are the same.
but, practically, they arent.
but, practically, they arent.